Questions tagged [wpa-supplicant]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
0 answers
4k views

wpa_supplicant roaming to better signal

I have a router (with access pont) and an access point connected using an ethernet cable. Both access points have the same SSID, password, encryption,... I tried to use the wpa_supplicant package. ...
deuseux12's user avatar
  • 171
1 vote
0 answers
1k views

wpa_supplicant removing all listed networks

I'm using wpa_supplicant with connmand over Centos 7. When I start wpa_supplicant either as system service or manually, and with debug enabled, wpa_supplicant list all BSSID near my computer. Then, ...
Juan Garcia's user avatar
1 vote
0 answers
1k views

Create wpa_supplicant.conf from a Mac's preferred network list

Can I generate or export a wpa_supplicant.conf file from the preferred network list on my Mac?
i.o's user avatar
  • 11
6 votes
2 answers
19k 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
1 answer
1k views

Wicd+wpa_supplicant how to: NOT use certificates (PEAP+MSCHAP)? Enable logging?

I'm using Debian 8 (Jessie) with LDXE, Wicd, and wpa_supplicant, to try to connect to my work's WiFi network. The network uses PEAP and MSCHAP, but it does not use certificates. When I leave the ...
feuGene's user avatar
  • 105
3 votes
2 answers
4k views

wpa_passphrase with hex-encoded SSID

How can I generate a hex password based on a hex SSID? Explanation I use the following command to generate a hex value from a unicode string: $ echo -n "→ MyUnicodeSSID ←" | tr -d "\n" | od -A n -t ...
lszrh's user avatar
  • 567
0 votes
1 answer
7k views

Connect to eduroam over wire: nl80211: Driver does not support authentication/association or connect commands

I have a problem with connecting to eduroam network on wired connection. I thought that eduroam only works as wireless network, but apparently my institution also uses eduroam 802.1x authentication on ...
nuoritoveri's user avatar
0 votes
2 answers
626 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
1 answer
3k views

Wlan with wpa_supplicant under NixOS?

How to set up networking (wlan) with wpa_supplicant on NixOS? Whenever I try to connect to my local wlan network, I get CONN_FAILED as reason, which is a bit uninformative. It also tells me that my ...
musicmatze's user avatar
1 vote
1 answer
4k views

WPA Supplicant reconnect after signal drop?

