Article 6E097 Issue with getting wlan0 interface to work

Issue with getting wlan0 interface to work

by
AstroProgrammer
from LinuxQuestions.org on (#6E097)
I am trying to get WIFI access on my DE10 nano board which is running debian buster. The kernel version is 5.10.50-lts. The wifi device i am using is the RT5370 chipset. The issue is that the wlan0 device is not visible with 'ifconfig -a'. The output is shown below:

Code:ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4043:34ff:fe2e:f5bb prefixlen 64 scopeid 0x20<link>
ether 42:43:34:2e:f5:bb txqueuelen 1000 (Ethernet)
RX packets 168 bytes 22755 (22.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 247 bytes 64167 (62.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 39 base 0xa000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

sit0: flags=128<NOARP> mtu 1480
sit txqueuelen 1000 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The kernel module that is of interest is rt2800usb and is loaded in. the command 'lsmod' is shown below:

Code:Module Size Used by
rt2800usb 28672 0
rt2800lib 110592 1 rt2800usb
crc_ccitt 16384 1 rt2800lib
rt2x00usb 20480 1 rt2800usb
rt2x00lib 49152 3 rt2800lib,rt2800usb,rt2x00usb
rtl8188ee 106496 0
rtl_pci 32768 1 rtl8188ee
rtlwifi 94208 2 rtl_pci,rtl8188ee
mac80211 626688 6 rt2800lib,rtl_pci,rt2x00lib,rt2x00usb,rtl8188ee,rtlwifi
libarc4 16384 1 mac80211
cfg80211 602112 3 rt2x00lib,mac80211,rtlwifi
I can see that my usb wifi device is indeed plugged in with the command 'lsusb', the output is shown below:
Code:Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubIn the directory /lib/firmware i have installed various iwlwifi firmware.

The command 'lshw -c network' results in:
Code: *-network
description: Ethernet interface
physical id: 2
logical name: eth0
serial: 42:43:34:2e:f5:bb
size: 100Mbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=Jan_2016 duplex=full link=yes multicast=yes port=twisted pair speed=100Mbit/sThe command 'lspci' does not return any result.

The command 'rfkill list' returns:
Code:rfkill: cannot open /dev/rfkill: No such file or directory
rfkill: cannot read /dev/rfkill: Bad file descriptor
The command 'iwconfig' returns:
Code:lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.The command 'ifconfig wlan0 up' returns:
Code:wlan0: ERROR while getting interface flags: No such deviceFrom 'dmesg' i found a section that might be of interest:
Code:[ 262.173356] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 262.204790] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 262.330974] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 309.244598] usbcore: registered new interface driver rt2800usbCan anyone help me resolve this issue? If any other info is needed let me know. Thanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments