Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211255

Re: Wpa_supplicant Error: No such device

From Bert Riding <reriding@xmission.com>
Newsgroups linux.debian.user
Subject Re: Wpa_supplicant Error: No such device
Date 2019-07-11 23:30 +0200
Message-ID <yiONA-2LU-9@gated-at.bofh.it> (permalink)
References <yiuOR-7sc-1@gated-at.bofh.it>
Organization XMission http://xmission.com/

Show all headers | View raw


You could try using the actual device for the -i option (interface)...like 
wlan0 or, in the new notation wlp3s0, and use nl80122 as the -D 
option (driver).

On Thu, 11 Jul 2019 02:10:02 +0200, Patrick Bartek wrote:

> A problem when trying to associate with a wireless router
> (WPA2). Get the following error when manually executing:
> 
> wpa_supplicant -i wlx<hexnumber>
> -c /etc/wpa_supplicant/wpa_supplicant.conf
> 
> Could not read interface wlx<hexnumber> flags: No such device
> nl80211: Driver does not support authentication/association or connect
> commands
> nl80122: [can't read my own writing on this one]
> 
> Wpa_supplicant fails whether I use the -B (background) switch or not.
> 
> Here's the wpa_supplicant.conf file:
> 
> 
> ctrl_interface=DIR=/run/wpa_supplicant
> update_config=1
> 
> network={
> 	ssid="ROUTERNAME"
> #	scan_ssid=1
> #	key_mgmt=WPA-PSK
> #	psk="SECRETPASSPHRASE"
> 	psk=longhexnumber
> }
> 
> I've tried with and without the commented lines.  Same results.
> 
> Here's the wifi portion of my /etc/network/interfaces
> 
> allow-hotplug wlx<hexnumber>
> iface wlx<hexnumber> inet dhcp
> 	wpa-ssid ROUTERNAME
> #	wpa-key-mgmt WPA-PSK
> #	wpa-group TKIP CCMP
> #	wpa-psk SECRETPASSPHRASE
> 	wpa-psk longhexnumber
> 
> The wireless is a Rosewill USB RNX-N180UBEv3. It is UP after boot and
> scanning wifi routers works.  System tries to associate to router at
> boot, but fails.  Correct kernel module (rtl8192eu) is loaded.
> 
> Anyone got an idea of why wpa_supplicant is failing?  And how to fix
> it?  All commands issued as root.
> 
> FYI: I have an atypical Stretch install: No desktop environment,
> window manager only; sysvinit, but systemd libraries still installed.
> Boots to terminal, login there, then startx, if I want a GUI.  Wifi UP
> at terminal and scanning works. This is not a laptop.  Wired ethernet
> works and has always (12 years) worked.
> 
> Thanks.
> 
> B

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Wpa_supplicant Error: No such device Patrick Bartek <patrick.bartek@gmail.com> - 2019-07-11 02:10 +0200
  Re: Wpa_supplicant Error: No such device Bert Riding <reriding@xmission.com> - 2019-07-11 23:30 +0200
    Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-12 04:30 +0200
      Re: Wpa_supplicant Error: No such device Bert Riding <reriding@xmission.com> - 2019-07-12 08:50 +0200
        Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-12 21:40 +0200
          Re: Wpa_supplicant Error: No such device David Wright <deblis@lionunicorn.co.uk> - 2019-07-12 23:10 +0200
            Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-13 03:00 +0200
      Re: Wpa_supplicant Error: No such device Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-12 09:00 +0200
        Re: Wpa_supplicant Error: No such device Patrick Bartek <nemommxiv@gmail.com> - 2019-07-12 21:50 +0200

csiph-web