Questions tagged [wpa]

Shortning of Wireless Protected Access, form of security for wireless networks.

26 questions
149
votes
9 answers

How do I connect to a WPA wifi network using the command line?

So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?
Ken Kinder
  • 4,250
69
votes
7 answers

How to set wifi driver settings to prefer 5 GHz channel above 2.4 GHz

Currently I'm in a new building of my university. In this building my wifi often breaks down and then restores connection again. This is really irritating since it happens a lot. Now as a coincidence there were some tech guys running around here and…
WG-
  • 1,850
25
votes
2 answers

Is there a way to make Ubuntu "forget" a network connection?

Is there a file or something that holds the data for the internet connections?
Brett Leaver
  • 251
  • 1
  • 3
  • 3
9
votes
1 answer

How to enable wireless on Ubuntu Server 18.04 via CLI?

I cannot get wpasupplicant, wireless-tools, and also lib, iwconfig (Iget ifconfig) to operate on my Server 18.04 install. I have Windows 10 on laptop. External HD with 18.04 Desktop and 18.04 Server. Wireless works fine on the other two OS, but not…
7
votes
2 answers

Unable to use WPA security when using laptop as hotspot with an Intel 3945ABG

When I use my laptop running Ubuntu 12.04 as hotspot, I am only allowed to use WEP security instead of WPA. I dual boot Ubuntu with Windows on this laptop and when I use Windows to create the hotspot I am allowed to use WPA security so it is not a…
Ben
  • 71
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
3
votes
0 answers

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={ ssid="HOMEWIFI" psk="12345678" } and I would…
ton1
  • 181
3
votes
1 answer

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: Qualcomm Atheros physical id: 0 bus info:…
horvste
  • 171
2
votes
1 answer

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 ./wpa_supplicant -i wlan0 -c /etc/p2p.conf -Dnl80211…
Giacomo
  • 21
  • 1
  • 1
  • 5
2
votes
2 answers

Generating WPA/WPA2 Key in linux bash?

How can I generate a new random wpa/wap2 key in the linux terminal? I tried pwgen but this is not generating hexadecimal values.
2
votes
0 answers

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, drops, asks for the password, over and over. This…
nbneo
  • 21
1
vote
2 answers

Ubuntu 16.04 WiFi dropping on WPA group rekeying

This issue has been bothered me for a while now. Whenever my WiFi drops, it shows this in the syslog: Jun 13 19:56:38 hp-ubuntu wpa_supplicant[1008]: wlo1: WPA: Group rekeying completed with 00:23:69:2e:53:57 [GTK=CCMP] And my WiFi does not…
Y4kuzi
  • 19
1
vote
2 answers

Can't use WiFi on Ubuntu Server 14.04 even though it appears to be connected

I've configured the WiFi SSID and key through /etc/network/interfaces as shown below: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp wpa-ssid MYWIFINAME wpa-ap-scan 1 wpa-key-mgmt WPA-PSK wpa-psk WIFIKEYGOESHERE I did not use the…
1
vote
0 answers

Connnecting to WPA Through Terminal Edimax ew-7811un error ioctl[SIOCSIWENCODEEXT]: Invalid argument

I've been trying to learn how to connect to my WPA secured wireless router for a while and no matter how much I research I can not find the fix for this error. I get the error(ioctl[SIOCSIWENCODEEXT]: Invalid argument) twice before getting a long…
1
vote
0 answers

gigabit mini pcie wifi card with AP mode

I set up a DIY router years back using a fitlet i "barebones" mini PC with a mini PCIe intel 7260 wifi card (using the iwlwifi driver) running in AP mode (bridged to the ethernet coming in from my cable modem). lots of hacks to get it to function…
nrutas
  • 121
1
2