Skip to main content

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.

Filter by
Sorted by
Tagged with
13 votes
2 answers
56k views

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 ...
PHP Learner's user avatar
  • 2,828
11 votes
1 answer
3k views

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, ...
Nathan's user avatar
  • 111
8 votes
2 answers
12k views

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 ...
mariaNueller's user avatar
8 votes
2 answers
2k views

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 ...
John Bradford's user avatar
7 votes
3 answers
12k views

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 ...
Ally's user avatar
  • 71
7 votes
3 answers
34k views

"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 ...
g.krastev's user avatar
  • 173
6 votes
3 answers
7k views

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 ...
Ethan Turkeltaub's user avatar
6 votes
1 answer
16k views

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 ...
IoT's user avatar
  • 181
6 votes
0 answers
5k views

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 ...
Gareth McCaughan's user avatar
5 votes
2 answers
38k views

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 ...
Nik Reiman's user avatar
  • 1,196
5 votes
1 answer
33k views

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 ...
Balaji's user avatar
  • 51
5 votes
1 answer
8k views

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 ...
user123456's user avatar
  • 2,408
5 votes
2 answers
2k views

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": ...
rustyx's user avatar
  • 937
5 votes
0 answers
1k views

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. ...
zabumba's user avatar
  • 283
4 votes
3 answers
11k views

Cannot downgrade wpa_supplicant to fix Wi-Fi connection to a corporate network (WPA2/PEAP with no CA certificate) in Ubuntu 18.04

I recently upgraded my Ubuntu from 16.04 to 18.04 (clean install, full wipe). Now I can no longer connect to the corporate network at my office (perhaps related to these bugs: bug 1, bug 2). What ...
Laurens's user avatar
  • 253
4 votes
1 answer
10k views

Help setting up wpa_supplicant

I've been struggling to setup wireless on my headless server: Ubuntu 16.04.2 LTS. $ sudo wpa_supplicant -Dnl80211 -iwlp3s0 -c/etc/wpa_supplicant/wpa_supplicant.conf Successfully initialized ...
icicleking's user avatar
4 votes
2 answers
5k views

accidently deleted wpa_supplicant

I accidently deleted wpa_supplicant package and now I cant connect to the internet, not through wifi and not through LAN cable. What can I do? Thanks
user627272's user avatar
4 votes
1 answer
9k views

What are the command-line alternatives to Network Manager (nm-cli), Wicd (wicd-curses), wpa_supplicant for managing wireless? [closed]

OK, I know that I am crossing out the most popular choices out there, but there is a reason for that. I am working on a BeagleBone Black running an ultra light version of Ubuntu 13.04 and I currently ...
George's user avatar
  • 417
4 votes
1 answer
6k views

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 ...
Dougui's user avatar
  • 241
4 votes
1 answer
819 views

WiFi Hotspot Disable Neighbor discovery

I am using WiFi hotspot feature of Ubuntu 18.04 to create a hotspot for my devices. I need to prevent different devices on the network from contacting each other. More specifically, I have two phones ...
Human's user avatar
  • 78
4 votes
0 answers
3k views

Wireless Authentication Problem [20.04]

Wireless Authentication Problem on Ubuntu 20.04 Issue Description: I am unable to connect to any wireless network, so far I have tested 3 networks on both 5, and 2.4GHz bands. Every test I have ...
GlennCottam's user avatar
3 votes
1 answer
4k views

How do I use iwd in Ubuntu 19.04?

I'd like to replace wpa_supplicant with iwd and use it for my wifi networking. This is so that I can use and test Network Manager using iwd. I can't seem to find instructions around relating to ...
psiphi75's user avatar
  • 956
3 votes
3 answers
10k views

wpa_supplicant CTRL-EVENT-SCAN-FAILED error

I have two WiFi cards, as I use one as a hotspot. My /var/log/syslog is filled with wpa_supplicant errors: Jul 2 07:50:44 ubuntu1 wpa_supplicant[1347]: wlp5s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1 ...
Googlebot's user avatar
  • 1,807
3 votes
2 answers
7k views

Can't install wpa_supplicant on Ubuntu Server

I'm trying to get Ubuntu Server set up and have got it installed, however it does not recognize my wired network adapter. It is at this point I should say that I am completely new to Linux. It does ...
iammandalore's user avatar
3 votes
2 answers
2k views

