Hi there!

On Mon, 10 Nov 2008 15:09:19 +0100, Joachim Breitner wrote:
> Am Sonntag, den 09.11.2008, 22:24 -0800 schrieb Praveen A:
>> This is a small patch to try OpenDNS before exiting with a network
>> configuration error message. I had all network configurations done for
>> routing the packages correctly, but only nameserver was not configured
>> correctly (you need to set nameserver every time you reboot the phone
>> - I have qt extended on the NAND memory).

This is a bug, period.  Please report it to the upstream Openmoko
tracker and get it fixed.  Maybe I sound a bit too harsh, but I would
avoid any workaround whenever it is possible.

FYI, I once experienced the same problem, IIRC with the Om2008.9 image.
Since I tested very quickly (and anyway as soon as the Debian
installation finished I flashed back the Om2007.2 one), I thought that I
messed up with something.  I discovered that /etc/network/interfaces did
not contain anymore the following line in the usb0 stanza:

  up echo nameserver 192.168.0.200 >/etc/resolv.conf

Which is clearly not a good default.

> thanks, this is a good idea.

I do not.  I tried in the past to switch to OpenDNS on my laptop and the
latency was horrible, even at university where I have a very fast
Internet connection.

Another problem with OpenDNS I found during my tests is that sites like
cdn.debian.net [1] are useless.

> But I don’t like how it changes /etc/resolv.conf without asking or
> anything. How about this: If DNS does not work (but network does),
> give a nice error message indicating this, and suggesting the user to
> run "echo nameserver $OPENDNS > /etc/resolf.conf" and re-start the
> installation?

I do not think that the Debian install.sh script should touch the
network.  We should advice about having a *full* working network
connection [2] and then just forget about everything.

Again, I think that a bit of knowledge is required from the end-user: if
we had OpenDNS to /etc/resolv.conf, then this will be propagated to the
Debian installation.  OTOH, if we exit with an error, maybe showing a
link to a useful page, then the end-user will fix *also* the "host"
distribution.

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://lists.debian.org/debian-devel/2008/02/msg00700.html
[2] this is how the Debian Installer (d-i) does

Attachment: pgpHo3yAjqntK.pgp
Description: PGP signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to