I'm stating in Ubuntu and I couldn't config my pci wifi card. It is seeing my network, but, when I call to connect it runs for fews seconds trying to connect and call again for the password (the password is writted right...).
My device is a Tp-link Wn881wd Atheros AR9287.
When I look at terminal "lspci" it returns the informations about the hardware.
I follow the @Otacon answer Example @otacon but at the step of run the "wpa_supplicant" it show this message bellow. Any tip?
#my terminal response to "wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_conf.conf"
root@isaque-desktop:/home/isaque# wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_conf.conf
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
enp0s31f6 Link encap:Ethernet Endereço de HW 70:.......
lo Link encap:Loopback Local
– Iron Banker Of Braavos Feb 23 '18 at 22:27inet end.: ........ So I try use "-i lo", next I try "-i enp0s31f6", and after "-i enp0s31f6", no success.... Any other tip?
enp0s31f6 no wireless extensions.
lo no wireless extensions.
enp0s20f0u12 no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:off/any
– Iron Banker Of Braavos Feb 23 '18 at 23:01Mode:Managed Access Point: Not-Associated Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off
root@isaque-desktop:/home/isaque# wpa_supplicant -D wext -i wlp2s0 -c /etc/wpa_supplicant/wpa_conf.conf
– Iron Banker Of Braavos Feb 24 '18 at 13:06Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWSCAN]: Device or resource busy wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 wlp2s0: Trying to associate with 5c:e3:0e:02:7b:fb (SSID='Homesweethome' freq=2437 MHz) wlp2s0: Associated with 5c:e3:0e:02:7b:fb wlp2s0: CTRL-EVENT-DISCONNECTED bssid=5c:e3:0e:02:7b:fb reason=0
wlp2s0: CTRL-EVENT-DISCONNECTED bssid=5c:e3:0e:02:7b:fb reason=0 ioctl[SIOCSIWSCAN]: Device or resource busy wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 wlp2s0: Trying to associate with 5c:e3:0e:02:7b:fb (SSID='Homesweethome' freq=2437 MHz)
And repeats......
– Iron Banker Of Braavos Feb 24 '18 at 13:08/etc/wpa_supplicant/wpa.conf
but this is the wrong file - there should be an existing file/etc/wpa_supplicant/wpa_conf.conf
(note the filename iswpa_conf.conf
and notwpa.conf
). You can find syntax examples online to make sure you are putting the info correctly. Also instead ofifconfig
to list adapters, you can useiwconfig
on the command line to list wifi adpters only - anything starting withenp0*
as per your examples above is an ethernet adapter and not relevant to this discussion. – flith Jul 05 '18 at 06:50