- Saved searches
- Use saved searches to filter your results more quickly
- License
- ivanovborislav/rtl8188eu
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Ubuntu 17.04. install driver for USB Ethernet Adapter [closed]
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Realtek RTL8188EU v5.13.3 (2021-06-15) Wireless Lan Driver for Linux
License
ivanovborislav/rtl8188eu
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Realtek RTL8188EU Wireless Lan Driver for Linux
- v5.13.3 (20210615)
- Based on EDIMAX EW-7811Un V2 Linux Driver (Version : 1.0.1.3) 2021-10-01
- Support Kernel: 3.8 — 5.4 (Realtek)
- Support up to Kernel 6.3
- Supported interface modes:
- IBSS
- managed
- AP
- monitor
- P2P-client
- P2P-GO
- WEP 64/128-bit, WPA, WPA2, and WPA3
- TP-Link TL-WN722N V2/V3 150Mbps High Gain Wireless USB Adapter
- TP-Link TL-WN727N V5.20 150Mbps Wireless N USB Adapter
- TP-Link TL-WN725N V3 150Mbps Wireless N Nano USB Adapter
- EDIMAX EW-7811Un V2 N150 Wi-Fi 4 Nano USB Adapter
- ASUS USB-N10 Nano B1 USB Adapter Wireless-N
- D-Link DWA-125 Wireless N 150 USB Adapter(rev.D)
- D-Link DWA-123 Wireless N 150 USB Adapter(rev.D)
- D-Link GO-USB-N150 Wireless N 150 Easy USB Adapter(rev.B)
- D-Link DWA-121 Wireless N 150 USB Adapter(rev.B)
- Realtek RTL8188EU Wireless LAN 802.11n USB 2.0 Network Adapter
- Realtek RTL8188ETV Wireless LAN 802.11n USB 2.0 Network Adapter
- 802.11bgn Mini Wireless LAN USB2.0 Adapter
- ELECOM WDC-150SU2M Wireless Adapter
- Sitecom WLA-1100 V2 Wi-Fi USB adapter N150
- MERCUSYS MW150US V2 N150 Wireless Nano USB Adapter
- Rosewill RNX-N150NUB N150 Wireless Nano USB Adapter
Tested Linux Distros and Tools
Successful tested injection aireplay-ng -9 , deauthentication aireplay-ng -0 1 -a .
Successful hcxdumptool driver test hcxdumptool -i —check_driver and capture packets hcxdumptool -i -o test.pcapng —filterlist_ap=targets.lst —filtermode=2 —enable_status=15 (hcxdumptool -i -o test.pcapng —filterlist=targets.lst —filtermode=2 —enable_status=15) .
Connecting to AP with WPA3 (WPA3-SAE) authentication method (IMPORTANT: Test distro Ubuntu 22.04 kernel 5.15 — NetworkManager 1.36.4 nmcli tool, version 1.36.4. Otherwise use wpa_supplicant).
Start WPA3 (WPA3-SAE) SoftAP.
TX power control tested with SoftAP mode and OpenWrt firmware (OpenWrt 21.02.0 r16279-5cc0535800, Channel Analysis Feature).
- Ubuntu 22.04 (kernel 5.19)
- Aircrack-ng 1.6
- hcxdumptool 6.2.6
- wpa_supplicant v2.11-devel-hostap_2_10-309-gc3d389b72
- hostapd v2.11-devel-hostap_2_10-309-gc3d389b72
- wpa_supplicant v2.11-devel-hostap_2_10-309-gc3d389b72
- hostapd v2.11-devel-hostap_2_10-309-gc3d389b72
- Aircrack-ng 1.6
- hcxdumptool 6.2.6
- hcxdumptool 6.2.4
- Aircrack-ng 1.6
- wpa_supplicant v2.11-devel-hostap_2_10-151-g3085e1a67
- hostapd v2.11-devel-hostap_2_10-151-g3085e1a67
- wpa_supplicant v2.10-devel-hostap_2_9-2398-g8a54c252a
- hostapd v2.10-devel-hostap_2_9-2398-g8a54c252a
- Aircrack-ng 1.6
- hcxdumptool 6.2.4
- Aircrack-ng 1.5.2
- hcxdumptool 4.2.1
- Aircrack-ng 1.5.2
- hcxdumptool 4.2.1
- Aircrack-ng 1.5.2
- hcxdumptool 4.2.1
- Aircrack-ng 1.5.2
- hcxdumptool 5.1.4
- wpa_supplicant v2.10-devel-hostap_2_9-2374-g9ef8491d9
- Aircrack-ng 1.6
- hcxdumptool 6.1.6
- Aircrack-ng 1.6
- wpa_supplicant v2.10-devel-hostap_2_9-2398-g8a54c252a
- hostapd v2.10-devel-hostap_2_9-2398-g8a54c252a
- Aircrack-ng 1.5.2
- hcxdumptool 5.1.7
- wpa_supplicant v2.10-devel-hostap_2_9-2433-g8d881d942
- Aircrack-ng 1.6
- hcxdumptool 6.1.4
- wpa_supplicant v2.10-devel-hostap_2_9-2379-g4775a5f82
- Aircrack-ng 1.6
- hcxdumptool 6.1.6
- wpa_supplicant v2.10-devel-hostap_2_9-2433-g8d881d942
- Aircrack-ng 1.6
- hcxdumptool 6.2.4
- wpa_supplicant v2.10-devel-hostap_2_9-2398-g8a54c252a
- hostapd v2.10-devel-hostap_2_9-2398-g8a54c252a
git clone https://github.com/ivanovborislav/rtl8188eu.git cd rtl8188eu
sudo apt-get install bc build-essential
sudo apt-get install linux-headers-$(uname -r)
apt-cache search linux-headers sudo apt-get install linux-headers-5.14.0-kali4-amd64 (for example) apt-cache search linux-image sudo apt-get install linux-image-5.14.0-kali4-amd64 (for example)
chmod +x install.sh ./install.sh -i
IMPORTANT: Prevent loading old driver r8188eu.
echo "blacklist r8188eu" > /etc/modprobe.d/realtek.conf
Ln145 — CONFIG_PLATFORM_I386_PC = y to CONFIG_PLATFORM_I386_PC = n
Ln146 — CONFIG_PLATFORM_RPI_ARM = n to CONFIG_PLATFORM_RPI_ARM = y for ARM
Ln147 — CONFIG_PLATFORM_RPI_ARM64 = n to CONFIG_PLATFORM_RPI_ARM64 = y for ARM64
sudo git clone "https://github.com/ivanovborislav/rtl8188eu.git" /usr/src/rtl8188eu-5.13.3 sudo dkms add -m rtl8188eu -v 5.13.3 sudo dkms autoinstall dkms status
sudo git clone "https://github.com/ivanovborislav/rtl8188eu.git" /usr/src/rtl8188eu-5.13.3 sudo dkms add -m rtl8188eu -v 5.13.3 sudo dkms build -m rtl8188eu -v 5.13.3 sudo dkms install -m rtl8188eu -v 5.13.3 dkms status
sudo airmon-ng check kill sudo ip link set down sudo iw dev set type monitor sudo ip link set up
sudo ip link set down sudo iw dev set type managed sudo ip link set up sudo systemctl restart NetworkManager (sudo service network-manager restart)
Note: Set TX power before start SoftAP mode. . set txpower fixed 3000 = txpower 30.00 dBm .
sudo iw dev set txpower fixed 3000
Change driver options during inserting driver module
Remove (unload) a module from the Linux kernel.
sudo rmmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
Insert (load) a module into the Linux kernel.
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko rtw_ips_mode=1 rtw_drv_log_level=4 rtw_power_mgnt=2 rtw_led_ctrl=1
Change driver options loading from file
Create a file 8188eu.conf containing options 8188eu rtw_ips_mode=1 rtw_drv_log_level=4 rtw_power_mgnt=2 rtw_led_ctrl=1 . Copy a file to /etc/modprobe.d/ directory.
sudo cp -f 8188eu.conf /etc/modprobe.d
IPS (Inactive Power Saving) Function, rtw_ips_mode=
0:Disable IPS 1:Enable IPS (default)
LPS (Leisure Power Saving) Function, rtw_power_mgnt=
0:Disable LPS 1:Enable LPS 2:Enable LPS with clock gating (default)
Driver debug log level control, rtw_drv_log_level=
0:_DRV_NONE_ 1:_DRV_ALWAYS_ 2:_DRV_ERR_ 3:_DRV_WARNING_ 4:_DRV_INFO_ (default) 5:_DRV_DEBUG_ 6:_DRV_MAX_
Driver LED control, rtw_led_ctrl=
0:led off 1:led blink (default) 2:led on
Driver REGD source selection, rtw_regd_src=
0:Realtek defined 1:OS (default, get channel plan from OS)
Connecting with wpa_supplicant
Example wpa_supplicant.conf with WPA3-Personal (WPA3-SAE).
ctrl_interface=/var/run/wpa_supplicant update_config=1 country=EN p2p_no_group_iface=1 sae_groups=19 20 21 network=
sudo systemctl stop NetworkManager sudo killall wpa_supplicant sudo wpa_supplicant -B -i -c wpa_supplicant.conf sudo dhclient
Example hostapd.conf with WPA3-Personal (WPA3-SAE).
ctrl_interface=/var/run/hostapd ctrl_interface_group=0 driver=nl80211 ssid=WPA3 country_code=EN channel=6 beacon_int=100 dtim_period=1 fragm_threshold=2346 rts_threshold=2347 hw_mode=g ieee80211n=1 max_num_sta=16 wmm_enabled=1 ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40] ignore_broadcast_ssid=0 auth_algs=1 wpa=2 wpa_key_mgmt=SAE wpa_pairwise=CCMP rsn_pairwise=CCMP ieee80211w=2 sae_groups=19 20 21 sae_require_mfp=1 wpa_passphrase=1234567890
sudo killall hostapd sudo hostapd -i hostapd.conf
- TP-Link TL-WN722N V3
- Linksys WRT1200AC V2
- OpenWrt 21.02.0 r16279-5cc0535800 / LuCI openwrt-21.02 branch git-21.231.26241-422c175
config wifi-iface 'default_radio1' option device 'radio1' option network 'lan' option mode 'ap' option macaddr '30:23:03:XX:XX:XX' option ssid 'WPA3' option encryption 'sae' option key '1234567890' option ieee80211w '2'
About
Realtek RTL8188EU v5.13.3 (2021-06-15) Wireless Lan Driver for Linux
Ubuntu 17.04. install driver for USB Ethernet Adapter [closed]
This describes a problem that can’t be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It’s off-topic as it’s unlikely to help future readers.
Need to install a USB Ethernet Adapter (lsusb string below) Bus 003 Device 005: ID 0bda:8152 Realtek Semiconductor Corp. I have got four files by the manufacturer: /home/sergey/Downloads/RTL8152/LINUX Andriod/50-usb-realtek-net.rules /home/sergey/Downloads/RTL8152/LINUX Andriod/compatibility.h /home/sergey/Downloads/RTL8152/LINUX Andriod/Makefile /home/sergey/Downloads/RTL8152/LINUX Andriod/r8152.c Q1: Do I need to install these files above somehow? Q2: If Q1 is negative, How to check the Adapter / make it work? Note: The main goal is to connect a Wi-Fi hub (Zyxell KEENETIC) via the above Adapter. Indication on the hub shows no network connection via the Adapter. Please advise. SK EDIT for @chili555 TY for your prompt answer. Pls see the findings below.
sergey@home-X200CA:~$ lsmod | grep r8152 r8152 49152 0 mii 16384 2 usbnet,r8152 sergey@home-X200CA:~$ ifconfig enp3s0: flags=4163 mtu 1500 inet6 fe80::da50:e6ff:fe9e:f905 prefixlen 64 scopeid 0x20 ether d8:50:e6:9e:f9:05 txqueuelen 1000 (Ethernet) RX packets 618782 bytes 742610979 (742.6 MB) RX errors 0 dropped 1787 overruns 0 frame 0 TX packets 441907 bytes 64009887 (64.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 19 enx00e04c362984: flags=4099 mtu 1500 ether 00:e0:4c:36:29:84 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 6098 bytes 2693946 (2.6 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6098 bytes 2693946 (2.6 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ppp0: flags=4305 mtu 1492 inet 5.35.51.212 netmask 255.255.255.255 destination 5.35.0.1 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 458293 bytes 537885941 (537.8 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 337967 bytes 41480878 (41.4 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 sergey@home-X200CA:~$ dmesg | grep r8152 [ 16.811429] usbcore: registered new interface driver r8152 [ 17.019410] r8152 3-1.3:1.0 eth0: v1.08.8 [ 19.889560] r8152 3-1.3:1.0 enx00e04c362984: renamed from eth0 sergey@home-X200CA:~$ dmesg | grep inp350 sergey@home-X200CA:~$ sergey@home-X200CA:~$ dmesg | grep inp3s0 sergey@home-X200CA:~$