The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [wpa]

WiFi Protected Access (WPA) is a wireless encryption standard.

Filter by
Sorted by
Tagged with
46
votes
2answers
51k views

What's the difference between `wpa-roam` and `wpa-conf` in the /etc/network/interfaces file?

I posted a question previously on how to set up a static IP address on the rpi and eventually figured out, along with some others, that the answer was to change wpa-roam to wpa-conf when pointing to /...
13
votes
7answers
25k views

WiFi disconnects after period of time on Raspberry Pi, doesn't reconnect

I was finally able to get my Raspberry Pi connected to a hidden SSID network (WPA2 Personal) using the below settings (not using wpa_supplicant.conf). However, after a few hours it disconnects and ...
8
votes
4answers
8k views

Pi 3 Raspbian “stretch” (testing) disables wifi

I have a raspberry pi 3 (which has internal WiFi), running raspbian. I decided to run it as "testing", by changing the apt list. Now, I can't use WiFi. Whenever I use wpa_supplicant, it complains ...
8
votes
3answers
47k views

Problem wpa_supplicant rapsberry pi 2

I've been having lots of problems with the configuration of a wireless stick in the raspberry pi 2 uname -a: Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/...
8
votes
4answers
11k views

How do I configure wpa_supplicant with default iPhone SSID?

Newer iPhones will broadcast an SSID in hotspot mode as such: My Name\342\\\200\\\231\\s iPhone I observed this SSID in the GUI. When I grab the SSID via the command line: $ sudo iwlist wlan0 scan ...
7
votes
2answers
35k views

Connecting to universities WPA2-Enterprise Wifi Network

As the title suggests, this question is very closely related to this question. And following the instructions by Lucas Goossen, I'm able to get a inet addr on my wlan0 (confirmed by ifconfig wlan0), ...
7
votes
1answer
47k views

Why is wpa_cli producing error “Could not connect to wpa_supplicant: wlan0 - re-trying”?

I am running 4.9.13-4-ARCH #1 SMP Sat Mar 11 14:16:01 MST 2017 armv7l GNU/Linux and I am using systemd-networkd for the network in conjunction with wpa_supplicant, obviously. Running wpa_cli -i wlan0:...
7
votes
4answers
27k views

Wifi works, ssh can connect, but cannot connect out to the internet, cannot ping internal machines

I have a strange configuration problem with Wifi. When I connect a ethernet cable to my router, network eth0 is configured and I can access all internet resources. However when I use a Wifi dongle, I ...
7
votes
2answers
2k views

Raspberry pi frequently disconnecting and reconnecting from wifi network

My raspberry pi 2 (running Ubuntu 14.04) with SIIG wireless mini adapter is unable to maintain a connection with the access point. It does not seem to be signal strength related, as it behaves well ...
7
votes
5answers
59k views

WPA_GUI can't load wpa_supplicant

I am new to the raspberry pi and can't quite seem to figure this one out. The wpa_gui is blank in the adapter and network field and reporting the error "Could not get status from wpa_supplicant" ...
6
votes
4answers
14k views

Cannot set up WiFi on Raspberry Pi Zero W running Stretch

I have been trying to connect to my wireless network for several days now with my Raspberry Pi Zero W running Stretch (2017-08-16 release). I have read many threads on how to setup wifi, including the ...
6
votes
1answer
268 views

Issue connecting to internet after proper wifi configuration

I recently purchased a USB wifi dongle for my raspberry pi 2 B and attempted to connect through the Wifi Networks Panel Item in Raspbain Jessie. After entering the key, nothing happened, so I decided ...
6
votes
1answer
23k views

Proper configuration for wpa_supplicant.conf

From my Raspberry Pi 2, I can't connect to my wifi college: sudo ifup wlan0 returns: ioctl[SIOCSIWAP]: Operation not permitted ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWENCODEEXT]: ...
5
votes
0answers
341 views

connmanctl having problem with complex passphrase

