I have a DELL Vostro 410 desktop with a Realtek RTL-8168 ethernet card integrated in the motherboard and it works flawlessly with Ubuntu Hardy, but when I installed openSUSE 11 my NIC didn’t work. It seems to be installed but it won’t work either using DHCP nor with static IP. I can ping myself but no other devices in my wired network.
I decided to download the drivers from Realtek website, but I can’t compile them. I followed the readme instructions, but I keep getting this results:
Hi, I installed the files you told me from the Installation DVD plus gcc which is also necessary. It seemed to work ok, but there’s no eth0 after the installation and the network doesn’t work of course.
This is what I got during the installation:
artago-suse:/home/artago/driver # make clean modules
make -C src/ clean
make[1]: Entering directory /home/artago/driver/src' rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order make[1]: Leaving directory /home/artago/driver/src’
make -C src/ modules
make[1]: Entering directory /home/artago/driver/src' make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/home/artago/driver/src modules make[2]: Entering directory /usr/src/linux-2.6.25.5-1.1-obj/x86_64/default’
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules
CC [M] /home/artago/driver/src/r8168_n.o
/home/artago/driver/src/r8168_n.c: In function ‘rtl8168_hw_phy_config’:
/home/artago/driver/src/r8168_n.c:1398: warning: unused variable ‘data’
/home/artago/driver/src/r8168_n.c: In function ‘rtl8168_down’:
/home/artago/driver/src/r8168_n.c:4838: warning: unused variable ‘poll_locked’
/home/artago/driver/src/r8168_n.c: At top level:
/home/artago/driver/src/r8168_n.c:2675: warning: ‘rtl8168_phy_power_down’ defined but not used
/home/artago/driver/src/r8168_n.c:4183: warning: ‘rtl8168_reinit_task’ defined but not used
LD [M] /home/artago/driver/src/r8168.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/artago/driver/src/r8168.mod.o
LD [M] /home/artago/driver/src/r8168.ko
make[2]: Leaving directory /usr/src/linux-2.6.25.5-1.1-obj/x86_64/default' strip --strip-debug r8168.ko make[1]: Leaving directory /home/artago/driver/src’
By the way, when I reboot the computer and execute lsmod | grep r8169 it’s on again and r8168 too. How can I get rid of the r8169? I used the command rmmod r8169, but when I restart it’s still there