Command iw does not find network devices

Thanks @Mr_Magoo

These are some tests I did:

find /lib/modules/$(uname -r) -type f -name '.ko' | grep cfg80211
/lib/modules/5.15.0-69-generic/kernel/net/wireless/cfg80211.ko

sudo lsmod | grep cfg80211
cfg80211 970752 0 <- zero = no adapter uses

lsmod | grep rtl
btrtl 24576 1 hci_uart
bluetooth 688128 12 btrtl,btqca,btintel,hci_uart,btbcm,bnep

About your research, only the code from GitHub - kelebek333/rtl8188fu: RTL8188FU driver for Linux 4.15.x ~ 6.0.x was enabled to be installed in my machine, but unfortunately, it was made for another chipset variant.

I learned, with all these steps, that the Realtek is not a good manufacturer for Linux and iw is not guilt.
Thanks to you @Mr_Magoo, @Ocka and @Aravisian

1 Like

Today I changed the wifi adapter based in a filth Realtek to a Qualcomm Atheros AR9227 and the iw command worked fine:

iw dev
phy#0
Interface wlp2s0
ifindex 3
wdev 0x1
addr c4:6e:1f:5b:89:bb
ssid FREITAS
type managed
channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz
txpower 13.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.