Skip to main content

All Questions

0 votes
0 answers
120 views

How to connect Linux to a WPA2-EAP-CCMP Wi-Fi network?

Summary: after having gone through tons of documentation pages, I still cannot connect my Debian to a WPA2-EAP-CCMP Wi-Fi The NIC is correctly configured (driver-wise): # iwconfig wlx00e04c45ad46 ...
WoJ's user avatar
  • 3,263
0 votes
0 answers
60 views

Buildroot: wpa_supplicant cannot connect to ESP32 SoftAP

I have a SoftAP set up using ESP32-S3. Clean example from ESP-IDF SDK, no changes on my end. I also have a MilkV-Duo board running buildroot with RTL8188 network card over USB. Here's the state of ...
piotr-de's user avatar
0 votes
1 answer
356 views

Wifi Dongle on Armbian, nl80211 driver doesnt work

I have problems to get a wifi-USB-dongle working on a linux (Armbian 22.05.0-trunk with bleeding edge Linux 5.16.20-rockchip64). the file /etc/wpa_supplicant/wpa_supplicant-wlan0.conf looks like: ...
Stefan's user avatar
  • 21
0 votes
0 answers
265 views

Run Wifi (Intel AX210) with Single Antenna

Is it possible to run an Intel AX210 chip using a single antenna? I've got an embedded project where a single antenna would be optimal. With a single antenna, I get almost perfect data connectivity, ...
johnnyb's user avatar
  • 113
0 votes
1 answer
457 views

wpa_supplicant not connecting at boot but manually

I generated an embedded Linux system with Yocto Kirkstone, which has all the required modules for WiFi over an RTL8192 dongle. When I start the device, wpa_supplicant fails connecting the network with ...
BDeliers's user avatar
  • 123
0 votes
1 answer
1k views

getting error while configuring wpa_spplicant in WPA3 SAE mode

