LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't connect to internet with opensuse 12.1 (http://www.linuxquestions.org/questions/linux-newbie-8/cant-connect-to-internet-with-opensuse-12-1-a-919211/)

JSKT 12-17-2011 10:06 AM

can't connect to internet with opensuse 12.1
 
I've installed opensuse recently and it just doesn't connect to internet.
Its dualboot with XP and the internet works fine in XP, I don't know what the problem is.

I want to connect via Ethernet cable
XP sp2
Opensuse 12.1
KDE 4.7.2 "release 5"

bathykolpian 12-17-2011 10:28 AM

Hi

is the network card detected and working? Try "ifconfig -a" from a console and post the results here.

JSKT 12-17-2011 10:54 AM

linux-836c:~ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:11:11:8B:23:CA
inet addr:201.226.168.19 Bcast:201.226.168.23 Mask:255.255.255.248
inet6 addr: fe80::211:11ff:fe8b:23ca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:190 errors:0 dropped:0 overruns:0 frame:0
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19519 (19.0 Kb) TX bytes:12360 (12.0 Kb)

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:1244 errors:0 dropped:0 overruns:0 frame:0
TX packets:1244 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:97856 (95.5 Kb) TX bytes:97856 (95.5 Kb)

whk 12-17-2011 11:11 AM

]# ping -c 3 yahoo.com

bathykolpian 12-17-2011 11:14 AM

can you ping 8.8.8.8 ?

Also, what's the output of the following:

netstat -r

(that will show you the default gateway, can you ping it?)

If you can ping the default gateway but not access the "internet", check your nameservers. You can configure that from Yast - just type yast2 in a terminal and go to the networking menu. 8.8.8.8 is the google nameserver, start with that.

JSKT 12-17-2011 12:04 PM

how do I ping?

netstat stuff
linux-836c:~ # netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default 201.226.168.17 0.0.0.0 UG 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
link-local * 255.255.0.0 U 0 0 0 eth0
201.226.168.16 * 255.255.255.248 U 0 0 0 eth0

JSKT 12-17-2011 10:49 PM

reinstalled opensuse
now its how it came from the package and on default (?)
Quote:

eth0 Link encap:Ethernet HWaddr 00:11:11:8B:23:CA
inet6 addr: fe80::211:11ff:fe8b:23ca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2391 (2.3 Kb) TX bytes:28196 (27.5 Kb)

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:400 errors:0 dropped:0 overruns:0 frame:0
TX packets:400 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42397 (41.4 Kb) TX bytes:42397 (41.4 Kb)

linux-fmvw:~ # netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
loopback * 255.0.0.0 U 0 0 0 lo

linux-fmvw:~ # ping -c 4 8.8.8.8
connect: Network is unreachable

linux-fmvw:~ # nslookup google.com

;; connection timed out; no servers could be reached
still no internet acces

JSKT 12-18-2011 02:56 PM

Solved!
it was the router, not compatible with the router I guess


All times are GMT -5. The time now is 04:58 AM.