Koozali.org: home of the SME Server

Installing RTL8111/8168b driver.

Offline scorched

  • *
  • 10
  • +0/-0
Installing RTL8111/8168b driver.
« on: May 23, 2007, 02:35:06 AM »
Greetings All,

I'm running SME7.1 and have a Realtek Card which is not supported by the kernel. If anyone has experience successfully installing the RTL8111/8168b driver I would love to hear from you.

I got the driver from realtek and unpackeded it into /usr/src/
when running "make clean modules" I get the following error:
-----------------------------------------------------------------------
make -C src/ clean
make[1]: Entering directory `/usr/src/r1000/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/usr/src/r1000/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r1000/src'
make -C /lib/modules/2.6.9-42.0.10.ELsmp/build SUBDIRS=/usr/src/r1000/src modules
make: *** /lib/modules/2.6.9-42.0.10.ELsmp/build: No such file or directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/r1000/src'
make: *** [modules] Error 2
-----------------------------------------------------------------------

I have kernel-devel, kernel-headers, gcc and gcc-c++ installed.
Any idea's ?

Regards,
Scorched

Offline kruhm

  • *
  • 680
  • +0/-0
Installing RTL8111/8168b driver.
« Reply #1 on: May 27, 2007, 02:15:58 PM »
Quote

Any idea's ?

Yup, get a different NIC.

Offline Confucius

  • *****
  • 235
  • +0/-0
Installing RTL8111/8168b driver.
« Reply #2 on: May 27, 2007, 03:19:49 PM »
Alttho my statements have been said to be wrong I suggest to boot in NON smp mode.
The related files seem to be not present when ELsmp is used on a NON smp system.

Let us know if this works for you.

Harro

Offline scorched

  • *
  • 10
  • +0/-0
Installing RTL8111/8168b driver.
« Reply #3 on: May 28, 2007, 09:06:13 AM »
Thanks for the response, Currently the machine I want to get this driver running is a server which has some important services running. If/when I get the chance to have some downtime I'll try the make without running in smp.

Regards,
Scorched