Over the last week I have been working to build a new computer system for several purposes and due to trial and error and lots of reading have determined that Linux is the best way to go for a host OS, and chose OpenSUSE as the platform to try out. I have performed a clean install of OpenSUSE 11.1 with KDE 4.1.
I messed around with installation for a while but eventually got everything working as wanted except for networking. I have an EVGA motherboard with an onboard Realtek Gigabit NIC. I am very experienced with networks and am sure that my home network is running properly with DHCP etc.
the lscpi command displays the card:
00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 12)
00:01.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 1 (rev 12)
00:03.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 3 (rev 12)
00:07.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 7 (rev 12)
00:09.0 PCI bridge: Intel Corporation X58 I/O Hub PCI Express Root Port 9 (rev 12)
00:14.0 PIC: Intel Corporation X58 I/O Hub System Management Registers (rev 12)
00:14.1 PIC: Intel Corporation X58 I/O Hub GPIO and Scratch Pad Registers (rev 12)
00:14.2 PIC: Intel Corporation X58 I/O Hub Control Status and RAS Registers (rev 12)
00:14.3 PIC: Intel Corporation X58 I/O Hub Throttle Registers (rev 12)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
02:00.0 VGA compatible controller: nVidia Corporation GeForce 9800 GT (rev a2)
06:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
06:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
The card is listed in the network configuration and simply says it is not receiving an address. I did see a few posts while searching about an earlier bug where a dual boot config with Windows would power down the card and Linux would be unable to power it back on. However, I am not dual booting and the link light is lit on the card and turns off when I unplug the cable so power can’t be the issue. I am also running a newer version of the Linux kernel that is supposed to have this bug fixed.
I have tried two network cables to ensure that is not the issue, as well as multiple ports on the switch side. This is the output from ifconfig:
eth0 Link encap:Ethernet HWaddr 00:1F:BC:00:BD:B1
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)
Interrupt:247 Base address:0x4000
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:106 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7196 (7.0 Kb) TX bytes:7196 (7.0 Kb)
It would appear that the NIC is not even requesting an address via DHCP since no packets have been transmitted. Setting a static address via the network configuration utility was successful, and ifconfig displayed the settings that were configured; but this did not solve the networking issue since I still can’t ping anything on the local subnet even with a good address configured.
I noticed that Realtek does have a different driver that I tried to install unsuccessfully. The instructions say to use the following:
If you are running the target kernel, then you should be able to do :
# make clean modules (as root or with sudo)
# make install
# depmod -a
# insmod ./src/r8168.ko (or r8168.o in linux kernel 2.4.x)
When I tried this I kept getting an error in the first step saying that there was “no rule to make target modules” and then other errors in subsequent steps that apparently relate to kernel versions and misnamed files based on some brief research I did. Since I am NOT an experienced Linux user, I am not really sure what to do at this point.
I have not ruled out the possibility of a bad NIC but this would require me rebuilding my PC into windows and I would really like to avoid that scenario if possible so am reaching out for any advice or assistance people might have.
Is the problem likely to be a driver issue? Is it recommended to use the Realtek driver instead of the integrated driver? If so, can anyone help with the error messages I am getting during the installation. I have searched everywhere but all of the posts keep telling me to fix my Linux headers without any explanation of how to go about doing this except for using the apt-get command which doesn’t seem to be supported in OpenSUSE (I think I remember using that in Ubuntu???).
Any other suggestions on things to try or look at to determine if its hardware or driver issue prior to rebuilding would be much appreciated.
Thanks,
Tim