eduroam randomly drops connection

As the title says, when on eduroam my internet connection drops after some time (usually after a couple of minutes when I have a lot of traffic, e.g. zoom meetings, when there is less traffic it might ...
0x539's user avatar
  • 279
3 votes
2 answers
4k views

`drm: intel_pipe_config_compare .. mismatch in ips_enabled (expected 1, found 0)` Error on boot [15.10 on a Macbook Pro 11,1]

I just got Ubuntu 15.10 installed on my mac machine. Initially everything works well. Following the help.ubuntu.com tutorial on fixing the touchpad (for utopic), I installed a bunch of things and did ...
Archy Will He 何魏奇's user avatar
3 votes
1 answer
2k views

How to connect with Ubuntu 18.04 to WPA3?

After researching and not coming to a solution or idea, I am going to ask the community here. Is it possible to upgrade packages in Ubuntu 18.04 LTS to connect with NetworkManager from the GUI to ...
luckyrings's user avatar
3 votes
0 answers
823 views

Cannot connect Kubuntu 18.04 to Enterprise WPA2 PEAP authentication

I'm having trouble connecting to my institution's wifi on Kubuntu 18.04. The laptop I'm using can connect just fine when using Windows 10. I can also connect using my username and password on my ...
FrostedCookies's user avatar
3 votes
0 answers
3k views

ifup fails to bring up interface every other time

I am getting strange issue where ifup fails every other run. Here is the output as you can see it is in the pattern of fail, success, fail etc...: bakalolo@User1:~/bashScripts$ sudo ifdown wlp3s0 &...
Lightsout's user avatar
  • 978
3 votes
0 answers
2k views

How to add new network block to wpa_supplicant in command line?

I want to add network block into /etc/wpa_supplicant/wpa_suppplicant.conf file. The original file looks like, ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ...
ton1's user avatar
  • 181
3 votes
0 answers
1k views

`lshw -c network` showing drivers that I blacklisted

I'm trying to get a usb dongle based on an 8192CU chip to work in Ubuntu server. I've been all over and have done lots of things to try to get this working with wpa_supplicant to no avail. My latest ...
user1898041's user avatar
3 votes
1 answer
171 views

Windows Blue Screen Like Problem in Ubuntu 13.10 [closed]

Facing this weired problem in ubuntu 13.04. Even after upgrading to 13.10 the problem exists. Its appear like windows blue screen. Suddenly this screen appears. I had to push the Powerbutton for ...
user215429's user avatar
3 votes
1 answer
382 views

Xubuntu 13.10 And Ubuntu 13.10 both show WPA Supplicant error?

Why am I getting this error. How do I fix it? sudo lshw -C network *-network description: Wireless interface product: AR9485 Wireless Network Adapter vendor: ...
horvste's user avatar
  • 171
2 votes
2 answers
19k views

Connection does not exist with nmcli even if scanned with iwlist

I use to run the command to connect to the wifi network m<essid nmcli -p con up id myessid Sometimes and for unknown reason, `nmcli` gives me `Error: Connection 'myessid' does not exist even ...
user123456's user avatar
  • 2,408
2 votes
1 answer
23k views

Wifi P2P wpa_supplicant - failed to create p2p device interface

I'm trying to configure wifi p2p connection with ubuntu, but I have some issues. In particular I followed this guide and this one Almost everything seems ok, but when I lunch the command: sudo ./...
Giacomo's user avatar
  • 21
2 votes
1 answer
7k views

Fatal error during compilation of wpa_supplicant. Don't know what to do

I'm a relative noob. Trying to add WiFi Direct to my 12.04 installation on an old netbook. I was following this advice: How to get wifi direct( wifi p2p) on my HP DM1 laptop? First, I downloaded ...
Little me's user avatar
  • 105
2 votes
2 answers
4k views

wpa_supplicant/OpenSSL connection problems after 22.04 upgrade

My office WiFi uses WPA & WPA2 Enterprise Security with PEAP authentication, and MSCHAPv2 for inner authentication. Since upgrading to Ubuntu 22.04, I am unable to connect to my office WiFi. Here'...
John Chrysostom's user avatar
2 votes
1 answer
4k views

after ubuntu 19.10 upgrade, Wifi network-manager not working

I have Dell m3800 with intel wireless 7260. I upgraded laptop from Ubuntu 19.04 to 19.10 via do-release-upgrade and network-manager no longer works. My network card is fine if I boot into Windows or ...
justa user's user avatar
2 votes
1 answer
3k views

How to remove BSSID from wpa_cli blacklist?

I've searched everywhere and couldn't find a manual that would mention the blacklist command let alone how to remove an AP from the blacklist.
user avatar
2 votes
0 answers
537 views

Ubuntu 22.04 LTS - WPA3-Enterprise (PEAP) Support

I've been searching the web for hours and can't seem to find an answer anywhere. Does or will Ubuntu 22.04 LTS support WPA3-Enterprise? Currently, it does not seem to allow me to select WPA3-...
Wanna-BeWiFiGuy's user avatar
2 votes
1 answer
392 views

Is it possible to use wpa passphrase hash in cloud-init's network-config file?

As the title states I'd like to obfuscate my wifi's credentials and know that wpa supplicant has wpa_passphrase to do this. My question is can I place wpa_passphrase's hashed output in the entry for ...
Skinnx86's user avatar
2 votes
0 answers
622 views

Ubuntu 20.04 constantly drops wifi

Since a few days, my laptop with an intel 9560ac and Ubuntu 20.04 (livepatch on and up to date), started constantly dropping the wifi. Every 5 seconds on average. It asks for the password, connects, ...
nbneo's user avatar
  • 21
2 votes
1 answer
2k views

How can I set the access-point priority in a netplan configuration?

Which is the correct netplan-property for defining priority between access-points? I'm using access point configurations like this: # /etc/netplan/netplan.yaml ... wifis: wlo1: access-...
rymdenanfaller's user avatar
2 votes
0 answers
2k views

Cannot connect to wifi on Ubuntu 18.04.4 LTS

I am trying to get a Wi-Fi connection on a CLI only server. I have ethernet working. I followed this guide but it will not connect. https://docs.ubuntu.com/core/en/stacks/network/network-manager/...
user2524142's user avatar
2 votes
0 answers
377 views

Accessing wpa_supplicant using wpa_cli without sudo

I am using wpa_supplicant service to connect with wifi networks in ubuntu 18.04. Its configuration file is as below. ctrl_interface_group=sudo ap_scan=1 fast_reauth=1 update_config=1 p2p_disabled=1 ...
Aman Turate's user avatar
2 votes
1 answer
2k views

Auto Connect to WPA Personal WiFi on startup | Ubuntu Server 18.04

I've set up Ubuntu Server 18.04.4 LTS on a PC to install a medical software for use in my clinic in Ethiopia. I wanted to connect it to a WPA Personal wireless network. Since I don't have an Ethernet ...
dagem nebeyu's user avatar
2 votes
0 answers
1k views

No way to stop wpa_supplicant when shutdown Kubuntu

I'm a beginner on Linux. And I have installed Kubuntu, did the updates, but I can't shutdown cleanly (I have to shut down manually). When I shutdown Kubuntu, I get a black screen with kubuntu's logo ...
Pierre's user avatar
  • 21
2 votes
1 answer
595 views

Is there a way to set miracast over infrastructure mode for p2p interface

Hi all I just wanted to know is it possible to enable a p2p-dev-wlan0(p2p interface) for miracast over infrastructure mode. I think from wpa_cli we can set ap_vendor_elements to append the beacon and ...
geeker's user avatar
  • 196
2 votes
1 answer
1k views

CPU Frequency Error. Ubuntu on Raspberry Pi

I have Ubuntu 18.04.1 installed on my Raspberry Pi and two USB devices attached: One small bluetooth adapter and one small Wifi adapter. I am connecting to the wifi network with wpa_supplicant like ...
JJ Abrams's user avatar
  • 275
2 votes
0 answers
2k views

How do I force NetworkManager to encrypt stored passwords?

In ubuntu 14.04 NetworkManager stores the passwords for networks in the file /etc/NetworkManager/system-connections/<ESSID_of_AP> in plaintext. I'm not sure if it relies on wpa_supplicant for ...
blanket_cat's user avatar
  • 1,524