rtl8101e pci ethernet controller

I have a Toshiba laptop i’m trying to get working, it is new so i need new drivers in it. I got the broadcom drivers installed ok but the Ethernet driver is another beast. I downloaded the rtl8101e driver from realteck and unpacked it in usr/src and ran “make” in the driver directory and got the following.


linux-d9oj:/usr/src/r8101-1.028.00 # make
make -C src/ clean
make[1]: Entering directory '/usr/src/r8101-1.028.00/src'
make -C /lib/modules/4.1.15-8-default/build SUBDIRS=/usr/src/r8101-1.028.00/src clean
make[2]: Entering directory '/usr/src/r8101-1.028.00/src'
make[2]: *** /lib/modules/4.1.15-8-default/build: No such file or directory.  Stop.
make[2]: Leaving directory '/usr/src/r8101-1.028.00/src'
Makefile:69: recipe for target 'clean' failed
make[1]: *** [clean] Error 2
make[1]: Leaving directory '/usr/src/r8101-1.028.00/src'
Makefile:47: recipe for target 'clean' failed
make: *** [clean] Error 2


so at this point I as for help:
“/lib/modules/4.1.15-8-default/build: No such file or directory” the directory exists but the build file does not

Did you first check to see whether drivers for your NIC were already installed?
Nowadays, almost all network drivers and firmware are distributed through the kernel, so it’s automatically available to you without having to make your own or install User Mode drivers.

Especially for LEAP, which is running a relatively new kernel, it should include drivers for practically everything.
Even Broadcom devices which AFAIK should all be available as of about kernel 3.17.2 (which is later than what is available by default on 13.2 but easily provided by any LEAP kernel).

TSU

Post:

/sbin/lspci -nnk | grep -iA3 net

My laptop:


03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 05)
    Subsystem: Hewlett-Packard Company Device [103c:1672]
    Kernel driver in use: r8169
    Kernel modules: r8169

Works out of the box
is seems to me that your network problem is not a driver issue.


linux-d9oj:~ # /sbin/lspci -nnk | grep -iA3 net
07:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
        Subsystem: Lite-On Communications Inc Device [11ad:6655]
        Kernel driver in use: wl
        Kernel modules: bcma, wl
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
        Subsystem: Toshibodea America Info Systems Device [1179:f840]
        Kernel driver in use: r8169
        Kernel modules: r8169


ok, I agree the drivers are installed.
The problem that started all this is that i cannot tether to my android which is my main net access so perhaps e should start there then

I think, both are working, Wlan and Lan.

any idea why i cant tether to my android?

I have no Handy, so I do not know…

What Android device are you running?
What version Android are you running?
Are you following any guide describing how to set up a tethering?

Also,
What type of connection is your tethering (between Android and your laptop), for instance is it WiFi or Bluetooth or USB cable?
If USB cable, are you using a high quality “official” cable or some minimal cheap cable (cheap ones that are thinner often do not have all the wires to use for data transfer, are only useful for charging)?

Based on the above question, depending on the type of physical connection you <may> need to use a networking interface (WiFi) or a serial connection (USB, Bluetooth).

For many recent Android versions, you set up tethering in the Android Settings.
For Android versions that don’t have special Settings, you need to install an app or install and configure ADB (Android Debugging Bridge) app and configure forwarding settings.

TSU

Let’s see what a scan picks up…

/usr/sbin/iwlist scanning

it seems it as a usb cable issue. - the cable that came it the charger is not as good (rf - wise) as the cable that came with the phone.
thank you all for your time