Manually Configuring Wireless Adapter
Says "Failed to bring up wlan0."
-- the device shows up in linux
/root# lsusb
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC
Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-- from dmesg
[ 5075.329407] usb 1-1.4: USB disconnect, device number 6
[ 5081.375883] usb 1-1.1: new high-speed USB device number 7 using dwc2
[ 5081.464673] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=1a2b, bcdDevice= 2.00
[ 5081.464694] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5081.464708] usb 1-1.1: Product: DISK
[ 5081.464717] usb 1-1.1: Manufacturer: Realtek
[ 5082.082041] usb 1-1.1: USB disconnect, device number 7
[ 5082.374876] usb 1-1.1: new high-speed USB device number 8 using dwc2
[ 5082.463798] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=c820, bcdDevice= 2.00
[ 5082.463819] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5082.463832] usb 1-1.1: Product: 802.11ac NIC
[ 5082.463842] usb 1-1.1: Manufacturer: Realtek
[ 5082.463888] usb 1-1.1: SerialNumber: 123456
-- wpa_supplicant.conf
/media/fat/Scripts# cat /media/fat/linux/wpa_supplicant.conf
network={
ssid="Happy"
psk="$password"
}
-- the device's radio can see my wifi
Code: Select all
/media/fat/Scripts# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: FA:DA:0C:XX:XX:31
ESSID:"DIRECT-vE-XBR-43X800E"
Protocol:IEEE 802.11gn
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
Bit Rates:144 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD330050F204104A00011010440001021049000600372A0001201011000B5842522D343358383030451054000800070050F2040001
Quality=21/100 Signal level=4/100
Extra:fm=0001
Cell 02 - Address: 08:9E:08:XX:XX:1E
ESSID:"Happy"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:on
Bit Rates:144 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=72/100 Signal level=1/100
Extra:fm=0001
Cell 03 - Address: 08:9E:08:XX:XX:50
ESSID:"Happy"
Protocol:IEEE 802.11AC
Mode:Master
Frequency:5.745 GHz
Encryption key:on
Bit Rates:867 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=39/100 Signal level=24/100
Extra:fm=0001
Cell 04 - Address: 08:9E:XX:F5:XX:11
ESSID:"Happy"
Protocol:IEEE 802.11AC
Mode:Master
Frequency:5.745 GHz
Encryption key:on
Bit Rates:867 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=22/100 Signal level=15/100
Extra:fm=0001
Cell 05 - Address: 08:9E:08:XX:XX:1A
ESSID:"Happy"
Protocol:IEEE 802.11AC
Mode:Master
Frequency:5.745 GHz
Encryption key:on
Bit Rates:867 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=69/100 Signal level=57/100
Extra:fm=0001
Cell 06 - Address: 62:45:B7:XX:XX:27
ESSID:""
Protocol:IEEE 802.11b
Mode:Master
Frequency:5.825 GHz
Encryption key:on
Bit Rates:0 kb/s
Quality=90/100 Signal level=52/100
Extra:fm=0001
Cell 07 - Address: 88:DE:A9:XX:XX:67
ESSID:""
Protocol:IEEE 802.11AC
Mode:Master
Frequency:5.745 GHz
Encryption key:on
Bit Rates:867 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD520050F204104A0001101044000102104700102221020304050607080988DEA90C6E671049000600372A0001201054000800060050F2040001101100164449524543542D726F6B752D3439362D434239304246
Quality=17/100 Signal level=11/100
Extra:fm=0001
Cell 08 - Address: 0A:9E:08:XX:XX:51
ESSID:""
Protocol:IEEE 802.11AC
Frequency:5.745 GHz
Encryption key:on
Bit Rates:867 Mb/s
Extra:rsn_ie=30140100000fac040100000fac040100000fac080000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : unknown (8)
Quality=36/100 Signal level=25/100
Extra:fm=0001
# interface file auto-generated by buildroot
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
udhcpc_opts -t 10
wpa-ssid Happy
wpa-psk $password
gateway 192.168.86.1
dns-nameservers 1.1.1.1 192.168.86.1
pre-up [ -f /media/fat/linux/wpa_supplicant.conf ]
pre-up wpa_supplicant -s -B -P /run/wpa_supplicant.$IFACE.pid -i $IFACE -D nl80211,wext -c /media/fat/linux/wpa_supplicant.conf
post_up sleep 2
post-down killall -q wpa_supplicant
/media/fat/Scripts# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 unassociated Nickname:"WIFI@RTL8821CU"
Mode:Managed Frequency=5.745 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
/media/fat/Scripts# ./check_drivers.sh
eth0 [02:03:04:05:06:07]: (up)
lo [00:00:00:00:00:00]: (unknown)
wlan0 [00:13:25:xx:xx:68]: 8821cu (down)
its using 8821cu driver
I can get this device to work on linux without issue, but it seems to have an issue on the mister. I understand mister is scaled down version but its still linux, it should work.
I can get it to work 100% if make/modprobe were on the mister os; Is there a way to download linux packages from a repo on mister?
Or do you have any idea how to get this to work right?