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:

eth0 Link encap:Ethernet HWaddr 00:0F:EA:36:03:12
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: Mask:
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/
    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