Other N900 GNU mobile phone tips

If you have scratchbox installed on your PC for development for Maemo 5 for the Nokia N900 GNU mobile phone, you might be stuck with the network not working inside scratchbox, i.e. no apt-get update etc.

The problem is with /etc/resolv.conf inside the scratchbox environment.

I.e. when you are logged in the /etc/resolv.conf you see is the one mounted from /scratchbox/user/USER/targets/FREMANTLE_ARMEL/etc/resolv.conf

However if you copy a working /etc/resolv.conf from your PC to this /scratchbox/user/... file the network doesn't work, scratchbox actually uses the one located at /scratchbox/etc/resolv.conf

Therefore:

$ cp /etc/resolv.conf /scratchbox/etc/resolv.conf
or <blackcodesu>mount -o bind /etc/resolv.conf /scratchbox/etc/resolv.conf</blackcode> and your network will work now in scratchbox.


.