Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RTL8188SU not seen as wireless in nm-applet [WORKAROUND]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Fri Jan 11, 2013 6:02 pm    Post subject: RTL8188SU not seen as wireless in nm-applet [WORKAROUND] Reply with quote

hi,

i want to use a LogiLink WL0085 Wireless N USB Adapter (http://www.logilink.com/showproduct/WL0085.htm) and lsusb gave that response back in terminal ...

Code:

Bus 002 Device 004: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter


i have already set my kernel with the needed staging driver and firmware up but in nm-applet under the cinnamon desktop it is seen as a !!! wired !!! (yes, not wireless!) network interface.

is this a known bug ?

anyway : any ideas how to fix this strange problem ? currently i am unable to use this device in any form except as a door blocker :-(

by the way : months ago (i think it was around end of spring 2012) it was already seen as a wireless network interface in nm-applet but always crashing the kernel when it was unplugged.

currently i am using these network related packages

Code:

net-wireless/wireless-tools-30_pre9  USE="-multicall"
net-wireless/wpa_supplicant-1.1  USE="ap dbus eap-sim gnutls p2p readline ssl wps -fasteap (-ps3) -qt4 (-selinux) -wimax"
net-misc/networkmanager-0.9.6.4  USE="avahi bluetooth connection-sharing dhcpcd gnutls introspection modemmanager ppp resolvconf vala -dhclient -doc -nss -systemd -wext -wimax"
sys-kernel/vanilla-sources-3.7.1:3.7.1  USE="symlink -build -deblob"
gnome-extra/nm-applet-0.9.6.4  USE="bluetooth gconf"


and of course the cinnamon-1.6.7-r1 desktop ui
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)


Last edited by phalaxy on Sat Jan 12, 2013 3:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jan 11, 2013 10:01 pm    Post subject: Reply with quote

which firmware?
Does
Code:
ifconfig -a
show the interface? If so, does
Code:
ifconfig
show the interface? If not, will
Code:
ifconfig wlan0 up
bring it up? Will it scan?
Code:
emerge wireless-tools
iwlist wlan0 scan
or
Code:
emerge iw
iw wlan0 scan

_________________
Defund the FCC.
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Fri Jan 11, 2013 10:04 pm    Post subject: Reply with quote

can you paste dmesg output?

Sometimes happens that wireless interfaces are named like ethN. If you look with iwconfig you'll see that lists eth1 as wireless interface. I think the culprit here is udev.

The performance issue might have to do with something else. Find online more about 'your device + linux' and see what others are saying. Anything in staging is likely not to be very stable, else wouldn't be there.
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Sat Jan 12, 2013 12:32 am    Post subject: Reply with quote

thanks guys for your help....

because of my /etc/udev/rules.d/70-persistent-net.rules file the wlan usb stick is recognized as interface wlan1. eth0 and wlan0 are internal network devices of my notebook.

Code:

# USB device 0x0bda:0x8171 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:33:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"


i am using this udev implementation:

Code:

sys-fs/udev-197-r1  USE="acl gudev hwdb introspection keymap openrc -doc -kmod (-selinux) -static-libs"


this is the dmesg output but before this i had to shut down the networkmanager service:

Code:

r8712u: Staging version
r8712u: register rtl8712_netdev_ops to netdev_ops
[107478.335191] r8712u: USB_SPEED_HIGH with 4 endpoints
[107478.335699] r8712u: Boot from EFUSE: Autoload OK
[107478.878666] r8712u: CustomerID = 0x0000
[107478.878671] r8712u: MAC Address from efuse = 00:13:33:xx:xx:xx
[107478.878673] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"


i have blanked the last 24 bits of the mac address for security reasons.

iwconfig output after the "ifconfig wlan1 up" command:

Code:

wlan1     unassociated  Nickname:"rtl_wifi"
          Mode:Auto  Access Point: Not-Associated   Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


EDIT:

the usb stick scans after the "iwlist wlan1 scan" command (with deactivated networkmanager service) with no results because i have currently no antenna attached and not available until tomorrow evening middle european time.
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jan 12, 2013 12:53 am    Post subject: Reply with quote

Have you tried
Quote:
<M> RealTek RTL8192U Wireless LAN NIC driver
instead of
Quote:
<M> RealTek RTL8192U Wireless LAN NIC driver

_________________
Defund the FCC.
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Sat Jan 12, 2013 11:03 am    Post subject: Reply with quote

donahue, could you please name the new specific kernel module you speak of? i am currently using the r8712u kernel module.

Quote:

<M> RealTek RTL8192U Wireless LAN NIC driver
instead of
Zitat:
<M> RealTek RTL8192U Wireless LAN NIC driver


i think you made a mistake by naming 2 exactly the same designation names of the staging drivers
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jan 12, 2013 2:06 pm    Post subject: Reply with quote

Have you tried
Quote:
<M> RealTek RTL8192U Wireless LAN NIC driver
instead of [quote] <M> RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver
I've seen a couple of places where both are listed as supporting your NIC
_________________
Defund the FCC.
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Sat Jan 12, 2013 3:49 pm    Post subject: Reply with quote

Code:

usb 2-1.2: new high-speed USB device number 5 using ehci_hcd


is the only response i got from the r8192u_usb kernel module in conjunction with my wireless usb nic.

this nic stays currently unusable with networkmanager and nm-applet.

best workaround up to now:
1. tell networkmanager to ignore the interface completely (ban the mac-address) of this wireless nic
2. use the r8712u kernel module with the rtl8712u.bin (size: 129.304 bytes) firmware
3. use the nic the classical way via console commands or gentoo configuration scripts at your discretion
4. cross the fingers :-) everything including encryption should be working as expected

hopefully networkmanager and nm-applet will learn that this is a real wireless usb nic WITH NO WIRELESS CABLE INCLUDED some day :-)
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum