Questions tagged [wpa]
WPA (Wifi Protected Access) is a family of security protocols for Wi-Fi networks. The current version is WPA2, also known as IEEE 802.11i.
49
questions
0
votes
1
answer
754
views
hostapd: I want wpa3 only..but enable WEP!
I start hostapd for wpa3 only auth.
interface=wlan0
bridge=br0
driver=nl80211
ssid=mysid
hw_mode=g
channel=6
wpa=2
wpa_passphrase=iforgotit
wpa_key_mgmt=SAE
rsn_pairwise=CCMP
But when I do the scan
...
1
vote
1
answer
5k
views
Can't connect to WPA2/PEAP/MSCHAPv2 enterprise wifi network without a certificate. Fedora 34
My university wifi uses WPA2 Enterprise for students to connect with their logins and passwords and I cannot do it, network manager always says the password is incorrect and prompts me for another one ...
0
votes
0
answers
102
views
Packet delay after route is added over new WiFi connection
Network Setup
STA is Ubuntu 18.04 (4.15.0-147-generic)
2x Intel 7620
Each interface is connected to a different AP in the same subnet
STA is streaming 1080p video over UDP (~15Mbits/s) using ...
0
votes
1
answer
211
views
Deactivate wpa_cli notifications
Is it possible to deactivate wpa_cli notifications/messages like <3>WPS_AP_AVAILABLE? Because it spams it, and in a VT where you have to slowly type MACs@ and bssIDs, it's really hard with those ...
2
votes
0
answers
5k
views
Static wifi configuration using /etc/network/interfaces.d and wpa_supplicant
What I'm trying to achieve
Having two different local on the same network ips for Wifi and Ethernet, respectively on a GUI-less Debian Buster 10.10.
Ethernet is working, but wpa_supplicant keeps ...
0
votes
1
answer
447
views
Raspberry Pi AP hostapd not working with WPA
I'm trying to make an AP out of my Raspberry Pi and I have a strange problem.
I have installed hostadp and dnsmasq
When I set an open network everything works but when I try to add a passphrase, only ...
0
votes
0
answers
385
views
Connect to AP using push WPS
I tried accordingly to existing topics (in SE or other websites) to connect to an AP with button WPS. wps_pbc associate successfully, dhclient gives me an internal IP successfully, but firefox loads ...
4
votes
1
answer
8k
views
Generate a QR-code to log into Wireless (wifi) with WPA encryption
I installed a command-line QR-code generator:
apt install qrencode
I used the following format, so the QR scanner knows what to do with the content:
WIFI:T:WPA;S:<your Wi-Fi network name>;P:<...
0
votes
0
answers
2k
views
How to connect kali linux to a wifi using WPA2 Enterprise, using PEAP method?
I am using Kali Linux 2019.4, kernel version 5.3.0-kali2-amd64 and I have trouble connecting to my school wifi, which uses WPA2 Enterprise and uses PEAP (Protected Extensible Authentication Protocol). ...
1
vote
0
answers
1k
views
wpa_supplicant: try connecting to wifi without password
when using wpa_supplicant and trying to connect to a wifi having a proper password the common approach would look somehow like that
add_network
set_network 0 ssid "myssid"
set_network 0 psk "...
3
votes
2
answers
7k
views
Skip scanning in wpa_supplicant
When we execute command wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf for connecting to AP, wpa_supplicant follows following steps:
1. wpa_supplicant requests the kernel driver to scan ...
13
votes
2
answers
16k
views
Cannot connect to WiFi with nmcli, although secrets are provided
I am using nmcli on ArchLinux (version 1.14.5dev+17+gba83251bb-1 from the official package repository) to connect to wifi. This works perfectly for all wireless networks apart from this one Vodafone ...
1
vote
1
answer
2k
views
Can't connect to WiFi with WPA-EAP
I'm trying to connect to a WiFi with WPA-EAP, but it always fails with error:
failure to add network: invalid message format
Full log from journalctl:
NetworkManager[668]: <info> device (...
4
votes
1
answer
5k
views
wpa_supplicant says network is disabled
When trying to connect to a network (specifically a WPA2 enterprise network for a university) with wpa_supplicant on Gentoo Linux, the network is shown as disabled when the flag is not set.
My ...
0
votes
0
answers
240
views
Disallowed characters in WPA/WEP SSID and Password?
I'm writing a script that deals with SSIDs and passwords for wifi connections.
I'm keeping SSIDs/Passwords in a textfile and I want to delineate them with something other than a space, since both ...
7
votes
2
answers
3k
views
Can I connect to a hidden wifi without knowing the ESSID?
Is it theorically possible to connect to a hidden wifi without giving the ESSID?
The way I connect to a hidden wifi requires to give an SSID (nmcli refuses to have a blank 802-11-wireless.ssid field)....
11
votes
2
answers
7k
views
How to view the WPA2 PEAP certificate offered by an AP?
I have to connect to a WPA2 Enterprise network which only works if I don't verify the certificate. I would prefer not to do this, because this way anyone can see the MSCHAPv2 messages.
The first step ...
1
vote
0
answers
85
views
Raspbian Lite not connecing to internet
I'm running Raspbian Jessie Lite (tty only) and attempting to connect to the internet using wpa_supplicant. The error I receive is WRONG_KEY and 4-Way Handshake failed, however, I know my passphrase ...
1
vote
2
answers
7k
views
How to enable WPA/WPA2 in NetworkManager?
I just reinstalled ArchLinux on my Thinkpad. I am a bit puzzled that the network-manager-applet only supports WEP encryption for wifi networks.
I already installed wpa_supplicant and wireless_tools ...
0
votes
0
answers
2k
views
Eduroam on netctl
My organisation offers a large script to setup eduroam connection and I don't like executing large scripts for which I don't know what they do and I cannot revert things that they do here in Archlinux....
0
votes
1
answer
2k
views
dhclient connecting to wlan0 after wpa-supplicant setup polls infinitely
I just wanted to try out how to connect to my WIFI WPA2 via terminal.
Therefore I created "/etc/wpa_supplicant"
network = {
ssid = "nameOfWifi"
psk = "passwordNumberThatIFoundOnTheWifiHardware"
...
9
votes
1
answer
7k
views
wpa_cli level command always fails
I'm trying to set the debug level of wpa_cli using the level command.
It doesn't matter if I use interactive mode or direct commands the level command always fails.
wpa_cli -i wlan0 level 1
=> ...
46
votes
2
answers
64k
views
Hiding passwords in wpa_supplicant.conf with WPA-EAP and MSCHAP-v2
My wpa_supplicant.conf looks like this:
network={
ssid="Some name"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="my-user-id"
password="(clear text password here)"
ca_cert="/usr/share/...
1
vote
1
answer
5k
views
Cannot connect to wifi with wpa_supplicant
I just installed Arch Linux on my laptop. So far I have only been able to connect to wired networks. When I try to connect to my wifi network with wpa_supplicant -D nl80211,wext -i wlp3s0 -C <(...
1
vote
1
answer
3k
views
Connecting to WPA network in FreeBSD
For whatever reason I am having a very annoying time just trying to connect to a network in FreeBSD. So the question is how would someone manually connect to a wireless WPA network in FreeBSD 11.0? ...
0
votes
1
answer
2k
views
How to use hashcat on CentOS 7 to crack WPA with wordlist?
If we have a CentOS 7 desktop and a big wordlist and a WPA out.ivs capture (--ivs with airodump-ng), how can we use hashcat (without installing it via the package manager) to use the wordlist to "...
1
vote
1
answer
2k
views
Failure starting Wlan connection with wpa_supplicant?
I'm brand new to server configuration. I'm just a developer, so forgive me if I don't understand what you're talking about, if I haven't posted enough information, or if I don't understand your ...
1
vote
1
answer
325
views
Connect to WiFi without storing password (Raspbian)
I notice WPA_GUI has saved my WiFi password to /etc/wpa_supplicant/wpa_supplicant.conf. The unit I'm trying to set up is a shared use system on enterprise WiFi that logs on with a user's account, so ...
2
votes
0
answers
289
views
Connect wirelessly to WPA2-Enterprise network via shell
I need to connect to a WPA2-Enterprise connection wirelessly through the shell but cannot figure out how to do it. I have researched and have found many results for WPA2-Personal and even WPA2-...
14
votes
2
answers
8k
views
What are the most reliable wifi commandline tools? iw vs wpa_cli vs nmcli
I am exploring a few low-level tools for connecting to wireless networks, and I found the following tools (with useful documentation/tutorial links):
iw
wpa_cli
nmcli
I cannot seem to find a ...
1
vote
1
answer
96
views
Using "--ivs" is a good way for making a smaller output?
airodump-ng --ivs --channel 1 --write output --bssid VV:II:CC:TT:II:MM mon0
https://en.wikipedia.org/wiki/Initialization_vector
Question: If we use "--ivs" to make smaller outputs, will we be still ...
0
votes
1
answer
230
views
When do I know I captured the WPA 4 way handshake?
When running:
airodump-ng --ivs --channel 1 --write output --bssid VV:II:CC:TT:II:MM mon0
Question: When do I know I captured the WPA 4 way handshake?
2
votes
1
answer
633
views
Problems with connecting to wifi
Yesterday I have set up wifi connection on my BananaPro with bananian, a linux distribution based on debian 7. The connection was set up with 'wpa-passphrase' and then I have typed those information ...
1
vote
1
answer
3k
views
wpa_supplicant unable to set essid and other parameters from config file
I'm not able to use wpa_supplicant to set the essid and other parameters on the wireless interface.
Using -Dwext throws ioctl[SIOCSIWENCODEEXT]
$ sudo wpa_supplicant -B -i wlan0 -Dwext -c ...
1
vote
0
answers
292
views
Manually connect to Wi-Fi access point (AP) despite preconfigured APs in wpa_supplicant
I have special demands and need to manually control which Wi-Fi access point I connect to on my Linux machine. The machine is a Raspberry Pi running Raspbian (Debian) but I don't think the hardware ...
1
vote
0
answers
897
views
How can settings for a WPA2 enterprise network be determined?
Is it possible to inspect the output of some command to determine the right settings for a given WPA2 Enterprise wifi network? If so, how?
I've just been through the process of getting my university ...
2
votes
0
answers
695
views
dhclient appears to give address but interface does not get assigned it
I am trying to connect to wifi using wpa_supplicant. I use this config:
network={
ssid="guest"
#psk="guest"
psk=<numbers>
}
I also tried this config:
update_config=1
network={
ssid="...
1
vote
0
answers
594
views
Correctly populating wpa_supplicant.conf from iwlist scan results
I am wondering how I can tell that my wpa_supplicant.conf file is both sufficient and valid.
When running
iwlist scan
outputs
ESSID:"wifi"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.412 GHz (...
0
votes
1
answer
428
views
Cannot connect to WPA2, but connecting to WEP is fine
I'm trying to set up a connection to a WPA2-Personal network on a barebones Debian install. I've installed the firmware for my wireless adapter just fine (ipw2200) and can connect to open wireless ...
1
vote
0
answers
752
views
Constant prompt for WPA2 password in Fedora
I asked on the Fedora forums but no one responded so I am asking here.
I am on Fedora 20 with Gnome 3. My machine is the Dell XPS 13 which has an Intel 7260 rev 6b wireless card. I connect to my ...
0
votes
1
answer
1k
views
Why doesn't WPA handshake occur?
[root@notebook /opt/aircrack-ng] dmesg -C
[root@notebook /opt/aircrack-ng] aireplay-ng --test wlan0
ioctl(SIOCSIWMODE) failed: Device or resource busy
ARP linktype is set to 1 (Ethernet) - expected ...
0
votes
1
answer
3k
views
wpa_supplicant and signal strength
I use wpa_supplicant to handle a connection to specific SSID. I added the wpa_supplicant to default runlevel in order to start it at the boot time.
I have this question however; Is it any program, ...
15
votes
2
answers
83k
views
WiFi error wpa_supplicant
I have a problem with the wpa_supplicant program.
My problem is about the use of wpa_cli which needs wpa_supplicant. Error when I'm executing sudo wpa_cli:
Could not connect to wpa_supplicant
The ...
1
vote
0
answers
958
views
dhcp settings wifi radar linux mint
I am trying to connect to my wifi network. Using the standard connection manager in linux mint 13 xfce was not a good idea. No wifi networks are shown there. and when I left-click on it, the wireless ...
3
votes
1
answer
16k
views
Configure wpa_supplicant.conf to Hidden SSID using WPA2 / PEAP / MS-CHAPv2
Here the specifics, I have also the CA certificate chain installed on the machine
1 - hidden SSID (non-broadcast)
2 - The authentication protocol used is PEAP, which is a username and password ...
4
votes
1
answer
20k
views
How to make wpa_supplicant automatically log into file
I am trying to troubleshoot a wireless connection on FreeBSD.
I am manually editing the /etc/wpa_supplicant.conf file
So far the wpa_cli status only tells me that it's Unauthorized.
I'd like to get ...
8
votes
2
answers
12k
views
escape characters in /etc/network/interfaces
I want to be sure that whatever string I pass into the line wpa-ssid "abc" in /etc/network/interfaces won't be used to break out of the configuration.
All I can find in the manual is that \ can be ...
10
votes
3
answers
92k
views
How to connect to Wi-Fi network in Arch Linux?
tl;dr After reading the Arch wiki articles on installation, wireless setup and WPA supplicant, trying the suggestions below and a host of forum threads, I'm unable to get either of the following cards ...
2
votes
2
answers
11k
views
wpa_passphrase must be 8..63 characters
I'd like to connect to wireless network via command line in Linux.
When doing it I've stuck with this issue:
$ wpa_passphrase NETWORK_SSID NETWORK_PASSWORD
Passphrase must be 8..63 characters
The ...