![]() |
2010-01-15
, 21:24
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#162
|
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.
The Following User Says Thank You to egoshin For This Useful Post: | ||
![]() |
2010-01-15
, 21:25
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#163
|
![]() |
2010-01-15
, 21:43
|
Posts: 42 |
Thanked: 11 times |
Joined on Nov 2009
@ Denmark
|
#164
|
![]() |
2010-01-15
, 22:01
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#165
|
I can connect to my router via WIFI and my N900 gets an IP address. No problems there. But when I open the web browser I can't (i repeat, I can't) look up any web addresses. So the problem is a DNS problem.
The /etc/resolv.conf contains "127.0.0.1".
I have not installed "vpnc" or something else.
Just upgraded a brand new N900 to PR1.1 and thats it.
![]() |
2010-01-15
, 22:24
|
|
Posts: 579 |
Thanked: 471 times |
Joined on Jan 2010
@ Austria
|
#166
|
Problems:
1) DNS - because /etc/vpnc/vpnc-script doesn't recognize correctly Maemo 5 (it checks the file /etc/osso-...-version) it executes the generic version and that version suffers from some race condition and because of that the copy-restore loop of resolv.conf may fail. So, /etc/resolv.conf is empty after that. It still works, but DNS problems because some applications do a BROADCAST request and some just can't do any.
2) routing - after upgrade from PR1.0.1 to PR1.1 via OTA the file /etc/uhdcpc/libicd-network-ipv4 is found to be changed and dpkg doesn't touch it... and PR1.1 has a different way to establish routing during connecting to WLAN and that file should have new content. That way doesn't work, old way doesn't too ... wifi connection problems.
elif [ -e /etc/osso-af-init ]; then MODIFYRESOLVCONF=modify_resolvconf_maemo RESTORERESOLVCONF=restore_resolvconf_maemo
echo "nameserver 127.0.0.1" > /etc/resolv.conf echo "nameserver 127.0.0.1" > /etc/vpnc/resolv.conf-backup
![]() |
2010-01-15
, 22:37
|
Posts: 24 |
Thanked: 3 times |
Joined on Jan 2010
|
#167
|
![]() |
2010-01-15
, 22:42
|
Posts: 24 |
Thanked: 3 times |
Joined on Jan 2010
|
#168
|
Can you run as root (you need install package "rootsh") after you connect to wifi:
udhcpc -i wlan0
and post an output ?
![]() |
2010-01-15
, 22:46
|
Posts: 42 |
Thanked: 11 times |
Joined on Nov 2009
@ Denmark
|
#169
|
Can you run as root (you need install package "rootsh") after you connect to wifi:
udhcpc -i wlan0
and post an output ?
![]() |
2010-01-16
, 00:56
|
Posts: 71 |
Thanked: 88 times |
Joined on Dec 2009
|
#170
|
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...
I dont even know what "vpnc" is so I dont think that it is installed :-)