I configured as below in wpa_supplicant2.conf: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 sae_pwe=2 sae_groups=19 20 21 24 25 update_config=1 network={ ssid=req_SSID proto=...
yakanna's user avatar
1 vote
1 answer
506 views

wpa_supplicant: connect to mobile tethering but not to the router

Also my phone works successfully as a client of this Wi-Fi router, and even now I tether from this phone that is a client of this Wi-Fi. Wired connection (ethernet) from the same laptop to this router ...
Vitaly Zdanevich's user avatar
3 votes
1 answer
8k views

wpa_supplicant disconnects with reason=3 on connection

I am using a raspberry pi 4 to connect to my college network (so using WPA-Enterprise using PEAP) using wpa_supplicant when I run the command, sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant....
gfaster's user avatar
  • 31
2 votes
0 answers
894 views

wpa_supplicant needs a manual reassociation every once in a while

I recently reinstalled a Debian 10 on my laptop. Before that, wireless connection to my home AP worked fine (no latency, no disconnection...). But since the reinstallation, when my laptop is connected ...
Youyou's user avatar
  • 21
6 votes
2 answers
16k views

wpa_cli choose interface p2p-dev-wlan0 automatically when -i is not specified

I want to use wpa_cli to connect with AP. If I use wpa_cli without -i option, wpa_cli will choose interface p2p-dev-wlan0 which does not really exist. And network list between p2p-dev-wlan0 and wlan0 ...
CodePurin's user avatar
  • 475
8 votes
1 answer
7k views

How to re-enable a network that has been TEMP-DISABLED in wpa_supplicant?

In wpa_suppicant, a network can receive a sort of temporary "blacklisting" whereby wpa_supplicant won't try to connect to it. This happens in particular if authentication to the AP fails several times ...
Thanatos's user avatar
  • 2,512
1 vote
1 answer
1k views

Can't reconnect to Wi-Fi after disconnecting

I use Arch Linux and this is the command I usually use to disconnect from the Internet: sudo wpa_cli -i wlp2s0 -p /var/run/wpa_supplicant\ GROUP\=wheel/ terminate. To connect again, I use: sudo ...
Hanlon's user avatar
  • 549
5 votes
1 answer
5k views

WiFi noise measurement

What I want to do: I want to do some experiments with devices such as a Raspberry Pi in environments, where there is noise in the 2.4GHz and 5GHz band. What I tried so far: My idea was to simply use ...
oh.dae.su's user avatar
  • 318
0 votes
1 answer
557 views

Rapsbery Pi stretch lite not connecting to WiFi Network

I am running the latest November release of Raspian Stretch Lite on my Pi. I created a /etc/network/interfaces file with this information whenever I plug in my USB wifi dongle into the USB interface ...
shaun's user avatar
  • 111
2 votes
1 answer
7k views

How do you find possible values for freq_list and/or scan_freq in wpa_supplicant.conf?

The wpa_supplicant.conf file can have parameters freq_list and scan_freq. How do I find what are the possible values for either or both of these parameters? freq_list=5500 5520 ... scan_freq=5500 ...
mcarans's user avatar
  • 133
1 vote
3 answers
8k views

how to delete SSID data from Debian wifi interface?

I have Debian distribution and when I want to reset the WIFI connection I run the following command: ifconfig wlan0 down and I also delete the wpasupplicant.conf file but when starting the network ...
flashDisk's user avatar
1 vote
1 answer
7k views

Raspberry Pi 3 Ad-Hoc Wireless network with wpa_supplicant/WPA2 configuration

I need help with securing Ad-Hoc network with wpa_supplicant. I've been trying to setup Ad-Hoc wireless network between Raspberry PIs 3 using the onboard WiFi adapter. pi@raspberrypi3bare:~ $ iw ...
greggigon's user avatar
6 votes
2 answers
20k views

Connect wlan interface to specific BSSID without knowledge about SSID

I do know the BSSID and passphrase of my wireless router and I want to connect my wireless interface to it without caring about the SSID. Thus, I do want it to work even after the SSID of the wireless ...
Jens Wirth's user avatar
0 votes
2 answers
636 views

RT5572 can authenticate using WPA2, but can't get an IP address from DHCP

I have a system running open embedded Linux with the Ralink RT5572 wireless usb card. I have the driver installed along with wpa_supplicant and I need to be able to connect to a WPA2 secured network. ...
Smurph269's user avatar
1 vote
0 answers
94 views

What is the fastest way to switch from one AP to another in Linux

I need to switch between APs quickly - in less than 1 second if possible. Using nmcli or wpa_supplicant the best I can do is about 12 seconds. Does anyone know a method to reduce the time? Thanks.
fubuyuan's user avatar
35 votes
2 answers
39k views

WiFi authentication times out

Since today I have this very annoying issue that the WiFi on my HP ProBook is not authenticating anymore. I haven't changed any settings and my mobile phone connects to the WiFi fine. Also trying ...
Bart Friederichs's user avatar
5 votes
1 answer
13k views

wpa_supplicant - detecting that my password is incorrect?

If I specify an incorrect password when connecting to a WiFi network is there anyway to detect that the reason I can't connect is the incorrect password (rather than one of the many other possible ...
George Hawkins's user avatar
1 vote
2 answers
17k views

How to connect to a specific Wi-Fi band (2.4 GHz or 5 GHz) or channel from wpa_cli or wpa_supplicant in Linux?

I am using the Wi-Fi chip on my board. I've successfully connected to Wi-Fi in the 2.4 GHz band, but for the 5 GHz Wi-Fi band I need to select the channel or band before connecting. What extra ...
pankil's user avatar
  • 11
1 vote
1 answer
1k views

How can wpa_cli distinguish between WEP-Shared and WEP-Open?

If I setup an access point as WEP-Shared or WEP-Open it shows up as: wpa_cli scan Selected interface 'wlan0' OK wpa_cli scan_results Selected interface 'wlan0' bssid / frequency / signal level / ...
parsley72's user avatar
  • 1,054
2 votes
1 answer
1k views

Linux ad hoc network wpa_supplicant frequency

One of the terms I've seen defined in the wpa_supplicant for Linux devices using an ad hoc network is "frequency=2412", and I have to admit its function is obvious, but I was wondering if anyone could ...
Rich's user avatar
  • 123
0 votes
1 answer
3k views

wpa_supplicant passphrase, can it be normal password?

I have a basic question which has been bugging me for quite some time. I will update my router to WPA2 soon (about time) but I also want to learn to use wpa_supplicant in case I need it. I found out ...
p1xel's user avatar
  • 510
2 votes
3 answers
5k views

While using ad-hoc networking, how to I force nodes to use the same cell IDs (bssid)?

I have Debian/Ubuntu hosts that I connect via an ad-hoc network with the following settings: board:~# cat /etc/network/interfaces auto wlan0 iface wlan0 inet static address 10.0.0.2 ...
user avatar
1 vote
0 answers
215 views

Connecting to a WPA network in Linux with a USB dongle

I'm trying to connect my computer to a wireless network in Linux Mint. I used the Windows Wireless Driver program to load the Windows XP drivers for my USB dongle, a Cisco / Linksys AE1200. After that ...
Chris Burnham's user avatar
4 votes
0 answers
809 views

Computer-to-Computer network between OS X and Linux

I want to make a connection point to point via wifi between Mac and Linux. What I did was: I have created Computer-To-Computer network in OS X I have set manually an ip address for Mac, 10.0.0.1/255....
xwgou's user avatar
  • 41
4 votes
3 answers
10k views

wpa_supplicant : Blacklist wireless networks by BSSID

I am currently using wpa_supplicant to connect to my wireless network. The wireless network is extended with at least 30 different access points having the same SSID, and it takes a lot of time to ...
Axel Isouard's user avatar
11 votes
3 answers
20k views

wpa_supplicant for dual WLAN

I've got wlan0 and wlan1. Each interface should connect to a different SSID. I would like to use wpa_supplicant for both. I can put the two networks in /etc/wpa_supplicant.conf, but how do I tell ...
user1219721's user avatar
2 votes
1 answer
205 views

How should I troubleshoot a problematic wireless connection on Linux?

I recently purchased a netgear 150 usb wireless dongle for use with my 11.10 Xubuntu amd64 system. Using the network-manager interface, I can see local wireless networks and enter the authentication ...
Gearoid Murphy's user avatar
10 votes
2 answers
33k views

How to connect to a WiFi from command line under Ubuntu without .conf file?

I can connect to my WiFi out of the shell by doing: nano wireless-wpa.conf typing: ctrl_interface=/var/run/wpa_supplicant network={ ssid="my_router_id" scan_ssid=1 key_mgmt=WPA-PSK psk="...
JohnnyFromBF's user avatar
  • 4,988
1 vote
1 answer
193 views

Wpa supplicant suddenly stopped working

Recently my wireless stopped working on my Debian testing system. It just doesn't connect. The best I get (only after a reboot) is that it says it did connect, but failed to get IP address. But ...
Grzenio's user avatar
  • 2,977