Results 1 to 5 of 5

Thread: Error compiling rtl8188eus driver

  1. #1

    Error compiling rtl8188eus driver

    I'm using Kali Linux and I'm trying to install drivers for my TP-Link WN722N v3. I get an error when I run sudo make.
    This is what the error looks like:

    root@kali:~/Desktop/realtek/rtl8188eus# sudo make
    make ARCH=i386 CROSS_COMPILE= -C /lib/modules/5.4.0-kali4-686-pae/build M=/root/Desktop/realtek/rtl8188eus modules
    make[1]: *** /lib/modules/5.4.0-kali4-686-pae/build: No such file or directory. Stop.
    make: *** [Makefile:2058: modules] Error 2

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    772

  3. #3
    Join Date
    2022-Aug
    Posts
    3
    Hi, i've a next problem when i tried to install the drivers
    i'm using the last version of Kali

    rmmod -v r8188eu.ko

    rmmod: ERROR: Module r8188eu is not currently loaded
    modprobe r8188eu.ko
    modprobe: FATAL: Module r8188eu.ko not found in directory /lib/modules/5.18.0-kali5-amd64

    what's up? could someone help me?
    thanks!

  4. #4
    Join Date
    2021-May
    Location
    UK
    Posts
    772
    If it doesn't already have 'default drivers' kernel module loaded, which is what you asked it to remove if there, then just carry on and compile new drivers anyway..

  5. #5
    Join Date
    2022-Aug
    Posts
    3
    Hi! it's work for me.


    Your USB wifi already listed through lsusb command the ID 2357:010c is IDvendor and the IDproduct of the TP-Link TL-WN722N USB wifi.


    2 ways to install the driver :


    The wired connection is required


    1) open the terminal and run the following command:


    ```
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade
    reboot
    ```


    Then


    ```
    apt-get install dkms git
    git clone https://github.com/lwfinger/rtl8188eu.git
    dkms add ./rtl8188eu
    dkms build 8188eu/1.0
    dkms install 8188eu/1.0
    modprobe 8188eu
    reboot
    ```


    2) by compiling the source:


    ```
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade
    reboot
    ```


    Then, Use the command `apt-get install gcc make linux-headers-$(uname -r)` to install the appropriate linux-headers pacakge , then run :


    ```
    git clone https://github.com/lwfinger/rtl8188eu.git
    cd rtl8188eu
    make
    make install
    modprobe 8188eu
    reboot
    ```
    and it's done!
    see you!

Similar Threads

  1. Does Kali Linux 2017.3 suppot Realtek RTL8188EUS.
    By shravan in forum General Archive
    Replies: 2
    Last Post: 2018-02-15, 17:28
  2. Trouble compiling a custom Network driver
    By mberthold in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2014-08-26, 07:58
  3. RT2870 (mt7610u) Wifi Driver Compiling Errors
    By CoolApps in forum General Archive
    Replies: 0
    Last Post: 2014-02-19, 18:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •