LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2018, 04:41 AM   #1
andrewld
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware-15 64-bit
Posts: 20

Rep: Reputation: 1
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.

Last edited by andrewld; 03-28-2018 at 04:52 AM.
 
Old 03-28-2018, 06:01 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
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.

Last edited by allend; 03-28-2018 at 06:07 AM.
 
Old 03-28-2018, 06:18 AM   #3
andrewld
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware-15 64-bit
Posts: 20

Original Poster
Rep: Reputation: 1
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.
 
Old 03-28-2018, 07:42 AM   #4
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
this is how i solved my problems on Slackware 14.2:

https://slackalaxy.com/2017/09/02/tp...wn722n-driver/
 
Old 03-28-2018, 08:25 AM   #5
andrewld
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware-15 64-bit
Posts: 20

Original Poster
Rep: Reputation: 1
I followed solarfields's instructions, but still no wlan0.
 
Old 03-28-2018, 08:31 AM   #6
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
you have the linux kernel source, right? any errors?

Last edited by solarfields; 03-28-2018 at 08:39 AM.
 
Old 03-28-2018, 08:53 AM   #7
andrewld
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware-15 64-bit
Posts: 20

Original Poster
Rep: Reputation: 1
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
 
Old 03-28-2018, 09:04 AM   #8
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
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

Last edited by solarfields; 03-28-2018 at 09:08 AM.
 
Old 03-28-2018, 09:20 AM   #9
andrewld
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware-15 64-bit
Posts: 20

Original Poster
Rep: Reputation: 1
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
 
Old 03-28-2018, 09:20 AM   #10
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
ok, i don't know then
 
Old 03-28-2018, 09:31 AM   #11
andrewld
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware-15 64-bit
Posts: 20

Original Poster
Rep: Reputation: 1
Thanks, anyway. I'll do some more digging.
 
Old 03-28-2018, 09:37 AM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
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.
 
Old 03-28-2018, 10:16 AM   #13
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by andrewld View Post
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
 
3 members found this post helpful.
Old 03-28-2018, 10:31 AM   #14
andrewld
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware-15 64-bit
Posts: 20

Original Poster
Rep: Reputation: 1
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!
 
Old 11-27-2018, 05:14 AM   #15
longus
Member
 
Registered: Dec 2008
Posts: 49

Rep: Reputation: 3
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
.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Mint 17.1 , Wireless Connection Issues , Lenovo-ideapad-100-15IBD , on Internal Wireless RTL8723BE PCIe Wireless Network Adapter rtoney5 Linux - Laptop and Netbook 2 11-10-2016 01:52 PM
Supersede laptop's wireless adapter with usb wireless adapter rcdawson Linux - Networking 2 11-29-2015 04:03 AM
Configuring wireless network using USB Wireless adapter on Slackware-current x64 kkmic Slackware 16 06-28-2011 05:21 AM
Fedora 9 and Network Adapter 3COM OfficeConnect Wireless 11g Compact USB Adapter mpharkin Linux - Newbie 1 09-20-2008 05:18 AM
LAN Adapter and Wireless adapter stopping each other? Quirrel Linux - Wireless Networking 1 06-12-2007 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration