Hi,
I’m pretty new to Linux. I just installed openSUSE 11. The 64-bit laptop has a RealTek RTL8102E NIC, which SUSE misidentified during the install. I found the supposedly correct Linux driver on Realtek’s website, but I’m getting a problem when trying to compile the driver and I can’t find my problem or the solution in any current threads - so I must be doing something pretty stupid. I followed the directions…
su - root
lsmod | grep r8169
rmmod r8169
tar -vjxf r8101-1.010.00.tar.bz2
cd r8101-1.010.00
make clean modules
make install
But when I do the make install, I get errors:
make -C src/ install
make[1]: Entering directory /home/wade/Downloads/NetworkRTL8102E_Driver/r8101-1.010.00/src' install -m 744 -c r8101.ko /lib/modules/2.6.25.5-1.1-default/kernel/drivers/net/ install: cannot stat
r8101.ko’: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/wade/Downloads/NetworkRTL8102E_Driver/r8101-1.010.00/src’
make: *** [install] Error 2
The file listing in the ./src directory is:
total 164
-rw-r–r-- 1 root root 1742 Jul 22 03:27 Makefile
-rw-r–r-- 1 root root 1887 Jul 22 03:44 Makefile_linux24x
-rw-r–r-- 1 root root 0 Nov 29 21:47 filist.txt
-rw-r–r-- 1 root root 19093 Sep 26 03:43 r8101.h
-rw-r–r-- 1 root root 105910 Sep 26 03:28 r8101_n.c
-rw-r–r-- 1 root root 5248 Jul 22 03:56 rtl_eeprom.c
-rw-r–r-- 1 root root 1750 Jul 22 03:27 rtl_eeprom.h
-rw-r–r-- 1 root root 12772 Jul 22 04:15 rtl_ethtool.h
The commands from the makefile are:
KVER := $(shell uname -r)
KDIR := /lib/modules/$(KVER)/build
KMISC := /lib/modules/$(KVER)/kernel/drivers/net/
KEXT := $(shell echo $(KVER) | sed -ne ‘s/^2.[567]…/k/p’)o
KFLAG := 2$(shell echo $(KVER) | sed -ne 's/^2.[4]…/4/p’)x
modules:
ifeq ($(KFLAG),24x)
$(MAKE) -f Makefile_linux24x
else
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD)/src modules
strip --strip-debug r8101.$(KEXT)
endif
clean:
rm -rf .o .ko ~ core .dep ..d .*.cmd *.mod.c *.a .s ..flags .tmp_versions Module.symvers Modules.symvers *.order
install:
install -m 744 -c r8101.$(KEXT) $(KMISC)
ifneq ($(KFLAG),24x)
r8101-objs := r8101_n.o
r8101-objs += rtl_eeprom.o
obj-m += r8101.o
endif#($(KFLAG),24x)
Any help that someone could give to get me past this issue would be very much appreciated!