Questions tagged [wpa-supplicant]

wpa_supplicant is a free software implementation of an IEEE 802.11i supplicant for Linux, FreeBSD, NetBSD and Microsoft Windows. In addition to being a full-featured WPA2 supplicant, it also implements WPA and older wireless LAN security protocols.

WPA and full IEEE 802.11i/RSN/WPA2
WPA-PSK and WPA2-PSK (pre-shared key) ("WPA-Personal")
WPA with EAP (e.g., with RADIUS authentication server) ("WPA-Enterprise")
key management for CCMP, TKIP, WEP (both 104/128 and 40/64 bit)
RSN: PMKSA caching, pre-authentication
153 questions
13
votes
2 answers

wpa_supplicant does not connect with "ioctl[SIOCSIWENCODEEXT]: Invalid argument" error!

Ubuntu Server 12.04 is installed on my desktop system (in text-mode, no X-Window is available) and I have no wired Ethernet connected, just wireless network is available. I use TP-Link TL-WN723N USB wireless adapter to connect to wireless…
11
votes
1 answer

Ubuntu 13.10: wpa_supplicant crashes on login

Every time I log in, and sometimes multiple times in a row, I get a error message. I don't seem to have any problems with the functionality of my computer. I'm running ubuntu 13.10 on a google pixel, has a Qualcomm Atheros AR9462 wireless network…
Nathan
  • 111
10
votes
2 answers

How to add a wifi connection if I'm not within range

I'm refurbishing laptops (Ubuntu 20.04) to hand out to kids as part of combating digital exclusion during COVID-19. Obviously I don't want to give them sudo access, however, I can't enter their houses to get onto WiFi. How do I add a new connection…
8
votes
2 answers

How do I install wpa-supplicant on an offline server?

Alright, I have an Ubuntu server on which I couldn't connect to my WPA2 secured Wi-Fi network. Apparently I need wpa-supplicant to be able to connect to it (see How do I connect to a WPA wifi network using the command line?), but ironically I can't…
7
votes
3 answers

"Could not set interface wlan0 flags (UP): Input/output error" RT3290

I've encountered a very puzzling issue with my WiFi card on Ubuntu. After reboot it's always disabled and there is no way to bring it back other than suspending or shutting down the laptop. Status according to Network Manager is "device not ready".…
g.krastev
  • 173
7
votes
3 answers

How to deal with wpa_supplicant error?

I'm using Ubuntu 11.10 and I've copied the wpa_supplicant configs from another computer running Ubuntu 11.10, which is connected to my home network. The non-connecting device has an Intel wireless card which uses the ipw2100 driver and the wireless…
Ally
  • 71
6
votes
1 answer

AP mode with wpa_supplicant

I am trying to set the Wifi adapter (Qualcomm Atheros Sparrow 802.11ad) in Ubuntu 16.10 with Kernel v4.8 to work in AP mode using wpa_supplicant v2.4. I do the following steps: I create a configuration file in /etc/wpa_supplicant.conf with the…
6
votes
0 answers

How can I upgrade to the latest wpa_supplicant?

I have (more precisely, my employer has) a machine running Ubuntu 14.04 LTS, which comes with wpa_supplicant version 2.1. There are improvements in wpa_supplicant 2.5 which I believe may help with some wifi issues this machine is…
6
votes
3 answers

Can't connect to wireless on Ubuntu Server

I'm having some trouble connecting to a wireless network on Ubuntu Server 12.10. I have the driver installed with ndiswrapper, I can scan with iwlist wlan0 scan, and I'm trying to use wpa_supplicant to configure the interface. However, iwconfig is…
5
votes
1 answer

How to connect to a WPA2 enterprise with nmcli in a non interactive mode?

I am able to connect with nmcli to a WPA enterprise network only in an interactive mode launched by nmcli con edit id MYNAME nmcli refuses to change 802-1x values while not in edit mode: nmcli c modify MYNAME wifi-sec.key-mgmt wpa-eap Error:…
user123456
  • 2,478
5
votes
0 answers

How do I share my wlan0 internet connection to eth0 using command line and config files?

I understand how it is done using the GUI (1, 2, 3), but I need to do MANUALLY using linux command (iptables, ebtables ...). I have been struggling with this for days, and I can seem to get it right. What are the configuration steps and commands to…
zabumba
  • 283
5
votes
2 answers

Need to restart network interfaces and kill wpa_supplicant, how to fix?

My workplace uses 802.11x authentication for their WiFi network, and several times per day I get booted from the network and need to do the following: Disable networking sudo kill -9 Restart networking At this point, the machine will connect to…
Nik Reiman
  • 1,216
5
votes
1 answer

Connecting to wireless networks from command line

I need to write a shell script which connects to one of the two available wi-fi connections. One is a un secure connection and the other is secure connection. My question has 2 parts- How to connect to the un-secure (un-encrypted and no password…
Balaji
  • 51
5
votes
2 answers

Set up Wi-Fi country/regulatory domain with Netplan-generated wpa_supplicant conf

My current /etc/netplan/wifi.yaml looks like this: network: version: 2 renderer: networkd wifis: wlan0: dhcp4: yes optional: true access-points: "myssid": "mypw" Then netplan generate produces…
rustyx
  • 1,066
  • 15
  • 17
4
votes
1 answer

Not able to suspend because of Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory

I recently updated to Ubuntu 17.10 and, we I try to suspend, I have this in /var/log/syslog : Nov 3 03:24:29 oscar systemd[1]: Reached target Sleep. Nov 3 03:24:29 oscar systemd[1]: Starting Suspend... Nov 3 03:24:29 oscar systemd-sleep[9867]:…
Dougui
  • 241
1
2 3
10 11