<em><a href="Non-Sumou.html">Other N900 GNU mobile phone tips</a></em></p>
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.</p>
The problem is with <strong>/etc/resolv.conf</strong> inside the scratchbox environment.</p>
I.e. when you are logged in the /etc/resolv.conf you see is the one mounted from <strong>/scratchbox/user/USER/targets/FREMANTLE_ARMEL/etc/resolv.conf</strong></p>
However if you copy a working <strong>/etc/resolv.conf</strong> from your PC to this /scratchbox/user/... file the network doesn't work, scratchbox actually uses the one located at <strong>/scratchbox/etc/resolv.conf</strong></p>
Therefore: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b>$ cp /etc/resolv.conf /scratchbox/etc/resolv.conf</b></td></tr></table> or <blackcodesu>mount -o bind /etc/resolv.conf /scratchbox/etc/resolv.conf</blackcode> and your network will work now in scratchbox. <!— Page published by Emacs Muse ends here —> </div> <i>To send me feedback about this page, use the below email.</i><br /> <b>© sumoudou.org 2010</b><br /> <img style="border:0" alt="sumoudou.org" src="email.gif" width="129" height="10" /><br /> <a href="http://www.gnu.org/" style="text-decoration: none;"><img style="border:0" alt="GNU" src="powered-by-gnu.png" />]] <a href="http://www.gnu.org/software/emacs/emacs.html" style="text-decoration: none;"><img style="border:0" alt="GNU Emacs" src="made-with-emacs.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hcoop-proud-member.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hosted-by-hcoop.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="made-with-muse.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="powered-by-muse.png" />]] <br /> <a href="http://www.fsf.org/resources/formats/playogg" style="text-decoration: none;"><img style="border:0" alt="Ogg" src="play-ogg.png" />]] <a href="http://www.catb.org/hacker-emblem/" style="text-decoration: none;"><img style="border:0" alt="Glider" src="glider.png" />]] <a href="http://ubuntu.com/" style="text-decoration: none;"><img style="border:0" alt="Ubuntu" src="ubuntu.png" />]] <a href="http://validator.w3.org/check?uri=referer" style="text-decoration: none;"><img style="border:0" alt="Valid XHTML 1.0 Strict!" src="valid-xhtml10-blue.png" />]] <a href="http://jigsaw.w3.org/css-validator/check/referer" style="text-decoration: none;"><img style="border:0" alt="Valid CSS!" src="valid-css-blue.png" />]] <br />Last updated 2010-04-26-110000
</div> <br />. </body> </html>