2

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

1 Answers1

1

In 16.04 the default wlan0 device does not exist, instead there is some fancy name like wlp2s0. Use this command to determine your wlan interface name:

ifconfig

After that correct your wpa supplicant init command:

wpa_supplicant -D wext -i  wlp2s0 -c /etc/wpa_supplicant/wpa_conf.conf

Remember, the wlp2s0 interface name comes from your ifconfig command, change it accordingly.

kukulo
  • 2,045
  • 12
  • 22