hardware ok but no internet connection

ive just installed my new openSUSE 11 and i cannot connect to the internet. the strange thing is that when i boot my windows (in my pc i have windows and openSUSE in different partition) my internet connection is fine. Moreover the ethernet led in the router (Linksys WAG200G)is off when im in openSUSE while in windows is on. also my NIC is supported by openSUSE (Realtek RTL-8139). and there is what i get when i type ifconfig in the console:

ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:EA:36:03:12
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:21 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1468 (1.4 Kb) TX bytes:1468 (1.4 Kb)

please help :slight_smile:

What does the output of dmesg look like? Also, anything strange in /var/log/messages?

One problem with opensuse is it can install the wrong ethernet driver
Check your model realtek chip with *lspci *
if it is a RTL811/8186 and

  • lsmod | grep r816**
    shows you have the r8169 module then you have the wrong driver. After checking the Realtek Web site they specify the r8168 module. for this chip.After much reading and many failed attempts to install this module using tar balls, I found this link to a rpm source and a simpler install.
    RepoView: bitshuffler’s Home Project (openSUSE_10.3_update)
    I downloaded for my 64bit system and left clicked on this file and install with YAST.
    As root, in a terminal
    insmod lib/modules/2.6.22.18-0.2-default/updates/r8168.ko
    to install r8168
    and to stop running r8169, edit /etc/modprobe.d/blacklist
    by adding blacklist r8169

I now don’t have to reboot all the time to wake up the ethernet chip