maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   After updating Maemo 5 PR1.1, no longer able to connect using WiFi (https://talk.maemo.org/showthread.php?t=40567)

deejoe 2010-01-15 17:30

DNS fail after upgrade to 2.2009.51-1.002
 
I can reach sites by IP address but not by name.

Is independent of what access point I connect to.

If I put in a DNS server in /etc/resolv.conf, it works OK.

MiNe 2010-01-15 18:08

Re: DNS fail after upgrade to 2.2009.51-1.002
 
I've the same problem when connecting to wifi. Reboot of the device helps most of the times.

sjgadsby 2010-01-15 18:11

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
The thread "DNS fail after upgrade to 2.2009.51-1.002 " with two posts has been merged into this thread.

egoshin 2010-01-15 18:51

Re: DNS fail after upgrade to 2.2009.51-1.002
 
Quote:

Originally Posted by deejoe (Post 474500)
I can reach sites by IP address but not by name.

Is independent of what access point I connect to.

If I put in a DNS server in /etc/resolv.conf, it works OK.

Put line

nameserver 127.0.0.1

into /etc/resolv.conf AND into /etc/vpnc/resolv.conf-backup
Package vpnc does some copying back and forth both files but it may at some point destroy one of them ---> you lose DNS during connection setup. Bug in vpnc, I filled it to them (not Maemo, because at that time they don't have a slot in bugs.maemo.org)

egoshin 2010-01-15 18:53

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by Cas07 (Post 473845)
I have to thank DaveQB for his post outlining the exact problem i was having with DNS not working.

I found i had /etc/dnsmasq.dpkg-dist file that contained the new dnsmasq conf and i was still running the old version pointing to non-existent /tmp/resolv* files!

No.

Can you write a little more details? File /etc/dnsmasq doesn't exist but it should be /etc/dnsmasq.conf and you may find file /etc/dnsmasq.conf.dpkg-dist

Just double check before next steps...

egoshin 2010-01-15 18:54

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by noobmonkey (Post 473493)
Ok my problem is a bit surreal!
Spent last night on the n900 trying to fix it! - failed!

Wireless refused to work....

Got home this morning, tried apt-get -d install libicd-network-ipv4, it said it failed as the file was the original. Without rebooting i tried to connect to the home wireless and it is working.....


Random!

But i must say a huuuge thank you to all of you have have stuck around to help us/me out on here.

Please use line

apt-get install --reinstall -d libicd-network-ipv4

as DaveQB wrote previously.

Ulrik 2010-01-15 20:00

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
I have the same problem = I can't look up web addresses when using WIFI. It connects fine and I get a IP.

I have the following in the /etc/resolv.conf file:
"nameserver 127.0.0.1"

Is that correct? If not, what do I need to write in /etc/resolv.con???

Thanks

egoshin 2010-01-15 20:42

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by Ulrik (Post 474832)
I have the same problem = I can't look up web addresses when using WIFI. It connects fine and I get a IP.

I have the following in the /etc/resolv.conf file:
"nameserver 127.0.0.1"

Is that correct? If not, what do I need to write in /etc/resolv.con???

Thanks

It is correct, but more info is need - when you see it - before using wifi or during using wifi? Did you even install vpnc?

nickt 2010-01-15 20:46

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by noobmonkey (Post 473493)
Ok my problem is a bit surreal!
Spent last night on the n900 trying to fix it! - failed!

Wireless refused to work....

Got home this morning, tried apt-get -d install libicd-network-ipv4, it said it failed as the file was the original. Without rebooting i tried to connect to the home wireless and it is working.....


Random!

But i must say a huuuge thank you to all of you have have stuck around to help us/me out on here.

HEY! What do ya know, that fixed it for me too. Thanks, and thanks to everyone else for helping. :)

fatalsaint 2010-01-15 20:48

Re: DNS fail after upgrade to 2.2009.51-1.002
 
Quote:

Originally Posted by egoshin (Post 474667)
Put line

nameserver 127.0.0.1

into /etc/resolv.conf AND into /etc/vpnc/resolv.conf-backup
Package vpnc does some copying back and forth both files but it may at some point destroy one of them ---> you lose DNS during connection setup. Bug in vpnc, I filled it to them (not Maemo, because at that time they don't have a slot in bugs.maemo.org)

The problem with manually changing resolv.conf is most DHCP software will overwrite that when you connect via DHCP. I don't know specifically what the N900 does or has.. but I'd be wary of that.

I think the real problem isn't the resolv.conf's... but that script file discussed before. I believe that fires off whatever tool or utility that then creates the appropriate resolv.conf file for you.


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8