I have a headless server (Ubuntu Server 14.04 LTS) which I configured to connect to my WPA-protected wifi network at boot using the accepted answer in the link below (tl;dr: run wpa_supplicant from /...
ridgek's user avatar
  • 25
1 vote
0 answers
93 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
2 votes
0 answers
3k views

wpa_cli failing to connect to WPS enabled WiFi

I am trying to connect to a Netgear arlo basestation which communicates to it's network cameras via WiFi. The connection is done via WiFi Protected Setup (WPS). I can successfully connect a camera to ...
Christian's user avatar
  • 193
0 votes
1 answer
93 views

static IP holds good even after changing network to dynamic

I'm using wpa_supplicant as a client to connect to an AP. When i'm trying to change the wireless connection from STATIC to DHCP(dhclient is invoked using the below command with leases file[dhclient-...
wireless_learner's user avatar
35 votes
2 answers
37k 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
0 votes
1 answer
2k views

In Ubuntu 14.04, how to disable wpa_supplicant looking for peer to peer (p2p) networks?

CVE-2015-1863 - people can maybe break into your computer from anywhere in radio range, by sending specially crafted P2P network management packets. The disclosure says you can mitigate the ...
rescdsk's user avatar
  • 851
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
2 votes
1 answer
689 views

Does wpa_gui need wpa_supplicant to initialize first to work properly?

I am using Linux on a custom board based on the Freescale MCIMX6Q-SDB (armv71). I installed wpa_gui, a GUI for wpa_supplicant, on the custom board. I'd like to know if I have to initialize ...
akubi's user avatar
  • 131
0 votes
2 answers
2k views

Can one “wpa_supplicant” support Ethernet LAN and WLAN?

The product I’m working on supports Ethernet only, and we are planning to support WLAN as well. I’m trying to figure out whether same wpa_supplicant can support both of Ethernet and WLAN or we have to ...
Cathy Liao'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
0 answers
897 views

wpa_supplicant commands on openwrt

I'm trying to port a program to openwrt. Everything works fine except wpa_supplicant. I have connected to it using wpa_cli and i have discover that for many commands such as 'scan', 'scan_results', '...
Acampoh's user avatar
  • 31
16 votes
2 answers
13k views

How can I download the certificate of a wireless AP using 802.1X?

As far as I understand, wireless access points using WPA-Enterprise (i.e. WPA plus 802.1X) can send a public key certificate to a client during connection setup. The client can verify this certificate ...
sleske's user avatar
  • 23.1k
5 votes
2 answers
3k views

Retrieve wpa_supplicant configuration generated by NetworkManager

I'm trying to debug a NetworkManager-powered wireless connection. It works when I feed wpa_supplicant with a custom wpa_supplicant.conf file written by me, but when I configure NetworkManager with the ...
Giovanni Mascellani's user avatar
1 vote
0 answers
315 views

How do I hide a ad-hoc wifi netwok on linux?

I'm creating a mesh network with batman-adv and using wpa_supplicant for the ad-hoc network. I do not want this ad-hoc network to be visible to others (on their list of available networks and such). ...
user3465593's user avatar
0 votes
1 answer
773 views

How do I limit configure WPA supplicant to scan for 11g channels only?

In order to reduce the scanning time, I'd like to limit the scanning to 11g only My current list of channels # ifconfig wlan0 list regdomain :regdomain 0 country US anywhere -ecm Channel 1 : 2412 ...
zabumba's user avatar
  • 269
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
4 votes
1 answer
11k views

Make wpa_supplicant ignore server certificate trust

How do I make wpa_supplicant accept any server certificate for PEAP MSCHAPv2 without having to manually put the public key in the client config?
Monstieur's user avatar
  • 466
0 votes
1 answer
1k views

Unable to connect with wpa_supplicant

I try to connect with wifi (WPA2) using wpa_supplicant root@bamt-miner:~# iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: AC:F1:DF:24:93:D6 Protocol:802....
Leonardo's user avatar
  • 101
1 vote
1 answer
4k views

Where is wpa_supplicant started and how do you change config file (on Debian)?

I am working with Debian. I know that wpa_supplicant is being started during boot. Where is it being started from? Also, I want to change the config file that wpa_supplicant is using. I know it's ...
PICyourBrain's user avatar
1 vote
0 answers
520 views

BAMT Edimax wireless adapter join wpa2 network

I have managed to get my Edimax EW-7811Un wireless adapter registered and the correct driver installed, but need some help getting it connected to my WPA2 PSK network. BAMT is based on debian and I'...
atrueresistance's user avatar
1 vote
1 answer
6k views

How do I configure my wpa_supplicant to match these?

How do I configure my wpa_supplicant (on FreeBSD) to match the windows params in the picture? So far I have tried this in /etc/wpa_supplicant.conf : ctrl_interface=/var/run/wpa_supplicant ...
zabumba's user avatar
  • 269
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
7 votes
1 answer
2k views

Where can I find a full list of wpa-* options for the interfaces file?

I'm looking for an exhaustive list of wpa-* options that can be used in the /etc/network/interfaces file. The Debian wiki has a how-to-use page here: https://wiki.debian.org/WiFi/HowToUse, which ...
MatthewD's user avatar
  • 343
0 votes
1 answer
147 views

wpa_supplicant unexpectedly running on server

I discovered that wpa_supplicant is running on some of my CentOS 6.4 servers, without having been explicitly declared in the chkconfig setup. What can be causing this ? $ chkconfig --list | grep ...
David Ramirez's user avatar
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
1 answer
1k views

Changing WPA supplicant configuration on dd-wrt

I installed dd-wrt on my Fonera (old model), and I'm trying to use it as an ethernet-wlan adapter for a PC without WiFi (using it in client-mode). I've configured everything following a step-by-step ...
G B's user avatar
  • 81
1 vote
0 answers
212 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
790 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
5 votes
3 answers
47k views

Unable to connect to wifi with wpa_supplicant

I try to connect with wifi using wpa_supplicant from command line. I use Ubuntu 12.04.1, and wpa_supplicant 0.7.3 Here is output of "iwlist wlan0 scan" related to AP I try connect to: 2: ...
Rodnower's user avatar
  • 2,189
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
0 votes
1 answer
7k views

Error: "failed to connect to wpa_supplicant - wpa_ctrl_open no such file or directory" using netcfg with wpa_supplicant

I'm trying to set up netcfg so that I can finish installing Arch Linux (using the instructions from the Beginners' Guide and netcfg) and I passed over what was meant to be a short step. Open wifi-menu,...
user1576628'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
5 votes
2 answers
21k views

How to autorun wpa_supplicant on Debian startup

I'd like to run wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant.conf on Debian startup (runlevels 2-5). I found some vague instructions from a related question that said to put a script in /etc/...
Dr Kitty's user avatar
  • 544
2 votes
1 answer
203 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
3 votes
1 answer
8k views

How can i configure my wpa_supplicant.conf?

How can i configure my wpa_supplicant.conf? I am using OpenWRT in my TP-link WR841N in mode STA. But I can not connect to SMC ! I want connect to SMC by wpa_supplicant! But I know it's possible in ...
Frederico Vaz's user avatar
2 votes
1 answer
6k views

Reconfiguring a WiFi Access Point's wireless settings through WPS?

As you may know, WiFi Protected Setup (WPS) has recently been broken. I downloaded and tested Reaver-WPS, the tool that implements the WPS attack. The tool's README file states: Reaver performs a ...
MiniQuark's user avatar
  • 671
1 vote
1 answer
2k views

wpa_supplicant wlan debug RaLink RT2760

I'm attempting to use a RaLink RT2760 Wireless 802.11n 1T/2R Cardbus. This card auto-configures beautifully under Ubuntu 11.04, but I have a need for 10.04 LTS server, so I'm re-imaging. I configure ...
Alec Wenzowski'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,938
2 votes
0 answers
777 views

wpa_supplicant loops between GROUP_HANDSHAKE and COMPLETED: Intel Wifi 5100 & Belkin

I'm using Ubuntu Studio 10.10 x64. I want to get wireless networking going manually. My wireless networking works successfully in Windows 7 x64. I've also posted this question at http://ubuntuforums....
SamStephens's user avatar
0 votes
1 answer
252 views

Addressing a host from both internal and external networks

I have a fairly standard home network set-up with a router and a couple machines on the internal network (with private IP addresses 10.0.0.x). One of these machines is running my subversion server, ...
Grzenio's user avatar
  • 2,967