Author Archives: erik

Installing Dropbox on a headless linux server

Here are the step to get dropbox working on the linux command line:
cd ~
rm -rf .dropbox* Dropbox
wget http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-0.7.110.tar.gz
tar xzf dropbox-lnx.x86-0.7.110.tar.gz
unset DISPLAY
.dropbox-dist/dropbox
You will get a link that you need to copy and paste to your browser (does not need to be on the same machine).
After a while little while, kill the process and start it again [...]

Min wordle

Måtte hoppe på bølgen jeg også Min wordle fra twitter.

ssh in to a virtualbox server using nat and host-only adapter

With vmware, if you have your virtual machine set to nat networking, they set up an adapter for you, and you have access to the outside world as well, without exposing your machine using bridged networking, now with virtualbox, it’s another story…
If you chose the nat network setting in virtualbox, you will be able to [...]

Dumping a stream using mplayer

Here is an example how to dump a stream using mplayer, this works with both realaudio and windows media, the example is recording a windows media stream from NRK:

mplayer mms://straumod.nrk.no/rod/petre/petreh_081031_21.wma -dumpstream -dumpfile petreh_081031_21.wma
mplayer -ao pcm hot97.wma
lame –preset standard audiodump.wav

Pinell Supersound med Samba og Debian Lenny

Jeg fikk meg en Pinell Supersound til jul av familien. Den har FM, DAB og kan spille en drøss av radiostasjoner fra nett. Irie FM på kjøkkenet! Yay!
Men den har også innebygd støtte for SMB shares, så man kan spille musikkfiler fra en filserver.
For å få den til å funke på Debian Lenny var det [...]

Getting wp audio player to work with wordpress 2.8

Just downloaded the latest player here:
http://wpaudioplayer.com/
And patched it with this:
http://claas.cabird.de/files/audio-player.php.txt
Example:
[Audio clip: view full post to listen]

Shabba!

Bare noen dager igjen!

Ny server

Da har jeg byttet ut den gamle pentium 100 boksen jeg kjøpte for 20 kr, med en fin skinnende eee box, og installert wordpress. Hjelp! Jeg har blitt en blogger

Set JAVA_HOME in windows cmd shell

Not hard, but I always forget:
set JAVA_HOME=”c:\progra~1\Java\jdk1.6.0_11″

Postfix + gmail on Debian etch

Here is how to set up postfix relaying using gmail
apt-get install postfix libsasl2-modules
Add the following lines in /etc/postfix/main.cf:
smtp_use_tls = yessmtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdsmtp_sasl_security_options = noanonymousrelayhost = [smtp.gmail.com]:587
Add the file /etc/postfix/sasl_passwd
[smtp.gmail.com]:587 youruser@gmail.com:yourpassword
And run postmap on it
postmap sasl_passwd
restart postfix and your done