11RC4 and WiFi issues - wpa_supplicant issues ioctl's with invalid argument
Riccardo Mottola <[email protected]> Wed, 17 Jun 2026 10:56:34 +0200
| Newsgroups | gmane.os.netbsd.current |
|---|---|
| Message-ID | <[email protected]> |
Hi all! I decided to install 11RC4 on my HP 620 laptop. It mostly seems to work in the first day of use, but I couldn't get wireless to work with wpa_supplicant (my configurations files are the same as before). I launch wpa_supplicant and get an error. Scanning works. Sometimes at least. WiFi card is: disc$ dmesg | grep ral0 [ 1.015503] ral0 at pci2 dev 0 function 0: Ralink Technologies RT3090 802.11b/g/n (rev. 0x00) [ 1.015503] ral0: interrupting at ioapic0 pin 17 [ 1.015503] ral0: 802.11 address e0:2a:82:5d:49:2c [ 1.015503] ral0: MAC/BBP RT3090 (rev 0x3213), RF RT3020 (MIMO 1T1R) [ 4.108356] ral0: autoconfiguration error: error 2, could not read firmware file ral-rt2860 [ 1.021500] ral0 at pci2 dev 0 function 0: Ralink Technologies RT3090 802.11b/g/n (rev. 0x00) [ 1.021500] ral0: interrupting at ioapic0 pin 17 [ 1.021500] ral0: 802.11 address e0:2a:82:5d:49:2c [ 1.021500] ral0: MAC/BBP RT3090 (rev 0x3213), RF RT3020 (MIMO 1T1R) [ 1.012878] ral0 at pci2 dev 0 function 0: Ralink Technologies RT3090 802.11b/g/n (rev. 0x00) [ 1.012878] ral0: interrupting at ioapic0 pin 17 [ 1.012878] ral0: 802.11 address e0:2a:82:5d:49:2c [ 1.012878] ral0: MAC/BBP RT3090 (rev 0x3213), RF RT3020 (MIMO 1T1R) (interesting is the single timestamp out of line) lspci: 02:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe scanning did work yesterday, but not today as I am trying to write this mail :) disc$ sudo ifconfig ral0 list scan ifconfig: The interface must be up before scanning. disc$ sudo ifconfig ral0 up disc$ sudo ifconfig ral0 list scan <empty> What worries me is this though: disc$ sudo wpa_supplicant -Dbsd -iral0 -c /etc/wpa_supplicant.conf Successfully initialized wpa_supplicant ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument <crl-c> ^Cral0: CTRL-EVENT-DSCP-POLICY clear_all ral0: CTRL-EVENT-DSCP-POLICY clear_all ral0: CTRL-EVENT-TERMINATING dmesg shows no further errors! However, now, I can run list scan and see networks sudo ifconfig ral0 list scan SSID BSSID CHAN RATE S:N INT CAPS <correct name - hidden> <hidden for mail> 7 54M 47:0 100 EP RSN WME <correct name - hidden> <hidden for mail> 8 54M 41:0 100 EP RSN WME <correct name - hidden> <hidden for mail> 11 54M 59:0 100 EPS RSN WME <correct name - hidden> <hidden for mail> 2 54M 29:0 100 EPS <correct name - hidden> <hidden for mail> 5 54M 63:0 100 EP RSN WME I did hide the SSID's and BSSID's for this mail, but they look correct. Riccardo