maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [PR1.1] NameResolving is Broken on Wifi. (https://talk.maemo.org/showthread.php?t=40777)

NikolaiM 2010-01-15 21:01

[PR1.1] NameResolving is Broken on Wifi.
 
Upgraded to Pr1.1 finally, had to remove broken themes, etc, but finally got there to upgrade OTA!

Upgrade went fine.

Now, I can't use the WiFi.

I can connect to my home network, without any problems. I am writing on my laptop using this same wi-fi connection.

However, on the N900 - I can't browse anything.

ping google.com
>ping: bad address 'google.com'

I have tried this by setting a DNS in the GUI, but no help.

Using 10mw, Max Power Saving.

I CAN log-in to my routers config page in the browser... 192.168.0.2. No other webpages seem to work.

Bratag 2010-01-15 21:04

Re: [PR1.1] NameResolving is Broken on Wifi.
 
Quote:

Originally Posted by NikolaiM (Post 474956)
Upgraded to Pr1.1 finally, had to remove broken themes, etc, but finally got there to upgrade OTA!

Upgrade went fine.

Now, I can't use the WiFi.

I can connect to my home network, without any problems. I am writing on my laptop using this same wi-fi connection.

However, on the N900 - I can't browse anything.

ping google.com
>ping: bad address 'google.com'

I have tried this by setting a DNS in the GUI, but no help.

Using 10mw, Max Power Saving.

I CAN log-in to my routers config page in the browser... 192.168.0.2. No other webpages seem to work.

Definitely sounds like a routing/gateaway issue - what does the ifconfig -a output look like.? And the route -n?

qwerty12 2010-01-15 21:06

Re: [PR1.1] NameResolving is Broken on Wifi.
 
What's the output of "ps | grep udhcpd"?
What does /etc/resolv.conf contain?

fatalsaint 2010-01-15 21:08

Re: [PR1.1] NameResolving is Broken on Wifi.
 
Try:

Code:

apt-get install --reinstall -d libicd-network-ipv4
and reboot as root. There is a lot of discussion about this over here.

NikolaiM 2010-01-15 21:14

Re: [PR1.1] NameResolving is Broken on Wifi.
 
ps | grep udhcpc
>2493 root 2008 R gregp udhcpc


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric
Ref Use Iface

/etc/resolv.conf
nameserver 127.0.0.1

NikolaiM 2010-01-15 21:19

Re: [PR1.1] NameResolving is Broken on Wifi.
 
After:
apt-get install --reinstall -d libicd-network-ipv4

Ping google.com returns:
(1.0.0.0) 56 data bytes... which fails with 100% packet loss.

So the problem is that all address are returning as 1.0.0.0

but how is this resolved?

EDIT: I can now browse websites using the browser just fine, but can't ping, can't update weather, can't update repos... etc.

colin.stephane 2010-01-15 21:21

Re: [PR1.1] NameResolving is Broken on Wifi.
 
Quote:

Originally Posted by NikolaiM (Post 474984)
ps | grep udhcpc
>2493 root 2008 R gregp udhcpc


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric
Ref Use Iface

/etc/resolv.conf
nameserver 127.0.0.1

Hi,

Can you also add output of :

grep -e "resolv-file=" /etc/dnsmasq.conf

A++

NikolaiM 2010-01-15 21:27

Re: [PR1.1] NameResolving is Broken on Wifi.
 
grep -e "resolv-file=" /etc/dnsmasq.conf
resolv-file=/var/run/resolv.conf
resolv-file=/var/run/resolv.conf.wlan0
resolv-file=/var/run/resolv.conf.ppp0
resolv-file=/var/run/resolv.conf.lo
resolv-file=/var/run/resolv.conf.gprs

rebhana 2010-01-15 21:29

Re: [PR1.1] NameResolving is Broken on Wifi.
 
Quote:

Originally Posted by NikolaiM (Post 474993)
After:
apt-get install --reinstall -d libicd-network-ipv4

Ping google.com returns:
(1.0.0.0) 56 data bytes... which fails with 100% packet loss.

So the problem is that all address are returning as 1.0.0.0

but how is this resolved?

EDIT: I can now browse websites using the browser just fine, but can't ping, can't update weather, can't update repos... etc.

The switch "-d" in apt-get install means "down-load only". It might be sufficient to omit it for a real re-install. To enforce reinstallation of configuration files with the downloaded-only package one could do:
Code:

dpkg -i --force-confnew /var/cache/apt/archives/libicd-network-ipv4*

fatalsaint 2010-01-15 21:29

Re: [PR1.1] NameResolving is Broken on Wifi.
 
Quote:

Originally Posted by rebhana (Post 475014)
The switch "-d" in apt-get install means "down-load only". It might be sufficient to omit it for a real re-install. To enforce reinstallation of configuration files with the downloaded-only package one could do:
Code:

dpkg -i --force-confnew /var/cache/apt/archives/libicd-network-ipv4*

Thanks.. I had known that but people reported success just running that command in the other thread *shrug*.

ETA: Also, after running what rebhana suggests you should reboot again.


All times are GMT. The time now is 11:30.

vBulletin® Version 3.8.8