Hi everbody,
I just bough an USB-WiFi-Adapter, a TP-Link TL-WN823N.
After I inserted it lsusb shows me
Bus 001 Device 004: ID 2357:0109
I run the kernel 3.2.71-slitaz
Any idea how to make use of it?
Thanks in advance,
Michael Bischof
Hi everbody,
I just bough an USB-WiFi-Adapter, a TP-Link TL-WN823N.
After I inserted it lsusb shows me
Bus 001 Device 004: ID 2357:0109
I run the kernel 3.2.71-slitaz
Any idea how to make use of it?
Thanks in advance,
Michael Bischof
maybe the Ubuntu driver from here helps und you can convert it with tazpkg convert
Thank you, @kultex. But this driver must be compiled. With a tazpkg-installation it would not work. Plus: apparently with each kernel upgrade the compilation must be done anew. So if there is no „ready“ tazpkg-solution availabele it saves life time to just try another tool with a better chipset. - This rtl8192eu thing seems problematic: on Q4OS with a 3.16.0-4-686-pae it works. On an Ubuntu installation with the same kernel it is recongnized (with ifconfig -a I can seee a wlan1 device) but does not connect. - Before I spend 2 days of my life on it I will better use said alternative. It is not a slitaz problem anyway.
@ michaelbischof
Without any warranties... Convert and install rtl8192eu-dkms_4.4_all.deb
Ok, thank you, Ceel! I might try it then. But forgive me in case I end up with a lazy solution and just will use another stick then.;-)
@michaelbischof
tazpkg install rtl8192eu-3.2.71.tazpkg
Open 2 terminals.
Terminal 1 will monitor kernel errors such as missing firmware:
tail -f /var/log/messages
Terminal 2:
modprobe 8192eu
List alias if the kernel registers the interface:
ls /sys/class/net
Ok, thanks a big lot!
Installation went without trouble. The output of /var/log/messages:
tail -f /var/log/messages
Jul 25 19:01:18 (none) user.info kernel: Adding 3906556k swap on /dev/sda3. Priority:-1 extents:1 across:3906556k
Jul 25 19:01:18 (none) user.info kernel: Adding 3145724k swap on /dev/sdb5. Priority:-2 extents:1 across:3145724k
Jul 25 19:01:18 (none) user.info kernel: NET: Registered protocol family 10
Jul 25 19:01:27 (none) user.err kernel: [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:6]
Jul 25 19:01:30 (none) daemon.info : starting pid 1710, tty '/dev/tty1': '/sbin/getty 38400 tty1'
Jul 25 19:01:30 (none) daemon.info : starting pid 1711, tty '/dev/tty2': '/sbin/getty 38400 tty2'
Jul 25 19:01:30 (none) daemon.info : starting pid 1712, tty '/dev/tty3': '/sbin/getty 38400 tty3'
Jul 25 19:01:30 (none) daemon.info : starting pid 1713, tty '/dev/tty4': '/sbin/getty 38400 tty4'
Jul 25 19:01:30 (none) daemon.info : starting pid 1714, tty '/dev/tty5': '/sbin/getty 38400 tty5'
Jul 25 19:01:30 (none) daemon.info : starting pid 1715, tty '/dev/tty6': '/sbin/getty 38400 tty6'
Jul 25 19:04:08 (none) user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Jul 25 19:04:08 (none) user.warn kernel: RTL871X: module init start
Jul 25 19:04:08 (none) user.warn kernel: RTL871X: rtl8192eu v4.4.1_17696.20160509_BTCOEX20160412-0042
Jul 25 19:04:08 (none) user.warn kernel: RTL871X: build time: Jul 24 2017 23:55:11
Jul 25 19:04:08 (none) user.warn kernel: RTL871X: rtl8192eu BT-Coex version = BTCOEX20160412-0042
Jul 25 19:04:09 (none) user.warn kernel: RTL871X: hal_com_config_channel_plan chplan:0x21
Jul 25 19:04:09 (none) user.warn kernel: RTL871X: Wrong rate section: (CCK,2T)
Jul 25 19:04:09 (none) user.warn kernel: RTL871X: Wrong rate section: (CCK,2T)
[repeated a lot]
Jul 25 19:10:00 (none) user.warn kernel: RTL871X: duplicate tx power limit combination [band 2.4G][regulation MKK][bw 40M][rate section HT][rf path 2T][chnl 11]
Jul 25 19:10:00 (none) user.warn kernel: RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=18:d6:c7:0d:4b:30
Jul 25 19:10:00 (none) daemon.info kernel: udevd[3392]: renamed network interface wlan0 to wlan3
Jul 25 19:10:15 (none) user.info kernel: ADDRCONF(NETDEV_UP): wlan3: link is not ready
Jul 25 19:10:17 (none) user.warn kernel: RTL871X: nolinked power save enter
Jul 25 19:11:11 (none) user.warn kernel: RTL871X: nolinked power save leave
The USB-Stick is recognized as wlan3. I can scan:
root@slitaz:/home/tux/Desktop$ iwlist wlan3 scan
wlan3 Scan completed :
Cell 01 - Address: 38:10:D5:C3:D8:E5
ESSID:"wlanmb"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.437 GHz (Channel 6)
Encryption key:on
Bit Rates:300 Mb/s
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Extra:
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD6F0050F204104A0001101044000102103B000103104700100CDB154D14E9B934F3743810D5C3D8E51021000341564D1023000446426F78102400043030303010420004303030301054000800060050F20400011011000446426F78100800022388103C0001011049000600372A000120
Quality=41/100 Signal level=75/100
Extra:fm=0003
But it does not connect.
And then I saw this output:
root@slitaz:/home/tux/Desktop$ ls /sys/class/net
dummy0 eth0 lo tunl0 wlan3
lsmod shows that the driver is inserted:
root@slitaz:/home/tux/Desktop$ lsmod
Module Size Used by
8192eu 909463 0
<= But it is not used!
Whether firmware is missing I cannot check. Beyond my abilities! ;-)
Regards,
Michael Bischof
@mojo:
An addition that I just found in the net, may be it is of help for you (beyond my abilities)
https://scdas141.wordpress.com/2017/01/28/how-to-compile-mangertl8192eu-linux-driver-driver/
May be it might help.
And addition:
root@slitaz$ lsmod
Module Size Used by
8192eu 909463 0
cfg80211 117334 1 8192eu
rfkill 10151 1 cfg80211
@michaelbischof
The driver either works or it doesn't.
The rest is up to you, I just compile and package the driver.
There are no firmware errors in the output you posted.
The driver source code came from https://github.com/Mange/rtl8192eu-linux-driver
If you purchase another wifi adapter and it has a realtek chipset, return it for a refund.
Realtek wifi has the absolute worst drivers on linux.
Ralink/mediatek wifi chipsets have the best linux drivers.
@mojo
thanks a big lot agaain!
„There are no firmware errors in the output you posted.“ - Then it seems to be just happenstance. As said before: it works on some partitions, on some it does not.
„Realtek wifi has the absolute worst drivers on linux.“ . Yes, a waste of time then. As a consumer who sees something in the supermarket it is unpleasant: what chipset is in the offered USB-stick you do not see and if you are in a hurry, like in my case, on travel in Vienna, 30' before the shop closed, ...
A driver that must be recompiled with each kernel update is inherently an ill „solution“.
Forgive me for having wasted your time!
Regards,
Michael Bischof
PS.as I see 3 people downloaded your driver: experiences? ;-)
@mojo
But thinking again it seems clear to me that
1. your solution technically works perfect
2. the issue I have is not with making the Stick work but with wpa_supplicant. - The card works but it does not connect. Therefore scanning works, but the connection does not come up.
Thanks for all your efforts!
Michael
You must log in to post.