Can't connect to internet..

Suse noob needs help!! I just moved from Opensuse 11.1 to 11.2- all fine, except that I can no longer access the internet. NetworkManager tells me that I am connected, and when I ping Google, I get a response. However, Firefox fails to connect. Running zypper reports the message “Error code: Connection Failed
Error Message: Couldn’t resolve host ‘download.opensuse.org’”

Any help greatly appreciated…

From a terminal as root, type:

ifconfig

and please post the results.

Ok, ifconfig returns the following:

eth0 Link encap:Ethernet HWaddr 00:19:B9:4D:3C:18
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5920 (5.7 Kb) TX bytes:5920 (5.7 Kb)

wlan0 Link encap:Ethernet HWaddr 00:19:D2:6C:49:D8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wmaster0 Link encap:UNSPEC HWaddr 00-19-D2-6C-49-D8-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

NetworkManager tell you that you are connected or that you have
link??? I supose you’re using a laptop, so try disabling the wlan0 and
connect through wired, if the problem is with NetworkManager-kde try
deleting all networkmanager configuration files and configure it again


VampirD
No in elenath hîlar nan hâd gîn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAksRylsACgkQJQ+0ABWtaVkrWQCfaq1vLumr8Y5JcPKaF189D4/6
KOEAmweSNrmrrRnmngXQS6PnlXkp+LB5
=lpjf
-----END PGP SIGNATURE-----

Cause I had some issues with network admin, in previous version was recommended to disable it in Yast and choose the traditional ifup. You might use this method and whenver you have problems ifdown eth0 (or eth1) will bring down the connection. ifup eth0(eth1) will reconnect it. In the ifconfig you should see an ip address which assigned to you by the router/network provider.
Good luck!

VampirD:
Thanks for the help - NetworkManager reports “Status: Connected”. This is indeed on a laptop - same result when wired as wireless. How does one delete all network configuration files and then recreate?

Dmera:
Thanks for suggestion, I’ve tried it via the traditional ifup method now too - still no luck!!

Thanks for assistance - this seems to be a particularly stubborn problem…

Please check the box for ipv6 to be disabled in ipv6 protocol settings

Right, ipv6 is now disabled… Firefox is still telling me “Server notfound”… deeply deeply frustrating!!!

not sure if a restart would help with this ipv6(but please try)
then do:

  1. ifconfig
  2. ifdown eth0 (if you use the cable connection) for wireless check which one you have
  3. ifup eth0

Please post. so you can ping Google but firefox doesn’t want to show you anything?

On Sat November 28 2009 06:56 pm, JWHarding wrote:

>
> Ok, ifconfig returns the following:
>
> eth0 Link encap:Ethernet HWaddr 00:19:B9:4D:3C:18
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:17
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:88 errors:0 dropped:0 overruns:0 frame:0
> TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:5920 (5.7 Kb) TX bytes:5920 (5.7 Kb)
>
> wlan0 Link encap:Ethernet HWaddr 00:19:D2:6C:49:D8
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> wmaster0 Link encap:UNSPEC HWaddr
> 00-19-D2-6C-49-D8-00-00-00-00-00-00-00-00-00-00
> UP RUNNING MTU:0 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
>
JWHarding;

The results of ifconfig show that you do not have an IP address on either
wlan0 or eth0. On a properly configured card you would expect something
like:


eth0      Link encap:Ethernet  HWaddr XX:YY:ZZ:WW:VV:UU
inet addr:192.168.0.25  Bcast:192.168.0.255  Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fed4:b7dc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:10195002 errors:0 dropped:0 overruns:0 frame:0
TX packets:14360984 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7248088344 (6912.3 Mb)  TX bytes:15205665101 (14501.2 Mb)
Interrupt:177 Base address:0xef00

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:274968 errors:0 dropped:0 overruns:0 frame:0
TX packets:274968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:44891229 (42.8 Mb)  TX bytes:44891229 (42.8 Mb)

Try to first configure your network card following this HowTo:
http://opensuse.swerdna.org/susenic.html. Perhaps a static IP is required for
your connection.

If you still are having problems, please describe the kind of connection you
are trying to make, wired or wireless, router? modem?. Post back what you
have tried. Until you are getting an IP there is no reason to worry about
DNS or IPv6.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Thanks for all the assistance - after a lot of time banging my head off the wall, it turns out that it was my crappy Motorola Netopia router causing the hassle. After disabling IPv6 for Firefox, access to the web returned:
Disable IPv6 for Firefox - openSUSE

Again, thanks for the help…