The built in WiFi module seems to work fine, as it can connect to both of my open networks I created for testing, i.e. the 2.4GHz, and the 5.0GHz ones. If I set a simple passphrase (i.e. contains ...
4
votes
1answer
33k views

How to reset the WiFi configuration in Raspbian

The WiFi-related configurations are stored in /etc/wpa_supplicant/wpa_supplicant.conf file. For example, if WPS (WiFi protected setup) is succeeded by using wpa_cli command, the configuration ...
4
votes
3answers
1k views

Connecting to enterprise network wpa_supplicant

I am currently trying to connect to an enterprise network through wpa_supplicant, I am using the file: /etc/wpa_supplicant/wpa_supplicant.conf The network is PEAP MSCHAPV2 I am using this code I ...
3
votes
1answer
297 views

Translation request for News re wpasupplicant during upgrade

During a routine upgrade (sudo apt-get upgrade), the following "news" appeared in my terminal window: apt-listchanges: News --------------------- wpasupplicant (2:2.6-19) unstable; urgency=medium ...
3
votes
1answer
1k views

Raspbian - wpa_supplicant.conf Country meaning

I'm a bit confused of the country property in wpa_supplicant.conf. In official Raspberry Wifi Documentation it says this: On the Raspberry Pi 3 Model B+, you will also need to set the country ...
3
votes
4answers
3k views

Cannot get WiFi to work on PI 3 running stretch

I have 2 identical rpi 3 devices. Both are running the same version of OS, namely "stretch" version 9 (from the same source). They have slightly diverged via upgrades and updates. On one I can use ...
3
votes
7answers
13k views

Raspbian wpa_supplicant problem

My old wpa_supplicant and interfaces config not work! /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="MySSID" ...
3
votes
1answer
3k views

could not get status from wpa_supplicant signal 15 received

I'm getting following message inside of wpa_gui: Status: Could not get status from wpa_supplicant Last Message: -signal 15 received What is signal 15? I tried clicking on Disconnect & Connect, ...
3
votes
1answer
1k views

Spontaneous wpa_supplicant error

my Raspberry Pi has been connected to a wireless network for a while. It occasionally gets disconnected, but I've got a crontab that tests for connection and if there isn't one, reconnects, which has ...
3
votes
1answer
6k views

wlan0: link is not ready

I have had my pi3 for a while now all of a sudden I start to get IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready and stalls there ...
3
votes
2answers
2k views

Setting up ad-hoc wireless

I have pi 'A' setup to be an adhoc network and using dhcp3-server. /etc/network/interfaces auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 iface wlan0 inet static address 10.10.1.1 ...
2
votes
1answer
125 views

What's wrong with this wpa_suppplicant.conf file?

I have an original wpa_supplicant.conf file which I tried to add a new network. Both have same owner (root) and same permissions 644. I just added one more network at the end (just for testing). ...
2
votes
1answer
52 views

Configuring the Raspberry Pi to use various protected WiFi spots

The use case is this: the Pi will periodically ping my server. If it gets the go-ahead, it will perform some action using a relay. Otherwise it'll remain dormant. I need to install multiple RP3s at ...
2
votes
2answers
2k views

Eduroam, wpa2-enterprise, wifi connection - Configuration options for the wpa_supplicant.conf file

In attemting to get wifi configured for Model B, I'm editing the /etc/wpa_supplicant/wpa_supplicant.conffile in line with this and this. The network to which I'm connecting is asking me to set the ...
2
votes
1answer
3k views

Problem with DHCP on wlan

I can't get my raspberry pi to work properly with the wlan. The behaviour I'd like to obtain is: At boot tries to connect to a wlan if there is one available get a ip through DHCP and it's fine, ...
2
votes
3answers
13k views

Raspbian wpa_supplicant fails, which service to (re)start?

I'm using Raspberry Pi 2 installed with Raspbian (Debian Wheezy) ~ Release date: 2015-02-16. Every now and then wpa_supplicant dies on me and usually when I'm remote and I cannot do anything other ...
2
votes
3answers
150 views

Wifi Connectivity — Pi 3 Model B

I have recently been unable to connect to wifi with my raspberry pi 3 (model B). I have tried a number of solutions to no avail. The networks button on the upper banner says "connection to dhcpcd ...
2
votes
2answers
757 views

WEP WiFi Hotspot

So I want to use my DS online again, and what I need to do is get a router with WEP seurity, or a router without security. So I decided to use my Pi 3 B as a WiFi hotspot. But all the stuff I find is ...
2
votes
1answer
5k views

Using old D-Link Wifi stick

My brand new raspi just arrived. I played around with raspbmc and did like it. Now I have an old D-Link DWL-122 Wifi stick flying around and I'd love to use it as the WIFI device. So, is it possible ...
2
votes
1answer
425 views

hostapd configured with wpa but running with wep

I have configured my accesspoint as WPA but it shows up as WEP secured on my laptop. My configuration is: interface=wlan0 driver=rtl871xdrv ssid=AnotherTest hw_mode=g channel=6 macaddr_acl=0 ...
2
votes
1answer
1k views

Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

I'm trying to allow my Pi to connect to a public Wifi network with no password, but I can't seem to get the wpa_supplicant.conf file right. Here's the file: ctrl_interface=DIR=/var/run/wpa_supplicant ...
2
votes
1answer
293 views

wlan0: carrier lost with specific router

so I've setup my Raspberry Pi Zero W with latest Raspbian img. Whenever I tried to connect it to the main router the syslog always says: Feb 17 23:20:36 raspberrypi dhcpcd[252]: wlan0: waiting for ...
1
vote
2answers
14k views

Raspbian: static IP for eth0 and dhcp for wlan0

I run a Raspberry Pi at our university (Raspbian Stretch). I use it for a project where it has to rely on WiFi. I configured the connection using wpa_supplicant and it worked perfectly well. Now there'...
1
vote
3answers
283 views

Raspberry Pi Wifi not scannning

I am using the Official Raspberry Pi adapter for my Pi but I can not scan for networks in the wpa_gui window like I should be able to. Under the tab "Current Status" in the "Status" field, it states ...
1
vote
3answers
172 views

/boot/wpa_config being copied with wrong permission

I plug the micro SD into my MacBook. I then save a correct /Volumes/boot/wpa_supplicant.conf with file permissions with 777 (default when creating files into the FAT partition). Then, when I move back ...
1
vote
1answer
4k views

wifi issue with pi 3

I've had some problems setting up wifi using wpa_supplicant but would prefer to use it so I set up the pi to auto associated with networks i will likely be around. Initially I used the GUI to connect,...
1
vote
2answers
8k views

Wi-Fi Setup Raspberry Pi 3 with WPS (Wi-Fi Protected Setup) not working

I'm using wpa_supplicant with wpa_cli and manually entering SSID and passphrase to connect to network works without problems. When using wpa_cli with command wps_pbc it sees the WPS enabled access ...
1
vote
2answers
640 views

Wifi troubles on RPi A+

So I just got the A+ and had a wifi dongle laying around here. It's the official wifi dongle from ThePiHut. I tried editing my /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf as ...
1
vote
3answers
513 views

How to install usb wifi on rpi

I have been trying to install this antenna on the pi but when I failed, I tried modifying the /etc/network/interfaces file via sudo nano /etc/network/interfaces to iface wlan0 inet dhcp wpa-ssid "MY ...
1
vote
1answer
412 views

wpa_supplicant.conf file become empty

I did headless setup of the Pi 3B+ and what I've done was: Flashed the last OS on the SD card (Raspbian Stretch full 2018-11-13) Created two files in the root directory of the SD card: ...
1
vote
1answer
345 views

Can't do anything related to wlan0 (Alpine Linux, Raspberry PI 3 B+)

I just bought a Raspberry PI 3 B+ some weeks ago, and I decided to install Alpine Linux due to it uses OpenRC and one friend of me recommended it to me. I have installed it only as diskless mode, ...
1
vote
1answer
43 views

Roaming Timing Optimization

Is there a way to improve reconnection timing between two RPis that communicate wirelessly through an access point? Right now, if a connection drops on a RPi side, The roaming process takes 9 seconds ...
1
vote
2answers
194 views

Two Wi-Fi networks. One preferred. Connect when it comes in range

I need to set up the pi so, that when one network comes in range it would disconnect from existing one and connect to that one more preferred. Here is my interfaces file: auto lo iface lo inet ...
1
vote
1answer
183 views

Wifi dongle for internet and Ethernet for SSH to Raspberry Pi

I am not able to connect to wireless networks for internet using wifi dongle in my raspberry pi. I connect PI to Desktop using ethernet for SSH. I modified interfaces file and wpa-supplicant.conf file ...
1
vote
1answer
2k views

wpa_gui fails to fetch wpa_supplicant status

I am fairly new to Raspberry Pi. I wanted to make an Apache server with my Pi and I was trying to give it a static ip. But anytime I start up wpa_gui (or try to do anything with it for that matter), ...
1
vote
1answer
4k views

WPA_GUI “the configuration could not be saved”

I'm trying to setup WiFi on my RaspberryPi running Raspbian. WPI_GUI refuses to allow my to save it's configuration as The configuration could not be saved. The update_config=1 configuration ...
1
vote
0answers
89 views

wpa_supplicant errors in syslog after upgrade to Stretch

I just upgraded a Raspberry Pi 3 Model B from Jessie to Stretch, and everything (including WiFi) seems to be working OK, but one thing has me worried: Whenever I reboot, sudo journalctl contains the ...