![]() |
Manual DNS setting bug still need fixing
To overcome a DNS server bug in my workplace WLAN I need manually set DNS servers on N900 while leaving everything else DHCP. In WLAN configuration you have the option to set the DNS manually, but that is not working as descrbed in detail here:
https://bugs.maemo.org/show_bug.cgi?id=10816 It has been quite some time the bug has been opened... I guess no-one is actively working on fixing this for N900 (and likely for upcoming Neo900)? Seems like the 50_ipv4_network_setup script needs some tweaking but I haven't got that far yet... If someone has already figured this out please let me know... :) |
Re: Manual DNS setting bug still need fixing
Quote:
And you are sure that your /etc/resolv.conf contains 127.0.0.1? So you need to add manually for every client a DNS server? That is annoying. Did you tried to remove the bug from the DHCP server? I will look into it. If this is true I will see what I can do :). |
Re: Manual DNS setting bug still need fixing
Quote:
One workaround I have used is to manually edit the nameservers in var/run/resolv.conf.wlan0 file, but it gets overwritten every time the WiFi reconnects. I'm not our network administrator so I can not fix the DNS. :( |
Re: Manual DNS setting bug still need fixing
ICD is a closed package, this bug is reported as an unconfirmed ICD bug. So if it's not fixed I am not sure how easy the fix will be. It has a Nokia int bug number assigned to it so they must have looked into it at some point.
Why not use a Static IP as a workaround for the time being? Find an IP that works and use that for your workplace connection. |
Re: Manual DNS setting bug still need fixing
Hmmm.. the bug reported says that he was able to fix it on his device:
"Tweaking 50_ipv4_network_setup so that it test for the absence of a /var/run/resolv.conf.foo file before overriding it fixes the bug !" Are you sure this is not fixable by modifying the above file? It is a shell script file. EDIT: Yes, I'm currenty using static IP for time being. |
Re: Manual DNS setting bug still need fixing
In file "/etc/maemo-dhcp.d/50_ipv4_network_setup" you need to look for
Code:
mv $RESOLV_CONF.tmp $RESOLV_CONF Code:
if [ ! -f $RESOLV_CONF ] There could be a situation when you want to connect to a dhcp network that you need to manually delete the resolv.con.wlan0 before you get the dns entries. |
Re: Manual DNS setting bug still need fixing
Maybe it is better to do it like this then the resolv.tmp get not created.
Code:
else Code:
else |
Re: Manual DNS setting bug still need fixing
Quote:
|
Re: Manual DNS setting bug still need fixing
Quote:
In line: if [ ! -f $RESOLV_CONF ]; |
Re: Manual DNS setting bug still need fixing
What you think?:
|
All times are GMT. The time now is 02:09. |
vBulletin® Version 3.8.8