Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
301 votes
Accepted

Prepare SD card for Wifi on Headless Pi

There are some great answers here, but many are out of date. Even this one has aged somewhat. There are now (at least) two ways of doing this: 1: Raspberry Pi Imager The Raspberry Pi Foundation's ...
user avatar
  • 8,848
26 votes
Accepted

Setting up WiFi and Ethernet

This applies to Raspbian Wheezy prior to 2015-05-05 for later (and Jessie/Stretch) See How do I set up networking/WiFi/Static IP As suggested by the community, my answer extracted from the question. ...
user avatar
  • 996
23 votes

Where are the WiFi config settings stored?

Default behavior seems to consist in storing wifi settings in /etc/wpa_supplicant/wpa_supplicant.conf, just like @lucaslink mentionned. I'd like to provide a bit more details however. Here is how ...
user avatar
  • 331
18 votes

Connect to unsecured wireless network

For me, the recommended solutions above were unsatisfactory. For one, I have a blank in my SSID, so I needed to specify it in quotes. Secondly, I have several SSIDs here, and I want to connect to one ...
user avatar
  • 181
18 votes
Accepted

Using Pi 3 for wireless display/miracast

I have developed lazycast that is designed to work on Raspberry Pi 3. lazycast follows (most of) the wifi display specification (commercially known as Miracast) and uses wifi p2p (commercially known ...
user avatar
  • 196
17 votes

Raspberry Pi sleep mode, how to avoid

I know this is an old question, but it was the first result that came up in my search when I had essentially the same problem on my freshly installed Pi Zero. I found the key to my answer on this ...
user avatar
16 votes
Accepted

Connect to unsecured wireless network

I changed wpa-ssid ="network-essid" to wireless-essid my_essid_without_quote and, now, it works fine. auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wireless-essid my_essid_without_quote
user avatar
  • 1,165
14 votes

How to automatically reconnect WiFi?

This can be solved with no extra scripts. In /etc/network/interfaces put: allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp The ...
user avatar
13 votes

Prepare SD card for Wifi on Headless Pi

Since November 2016 SSH has been disabled by default in standard Raspbian images for security reasons. To re-enable it, create a blank file called either ssh or ssh.txt on the sd card boot folder ( ...
user avatar
11 votes

I can not get my WiFi connection to work

You might have multiple instances of wpa_supplicant running. try ps ax | grep "wpa_supplicant -B" | grep -v grep kill {pid of wpa_supplicant} if that works then you can try this sudo kill $(pgrep ...
user avatar
  • 111
11 votes

Connect to unsecured wireless network

Add the following to the end of /etc/wpa_supplicant/wpa_supplicant.conf : network={ key_mgmt=NONE priority=-999 } That'll connect to any open / unsecured wifi in range. The priority ...
user avatar
11 votes
Accepted

Raspberry Pi Zero W as a WiFi repeater

This setup is DEPRECATED and no longer maintained! Look at Access point as WiFi repeater, optional with bridge for a more flexible setup. It is possible to use the wifi device on a Raspberry Pi as an ...
user avatar
  • 39.5k
10 votes
Accepted

Automatically Create Hotspot if no Network is Available

The following can also easily be installed from a github repository that I created here . First we need to change over completely to systemd (which might be the future anyway), as Ingo has explained ...
user avatar
  • 1,081
8 votes
Accepted

How to disable dhcpcd

sudo systemctl stop dhcpcd.service will stop (deactivate) dhcpcd sudo systemctl disable dhcpcd.service will prevent it from restarting. Having said the above, I think this is a bad idea. There are a ...
user avatar
  • 53.3k
7 votes

Wifi - bring wlan0 up on boot

Your original config was ok, except for the comma's in your first line. So use auto lo eth0 wlan0 instead... My config: auto lo wlan0 iface lo inet loopback iface wlan0 inet manual wpa-...
user avatar
7 votes

How to change a wlan0 mac address?

For "Raspbian GNU/Linux 8 (jessie)" (cat /etc/os-release), "Raspberry Pi reference 2017-06-21" (cat /etc/rpi-issue) (maybe also 2017-07-05) (thanks @Heinrich Ulbricht) and earlier see my answer here. ...
user avatar
7 votes
Accepted

I get WiFi timouts with the rt2800usb driver

It seems to be a known problem. From what I've found, all we can do is: # disable power management (may need to be done periodically?) iwconfig wlan0 power off and disable hw encryption (so it will ...
user avatar
  • 208
7 votes

Mysterious RPi wifi problem -- No wireless interfaces found

One of the things that I have read a hundred times in dealing with anything attached to the USB on any model of RPi is to make sure that you have a decent Power Supply (2 or more Amps) or use a ...
user avatar
7 votes
Accepted

Connecting to universities WPA2-Enterprise Wifi Network

English is not my native language so please be patient. When I don't know how to configure something, sometimes I let the system do it for me, mostly of the times, things works with default values. ...
user avatar
  • 286
7 votes
Accepted

How do I start and stop the on board wireless access point?

I assume you are using Raspbian and you have setup the access point with hostapd. To switch the access point this commands should do: rpi ~$ sudo systemctl stop hostapd.service rpi ~$ sudo systemctl ...
user avatar
  • 39.5k
6 votes

Forcing one of two wifi dongles

I found out myself...it is actually very easy: I just have to add rules to the udev system to assign explicit names to the usb dongles (depending on their mac address). Then interfaces can be set up ...
user avatar
  • 111
6 votes
Accepted

Edimax ew-7811un not operating at 5Ghz - Do I need to configure this?

The Edimax EW-7811UN does not work in 5GHz networks, it is only caable for 2.4GHz (see http://www.cnet.com/products/edimax-ew-7811un-network-adapter/specs/).
user avatar
  • 186
6 votes

Raspberry pi always stops responding to SSH after some hours powered

Stuff like this can be really tedious to peg down, since unless you have a keyboard and monitor you can plug in, there's no way, if ssh doesn't work, to check what's gone wrong on the live system. ...
user avatar
  • 55.6k
6 votes
Accepted

Weather Balloon - How to Transmit Data?

At those ranges Gigahertz comms (WiFi/Bluetooth) won't cut it. Check the Pi in the Sky project , which uses 433 MHz comms by default. Depending on your range requirements you might want someone with ...
user avatar
  • 6,015
5 votes

Where are the WiFi config settings stored?

I had the same issue, where WifiConfig GUI would not remember the deletion/removal of ssids in the Manage Networks tab. Raspbian doesn't have 'NetworkManager' settings but instead holds all network ...
user avatar
5 votes

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

I found my answer here: https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=31238 Basically, it suggests you try this to "see where the internet connections stops": traceroute www....
user avatar
  • 276
5 votes

Raspberry Pi and Arduino communicate over RF?

Don't buy those crap receivers and transmitter. At least pick one that has a crystal. The ones you linked to just provide the modulation of the signal. You'll have to implement a protocol yourself. ...
user avatar
  • 2,400
5 votes
Accepted

Is the Raspberry Pi suitable for use as a commercial WiFi Router?

I can't say I've tried this personally, so what follows is all just an educated guess, but try comparing the Pi's hardware to a home router (which should handle 10-20 connections happily): I've got a ...
user avatar
  • 3,928
5 votes

TeamViewer on Raspberry Pi

TeamViewer cannot be used on the Raspberry Pi at this time. They do not have a build for it. You can install a VNC server, and that would be your simplest option. You would have no issues connecting ...
user avatar
  • 151
5 votes

Wake up 'sleeping' wlan-connection

These problems often seem to be related to wireless power management. As a first attempt try iwconfig wlan0 power off
user avatar
  • 66.3k

Only top scored, non community-wiki answers of a minimum length are eligible