LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Compiling Driver for R8101 Realtek Network Card (Debian) (http://www.linuxquestions.org/questions/linux-hardware-18/compiling-driver-for-r8101-realtek-network-card-debian-678780/)

Auxientius 10-24-2008 05:51 AM

Compiling Driver for R8101 Realtek Network Card (Debian)
 
Alright so I have one of those dreaded motherboards where it loads the 8139 driver instead of the correct 8101 (which isn't included in the distro).

So, I downloaded the drivers, and tried to follow the instructions. I am getting this on the first step:

VoiceRecorder:/usr/src/r8101-1.010.00# make install
make -C src/ install
make[1]: Entering directory `/usr/src/r8101-1.010.00/src'
install -m 744 -c r8101.ko /lib/modules/2.6.27.2/kernel/drivers/net/
install: cannot stat `r8101.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/r8101-1.010.00/src'
make: *** [install] Error 2


From what I can tell i'm either missing a module, or something else somewhere to do with the compiler, or i'm doing something completely wrong (as this is only day 3 dealing with Linux).

Any help here would be greatly appreciated.

I am running Debian from a Netinst CD and have just upgraded to kernel version 2.6.24.2

Thanks in advance;
Gareth

Auxientius 10-24-2008 10:18 PM

Well...I found out how to solve this by accident. You have to type 'Make' first, before make install.

Wow. Really simple. Suppose I wont forget that.


All times are GMT -5. The time now is 12:25 AM.