Hi,
EDIT : it's a
DHCPCD5 problem. I had to remove it, and install Wicd instead.
WiFi handling problem with new Raspbian 10 Buster new version of the Network Manager : it cannot handle anymore USB WiFi Dongle TP-Link TL-WN722N (V2) (while was working fine with Raspbian 9 Stretch).
Despite the fact this WiFi dongle is still working fine by manual commands !!
It's based on Realtek rtl8188eu,
and it still works fine by manual wpa_supplicant command for connecting to WiFi so it seems to be related to a regression into the Network Manager. However, this regression doesn't appear to cause issue on an Ralink USB WiFi dongle (Tenda W311U : Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter), and no issue with the integrated WiFi module of RPi 3 and +.
It's not about kernel, firmware-realtek, or wpasupplicant :
After rpi-update to 4.19.56-v7+ on both Raspbian 9 and 10, no change. No differences between Raspbian 9 and 10 firmware realtek files : /lib/firmware/rtlwifi/rtl8188* files are the same (checkum compared). It's not a failure inside wpasupplicant : it works both on Raspbian 9 and 10 with manual wpa_supplicant command :
Code: Select all
root@Pi2-Cam-Crypte:~# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wlan0: Trying to associate with 30:b5:c2:7f:46:16 (SSID='WeeFee-2.4GHz' freq=2412 MHz)
Failed to add supported operating classes IE
wlan0: Association request to the driver failed
wlan0: Associated with 30:b5:c2:7f:46:16
wlan0: WPA: Key negotiation completed with 30:b5:c2:7f:46:16 [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 30:b5:c2:7f:46:16 completed [id=0 id_str=]
(here, it's connected)
For more informations :
Code: Select all
root@Pi2-Cam-Crypte:~# lsusb
Bus 001 Device 005: ID 2357:010c TP-Link TL-WN722N v2
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Select all
root@Pi2-Cam-Crypte:~# lsmod
Module Size Used by
r8188eu 438272 0
lib80211 16384 1 r8188eu
fuse 110592 3
ctr 16384 0
aes_arm_bs 20480 0
crypto_simd 16384 1 aes_arm_bs
cryptd 24576 1 crypto_simd
ccm 20480 0
8021q 32768 0
garp 16384 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
arc4 16384 0
rt2800usb 28672 0
rt2800lib 102400 1 rt2800usb
rt2x00usb 24576 1 rt2800usb
rt2x00lib 57344 3 rt2800lib,rt2800usb,rt2x00usb
mac80211 692224 3 rt2800lib,rt2x00lib,rt2x00usb
sha256_generic 20480 0
cfg80211 614400 3 rt2x00lib,mac80211,r8188eu
rfkill 28672 2 cfg80211
crc_ccitt 16384 1 rt2800lib
snd_bcm2835 24576 2
raspberrypi_hwmon 16384 0
bcm2835_codec 36864 0
hwmon 16384 1 raspberrypi_hwmon
snd_pcm 102400 1 snd_bcm2835
bcm2835_v4l2 45056 0
v4l2_mem2mem 24576 1 bcm2835_codec
v4l2_common 16384 1 bcm2835_v4l2
bcm2835_mmal_vchiq 32768 2 bcm2835_codec,bcm2835_v4l2
snd_timer 32768 1 snd_pcm
videobuf2_vmalloc 16384 1 bcm2835_v4l2
videobuf2_dma_contig 20480 1 bcm2835_codec
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
snd 73728 7 snd_timer,snd_bcm2835,snd_pcm
videobuf2_v4l2 24576 3 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common 45056 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
videodev 200704 6 bcm2835_codec,v4l2_common,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
media 36864 2 videodev,v4l2_mem2mem
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
fixed 16384 0
i2c_dev 20480 0
ip_tables 24576 0
x_tables 32768 1 ip_tables
ipv6 450560 26
Before manual connection :
Code: Select all
pi@Pi2-Cam-Crypte:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:93:c3:4a brd ff:ff:ff:ff:ff:ff
inet 192.168.28.105/24 brd 192.168.28.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::b9d1:d4a0:6d1c:9ee1/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether c0:25:e9:1f:7c:a9 brd ff:ff:ff:ff:ff:ff
Code: Select all
root@Pi2-Cam-Crypte:~# iwlist scan
wlan0 Scan completed :
Cell 01 - Address: 30:B5:C2:7F:46:16
ESSID:"WeeFee-2.4GHz"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
Bit Rates:130 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=0/100 Signal level=60/100
Cell 02 - Address: 18:1E:78:52:55:C8
ESSID:"Livebox-55C8"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
Bit Rates:144 Mb/s
Extra:wpa_ie=dd1a0050f20101000050f20202000050f2040050f20201000050f202
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:rsn_ie=30180100000fac020200000fac04000fac020100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD8F0050F204104A0001101044000102103B00010310470010383F384C3E3FFC39FC3C4A3F383F384C10210008536167656D636F6D10230016536167656D636F6D46617374333936355F4C42322E381024000C53475F4C42335F312E322E33104200094C4B313530353046461054000800060050F204000110110000100800020006103C0001011049000600372A000120
Quality=0/100 Signal level=23/100
Cell 03 - Address: 52:33:8E:E9:A8:71
ESSID:"orange"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.437 GHz (Channel 6)
Encryption key:off
Bit Rates:130 Mb/s
Quality=0/100 Signal level=23/100
Cell 04 - Address: BC:C3:42:68:0F:E8
ESSID:"orange"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.437 GHz (Channel 6)
Encryption key:off
Bit Rates:108 Mb/s
Quality=0/100 Signal level=23/100
Cell 05 - Address: 5C:33:8E:E9:A8:71
ESSID:"Livebox-1b65"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.437 GHz (Channel 6)
Encryption key:on
Bit Rates:130 Mb/s
Extra:wpa_ie=dd1a0050f20101000050f20202000050f2040050f20201000050f202
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:rsn_ie=30180100000fac020200000fac04000fac020100000fac020000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD210050F204104A00011010440001021011000F4C697665626F782046545448207632
Quality=0/100 Signal level=23/100
Cell 06 - Address: 72:5D:51:9B:28:25
ESSID:"SFR WiFi Mobile"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:on
Bit Rates:144 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac010000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : 802.1x
Quality=0/100 Signal level=23/100
Cell 07 - Address: E4:5D:51:9B:28:26
ESSID:"SFR_2820"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:on
Bit Rates:144 Mb/s
Extra:wpa_ie=dd1a0050f20101000050f20202000050f2040050f20201000050f202
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:rsn_ie=30180100000fac020200000fac04000fac020100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD8D0050F204104A0001101044000102103B00010310470010000000000000000000000000000000001021000D4E42365641432D4658432D72301023000D4E42365641432D4658432D72301024000D4E42365641432D4658432D72301042000C4534354435313942323832301054000800060050F2040001101100085346525F32383230100800020480103C000101
Quality=0/100 Signal level=23/100
Cell 08 - Address: 72:5D:51:9B:28:27
ESSID:"SFR WiFi FON"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:off
Bit Rates:144 Mb/s
Quality=0/100 Signal level=23/100
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
root@Pi2-Cam-Crypte:~#
After manual connection with wpa_supplicant command :
Code: Select all
pi@Pi2-Cam-Crypte:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:93:c3:4a brd ff:ff:ff:ff:ff:ff
inet 192.168.28.105/24 brd 192.168.28.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::b9d1:d4a0:6d1c:9ee1/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether c0:25:e9:1f:7c:a9 brd ff:ff:ff:ff:ff:ff
inet 192.168.28.115/24 brd 192.168.28.255 scope global noprefixroute wlan0
valid_lft forever preferred_lft forever
inet6 fe80::e289:613a:e255:1ffb/64 scope link
valid_lft forever preferred_lft forever
Code: Select all
pi@Pi2-Cam-Crypte:~ $ iwconfig
wlan0 IEEE 802.11bgn ESSID:"WeeFee-2.4GHz" Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency:2.412 GHz Access Point: 30:B5:C2:7F:46:16
Bit Rate:65 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=84/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
lo no wireless extensions.
eth0 no wireless extensions.
Does anyone know what changed about WiFi configuration between Raspbian 9 and Raspbian 10 ? Because something was working better before !
Thanks in advance.