LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   RTL8188EUS wireless adapter (https://www.linuxquestions.org/questions/slackware-14/rtl8188eus-wireless-adapter-4175626502/)

andrewld 03-28-2018 04:41 AM

RTL8188EUS wireless adapter
 
I'm trying to install a usb wireless adaptor with the RTL8188EUS chipset. It comes with a Linux driver for kernels up to 3.19.3, but I'm running 4.4.118 (Slackware 14.2). The install.sh script provided fails to compile the module so I installed the one from Slackbuilds.

The device is recognised:
Code:

dmesg:
[12482.428063] usb 1-10: new high-speed USB device number 12 using xhci_hcd
[12482.592806] usb 1-10: New USB device found, idVendor=0bda, idProduct=818b
[12482.592816] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12482.592823] usb 1-10: Product: 802.11n NIC
[12482.592828] usb 1-10: Manufacturer: Realtek
[12482.592834] usb 1-10: SerialNumber: 40A5EFDD3E5B

Code:

lsusb:
Bus 001 Device 015: ID 0bda:818b Realtek Semiconductor Corp.

No module is loaded when I plug it in, so I load it manually but I've no idea what to do next as no interface shows up:
Code:

iwconfig
ppp0      no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

usb0      no wireless extensions.

Code:

ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 1c:66:6d:92:e2:97  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<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 4  bytes 200 (200.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 200 (200.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 5.205.237.189  netmask 255.255.255.255  destination 0.0.0.0
        ppp  txqueuelen 3  (Point-to-Point Protocol)
        RX packets 156863  bytes 167927867 (160.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 104865  bytes 10649036 (10.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 02:52:06:50:30:38  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

(ppp0 and usb0 are the mobile I'm currently using to connect)

Any help much appreciated.

allend 03-28-2018 06:01 AM

In an ideal world, you would hope that device would be supported OOTB by the r8188eu kernel module.

I would suggest trying the latest stand-alone rtl8188eu at https://github.com/lwfinger/rtl8188eu If you have problems, they probably want your feedback.

andrewld 03-28-2018 06:18 AM

Quote:

In an ideal world, you would hope that device would be supported OOTB by the r8188eu kernel module.
I tried that, with the same results, except that, on loading the module, cfg80211 and rfkill are also loaded. I also tried the other possibility you mention, with the same results as the Slackbuilds module.
I realised long ago that the only ideal world is this one; ideal but not perfect.
Cheers.

solarfields 03-28-2018 07:42 AM

this is how i solved my problems on Slackware 14.2:

https://slackalaxy.com/2017/09/02/tp...wn722n-driver/

andrewld 03-28-2018 08:25 AM

I followed solarfields's instructions, but still no wlan0.

solarfields 03-28-2018 08:31 AM

you have the linux kernel source, right? any errors?

andrewld 03-28-2018 08:53 AM

I have the kernel source, yes. There were no errors with the compilation and install using rtl8188EUS_linux_v4.3.0.8_13968.20150417-target-kernel_4.4, so long as I did:
Code:

modprobe lib80211 cfg80211
before
Code:

insmod /lib/modules/4.9.0-kali4-amd64/kernel/drivers/net/wireless/8188eu.ko

solarfields 03-28-2018 09:04 AM

so you did these:

insmod /lib/modules/$KERNEL_VERSION/kernel/drivers/net/wireless/8188eu.ko
modprobe lib80211
modprobe cfg80211
modprobe 8188eu

??
did you try to reboot?

didn't you say you were running 4.4.118? Where did this come from:
insmod /lib/modules/4.9.0-kali4-amd64/kernel/drivers/net/wireless/8188eu.ko

andrewld 03-28-2018 09:20 AM

Quote:

insmod /lib/modules/$KERNEL_VERSION/kernel/drivers/net/wireless/8188eu.ko
modprobe lib80211
modprobe cfg80211
modprobe 8188eu
Yes.
Quote:

did you try to reboot?
Yes. No modules loaded.
Quote:

didn't you say you were running 4.4.118? Where did this come from:
insmod /lib/modules/4.9.0-kali4-amd64/kernel/drivers/net/wireless/8188eu.ko
Sorry, my bad. Wrong clipman entry. What I did was (of course):
Code:

insmod /lib/modules/4.4.118-smp/kernel/drivers/net/wireless/8188eu.ko

solarfields 03-28-2018 09:20 AM

ok, i don't know then

andrewld 03-28-2018 09:31 AM

Thanks, anyway. I'll do some more digging.

allend 03-28-2018 09:37 AM

I have just built a package using the SlackBuilds.org script with the latest source version from https://github.com/lwfinger/rtl8188eu (rtl8188eu-master.zip) by setting 'VERSION="master" '. This built on my -current system without error. The resulting package contains a kernel module 8188eu.ko, but the output from 'modinfo 8188eu' does not show your device identifiers.
Code:

root:~# modinfo 8188eu
filename:      /lib/modules/4.14.30/kernel/drivers/net/wireless/8188eu.ko
version:        v4.1.4_6773.20130222
author:        Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:    E736B9CBA8B387877CC156B
alias:          usb:v2357p010Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v056Ep4008d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3311d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0076d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp0179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8179d*dc*dsc*dp*ic*isc*ip*in*
depends:       
retpoline:      Y
name:          8188eu

Maybe they need to be added to 8188eu.mod.c in the source code.

phenixia2003 03-28-2018 10:16 AM

Hello,

Quote:

Originally Posted by andrewld (Post 5836388)
The device is recognised:
Code:

dmesg:
[12482.428063] usb 1-10: new high-speed USB device number 12 using xhci_hcd
[12482.592806] usb 1-10: New USB device found, idVendor=0bda, idProduct=818b
[12482.592816] usb 1-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12482.592823] usb 1-10: Product: 802.11n NIC
[12482.592828] usb 1-10: Manufacturer: Realtek
[12482.592834] usb 1-10: SerialNumber: 40A5EFDD3E5B

Code:

lsusb:
Bus 001 Device 015: ID 0bda:818b Realtek Semiconductor Corp.


0bda:818b is the ID of RTL8192EU chipset, not RTL8188EUS. So, you need this driver.


--
SeB

andrewld 03-28-2018 10:31 AM

Great stuff!
Quote:

0bda:818b is the ID of RTL8192EU chipset, not RTL8188EUS. So, you need this driver.
I had in fact seen that somewhere and tried it but it made no difference. But the link you provided worked and I now have a wlan0. Thanks a million!

longus 11-27-2018 05:14 AM

Hello! I have bought a TP-LINK TL-WN725N and no one of the given here sollutions solved my problem. Today i did find this driver
https://github.com/quickreflex/rtl8188eus which is working. The driver is compiled with no error and works bidirectional, e. i. i use it like a router to share internet from the desktop to the phone and other devices.
The only question i see is the change of the wlan number. Every time there is an increment and now it is
Quote:

wlan3
.


All times are GMT -5. The time now is 08:40 AM.