Network not working (Realtek 8169 driver problem)

Hello!
So I would like to trie openSUSE. Im am very new to linux. I am dual booting with win7, and i have a problem with my network. The problem is with the realtek 8169 driver.
SDB:Realtek 8169 driver problem - openSUSE

The third option was the only way for me to fix it on elementary os. What i did, was follow this guide (the first option)
[SOLVED] 11.4 Ubuntu Realtek Ethernet Fix](http://ubuntuforums.org/showthread.php?t=1661489)

The problem whit openSUSE is, when i trie to run autorun.sh i get something about missing make command. I know i can install it via yast, but i have no internet connection. Any workaround?

Oh, and I have unplugged the power supply for 2 hours, so that maybe i could install it via yast, but the network still didnt work.

Thanks

Hi,

Can you provide the output of the following command :

/sbin/lspci -nnk

Yes of course. Thank you for the help.

linux@linux:~> /sbin/lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DMI [8086:d131] (rev 11)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
00:03.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express Root Port 1 [8086:d138] (rev 11)
        Kernel driver in use: pcieport
00:08.0 System peripheral [0880]: Intel Corporation Core Processor System Management Registers [8086:d155] (rev 11)
        Subsystem: Device [0062:0036]
00:08.1 System peripheral [0880]: Intel Corporation Core Processor Semaphore and Scratchpad Registers [8086:d156] (rev 11)
        Subsystem: Device [0062:0036]
00:08.2 System peripheral [0880]: Intel Corporation Core Processor System Control and Status Registers [8086:d157] (rev 11)
        Subsystem: Device [0062:0036]
00:08.3 System peripheral [0880]: Intel Corporation Core Processor Miscellaneous Registers [8086:d158] (rev 11)
        Subsystem: Device [0062:0036]
00:10.0 System peripheral [0880]: Intel Corporation Core Processor QPI Link [8086:d150] (rev 11)
        Subsystem: Device [0062:0036]
00:10.1 System peripheral [0880]: Intel Corporation Core Processor QPI Routing and Protocol Registers [8086:d151] (rev 11)
        Subsystem: Device [0062:0036]
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: mei
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:636a]
        Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
        Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation 5 Series Chipset LPC Interface Controller [8086:3b06] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller [8086:3b20] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: ata_piix
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: i801_smbus
00:1f.5 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller [8086:3b26] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: ata_piix
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Barts PRO [Radeon HD 6800 Series] [1002:6739]
        Subsystem: PC Partner Limited Device [174b:e174]
        Kernel driver in use: radeon
01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Barts HDMI Audio [Radeon HD 6800 Series] [1002:aa88]
        Subsystem: PC Partner Limited Device [174b:aa88]
        Kernel driver in use: snd_hda_intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7636]
        Kernel driver in use: r8169
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers [8086:2c51] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2c81] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2c90] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
        Kernel driver in use: i7core_edac
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2c91] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:03.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller [8086:2c98] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:03.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder [8086:2c99] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:03.4 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Test Registers [8086:2c9c] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:04.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers [8086:2ca0] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:04.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers [8086:2ca1] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:04.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers [8086:2ca2] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:04.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers [8086:2ca3] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:05.0 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers [8086:2ca8] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:05.1 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers [8086:2ca9] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:05.2 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers [8086:2caa] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]
ff:05.3 Host bridge [0600]: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers [8086:2cab] (rev 04)
        Subsystem: Intel Corporation Device [8086:8086]

Did you try installing the driver from the driver:nic repo ?

software.opensuse.org:

Yes i have tried (with the r8168 dirver - your link is for r8169). But it is the same, make command is missing.

Then install it! The package is called “make”… (what a surprise :wink: )

sudo zypper in make

Or use YaST->Software Management.

Although I doubt you would need it. That package should contain a ready-compiled binary kernel module.

Could you post the exact error message please?
And also write what exactly you downloaded and how you tried to install it.

And I would suggest to download the appropriate package here:
Index of /repositories/home:/Akoellh:/Kernelmodules/openSUSE_12.3_Update

Install it with “sudo rpm -i xxx.rpm”.

You shouldn’t need “make” then, no kernel sources or devel files and no internet connection.

If you haven’t installed any updates yet (because of no network) and are therefore still using kernel-3.7.10-1.1, take it from here instead:
http://download.opensuse.org/repositories/home:/Akoellh:/Kernelmodules/openSUSE_12.3/

Thanks a lot. I didnt know how to get the make file, now with your links to repositories it make more sens:shame: Like i said, im new to linux.

So i installed make package, and now i get this

Check old driver and unload it.
rmmod r8169
Build the module and install
make: *** /lib/modules/3.7.10-1.1-desktop/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2

I also tried to install .rpm package for r8168, and got something about missing kernel-default, so i downloaded it, and ran it, and i got this error

Kernel image:   /boot/vmlinuz-3.7.10-1.1-default
Initrd image:   /boot/initrd-3.7.10-1.1-default
KMS drivers:     radeon
Root device:    /dev/root (mounted on / as auto)
Device root not found in sysfs
There was an error generating the initrd (1)

I get the same error now for trying to run .rpm for r8168.

You’re running kernel-desktop, so you should download and install r8168-kmp-desktop-8.037.00_k3.7.10_1.1-1.1.i586.rpm or r8168-kmp-desktop-8.037.00_k3.7.10_1.1-1.1.x86_64.rpm (depending on whether you have a 32bit or 64bit system)

And please uninstall kernel-default again, one kernel flavor is enough!

I get the sam error


Device root not found in sysfs 
There was an error generating the initrd (1)

Well, you seem to have a problem then on your system (creating an initrd), which will affect you at the next kernel update as well I guess.

Sorry, I can’t even find that any mkinitrd script that would produce that error message on my 12.3 system.
Maybe it’s caused by your first tries to install the driver.

Try to run “sudo /sbin/mkinitrd -v” and post the output.
And please post the output of “grep -R sysfs /lib/mkinitrd/”, “ls -l /dev/root”, and “mount” as well.

Maybe one of those shows something that could help to find the problem? But I’m just guessing here…

You can of course try to compile the driver yourself, the directory you are missing (/lib/modules/3.7.10-1.1-desktop/build) is contained in the package “kernel-desktop-devel”. But that mkinitrd problem wouldn’t be solved.

I forgot one thing:
You could try to install the rpm with:

sudo rpm -i --noscripts xxx.rpm

Then it won’t try to recreate the initrd, so the installation should work.
You should not need that driver in the initrd anyway.