Ralink RT5572 and Network Manager

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
cbrace
Level 2
Level 2
Posts: 62
Joined: Sun Jan 22, 2012 7:23 am
Location: Amsterdam
Contact:

Ralink RT5572 and Network Manager

Post by cbrace » Thu Dec 06, 2018 12:19 pm

Hi all,

I recently picked up a dual-band USB wireless adapter for my laptop running Mint. It was advertised as Linux and Rasberry Pi compatible, always a good sign :)

Plugging it into a USB port, the device is immediately recognized, and I can select my WiFi AP in Network Manager via the network device name, wlxdc4ef40491c3 (!)

But it fails to connect. No authentication error. It simply gives up after a minute or two.

I configured wap_supplicant to connect to my AP. That works fine.

lsusb:
Bus 001 Device 011: ID 148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter
wpa_supplicant.config:
network={
ssid="edge"
psk="**************"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP TKIP
}
Then:
$ sudo wpa_supplicant -i wlxdc4ef40491c3 -c wpa_supplicant.config
Successfully initialized wpa_supplicant
wlxdc4ef40491c3: SME: Trying to authenticate with ac:64:62:80:5e:0a (SSID='edge' freq=5180 MHz)
wlxdc4ef40491c3: Trying to associate with ac:64:62:80:5e:0a (SSID='edge' freq=5180 MHz)
wlxdc4ef40491c3: Associated with ac:64:62:80:5e:0a
wlxdc4ef40491c3: WPA: Key negotiation completed with ac:64:62:80:5e:0a [PTK=CCMP GTK=TKIP]
wlxdc4ef40491c3: CTRL-EVENT-CONNECTED - Connection to ac:64:62:80:5e:0a completed [id=0 id_str=]
$ sudo dhclient -v wlxdc4ef40491c3
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlxdc4ef40491c3/3e:17:99:b0:ae:7d
Sending on LPF/wlxdc4ef40491c3/3e:17:99:b0:ae:7d
Sending on Socket/fallback
DHCPREQUEST of 192.168.2.6 on wlxdc4ef40491c3 to 255.255.255.255 port 67
DHCPNAK from 192.168.2.254
DHCPDISCOVER on wlxdc4ef40491c3 to 255.255.255.255 port 67 interval 4
DHCPREQUEST of 192.168.2.9 on wlxdc4ef40491c3 to 255.255.255.255 port 67
DHCPOFFER of 192.168.2.9 from 192.168.2.254
DHCPACK of 192.168.2.9 from 192.168.2.254
bound to 192.168.2.9 -- renewal in 43133 seconds.
Any ideas as to why NM can't manage this?

I'm running the LMDE 3 version of Mint.
$ uname -a
Linux boom 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

Post Reply

Return to “Wireless”