I had an usb wireless adapter.
Code:
lsusb | rg -i wireless
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Driver had been installed.
Code:
git clone https://github.com/lwfinger/rtl8188eu.git
cd rtl8188eu
make
sudo make install
Check wireless interface:
Code:
sudo iwconfig
lo no wireless extensions.
enp6s0 no wireless extensions.
wlxe0e1a99f3bc6 unassociated ESSID:"" Nickname:"<WIFI@REALTEK>"
Mode:Auto Frequency=2.412 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/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Bring up the wireless interface.
Code:
sudo ip link set dev wlxe0e1a99f3bc6 up
Search ESSID
Code:
sudo iwlist wlxe0e1a99f3bc6 scan | grep ESSID
ESSID:"myhost"
I knew the password ,connect with it.
Code:
wpa_passphrase myhost xxxx | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf
sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlxe0e1a99f3bc6
I run into the issue:
Code:
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlxe0e1a99f3bc6 disabled_11b_rates=0
wlxe0e1a99f3bc6: Failed to initialize driver interface
How to fix it?