LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-05-2023, 03:30 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 257

Rep: Reputation: Disabled
Why can't connect the wifi --nl80211: Driver does not support authentication/association or connect commands?


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?
 
Old 09-05-2023, 07:19 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,200

Rep: Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536
What's your authentication? Are you using networkmanager or wpa_supplicant?

Also, there's a staging driver for the rtl8188eu in my 5.15.63 kernel. Kernel drivers are usually a higher standard than github ones.
 
1 members found this post helpful.
Old 09-10-2023, 10:34 AM   #3
jeremy31
Member
 
Registered: Dec 2018
Distribution: Linux Mint 20.3 Ubuntu 20.04
Posts: 32

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
What's your authentication? Are you using networkmanager or wpa_supplicant?

Also, there's a staging driver for the rtl8188eu in my 5.15.63 kernel. Kernel drivers are usually a higher standard than github ones.
The one in the kernel is actually based on that github one https://git.kernel.org/pub/scm/linux...d1ac2ca0c5e32b
 
Old 09-10-2023, 10:44 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,200

Rep: Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536Reputation: 2536
Quote:
Originally Posted by business_kid
What's your authentication? Are you using networkmanager or wpa_supplicant?
You really needd to be a bit more forthcoming about your setup
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] New message at boot -- nl80211: kernel reports: Authentication algorithm number required ceed Slackware 4 12-30-2020 10:57 AM
nl80211: Driver does not support authentication/association or connect commands saturn1955 antiX / MX Linux 1 12-03-2020 06:47 AM
[SOLVED] ERROR: nl80211 driver initialization failed mohtashim12 Linux - Newbie 2 07-31-2017 12:08 PM
nl80211: Driver does not support authentication/association or connect commands nuoritoveri Debian 0 09-01-2015 01:44 PM
[SOLVED] Building hostapd for nl80211 driver with libnl-1.1 Darshan P Linux - Software 0 10-31-2011 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration