I built a machine and installed 12.2 on it, and cannot get the wired network to work. It’s plugged directly into the router (which works in Windows 7).
It is a Realtek RTL8168 Ethernet on-board card for my Gigabyte 970A-UD3 motherboard. SuSE had what appeared to be some driver loaded from installation, but it wasn’t working so I decided that I needed to get the driver for this specific card from the website, which I picked up here: Realtek
After downloading and compiling (which kernel headers and GNU Make installed), I get a successful ‘completed’. Then I can check if it’s installed using:
lsmod | grep r8168
ifconfig -a
Which both show that the driver is loaded. Then I go into Yast and set my Ethernet controller to use DHCP, no firewall, and traditional settings. Then if I do ifconfig -a I get:
#eth0 Link encap: Ethernet HWaddr 94:DE:80:0B:A2:D8
inet6 addr: fe80::96de::80ff::fe0b::a2d8/64 Scope:Link
#lo Link encap: Local Loopback
inet addr: 127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
I truncated some of the ends of each block of text above.
Doing a
#route
gives me:
#Kernel IP routing table
#Destination Gateway Genmask Flags Metric Ref Use Iface
#loopback * 255.0.0.0 U 0 0 0 lo
There is nothing (no nameservers) in my /etc/resolv.conf
I’m not really sure what nameservers are or how to find out what mine are. I know that if I’m on my windows machine I can configure my router by going to 192.168.0.1 in my browser.
It looks to me like I don’t have an ip addres (ifconfig output), and I can set that to some random ip (192.168.0.1 for example) with
#ifconfig eth0 “blah.blah.blah.blah”
But I can’t see that it does anything for me.
I also tried putting
nameserver 192.168.0.1
in my /etc/resolv.conf
But that didn’t help. I also tried manually put my gateway to 192.168.0.1 using:
route add default gw 192.168.0.1
But again, no traffic.
If I
ping -c 3 8.8.8.8
I get
network is unreachable
If I set my ip to 192.169.2.0 and ping that ip, then it pings fine, as expected.
Any help is appreciated :\