Marius Gedminas wrote:
On Mon, Jan 29, 2007 at 08:36:05PM +0200, Marius Gedminas wrote:
On Mon, Jan 29, 2007 at 05:37:06PM +0000, andrew gatt wrote:
The resolver is NOT accepting the "option domain-name" from the DHCP
server - so even if the server says "You are in foo.example.net", the
resolver is NOT being instructed to try appending "foo.example.net" to a
domain if it fails to resolve.
Ideally, the device would allow you to specify a search domain, AND accept
the domain from DHCP as a second search, and add them both to resolv.conf
as search domains - but it doesn't.
Yes i just added 'search mydomain' as the first line of the resolv.conf
and it works. Why does this fail on the 770 when all my other machines
are set up correctly from my DHCP server. Is this not a bug in ITOS2006
or have i missed something?
I personally consider it to be a bug, although I haven't reported it to
https://maemo.org/bugzilla/ yet.
Okay, it's https://maemo.org/bugzilla/show_bug.cgi?id=995 now.
Marius Gedminas
Can anyone suggest a programmable work around for this problem? I'm
trying to keep a client / server situation simple to set up. As the
tablet requires DHCP to function (by default) i was going to make the
server use DHCP and set up dynamic DNS so the tablet can find the server
with just the name. However as pointed out this doesn't work i.e. just
putting the 'myserver' in the address bar of the browser.
Additionally, adding the domain does not work so 'myserver.mydomain'
does not resolve to the right address. I'm guessing this is because the
/tmp/resolv.conf.wlan0 has 'domain mydomain' as the first line and not
'search mydomain'.
When i gain root access i can add 'search mydomain' to /etc/resolv.conf
and it works, but i don't want to have to gain root from inside a
program (not even sure its possible?). Is there anyway to get the tablet
to resolve the name?
Also could anyone tell me if this bug exists on the N800 as well?
Thanks
Andrew
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers