306 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 ...
scruss's user avatar
  • 9,018
27 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 ...
Anto's user avatar
  • 371
20 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 ...
N3RdP4W's user avatar
  • 201
18 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 ...
Dougal Campbell's user avatar
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 ...
homeworkc's user avatar
  • 196
15 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 ( ...
Mike Redrobe's user avatar
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 ...
David Sainty's 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 ...
Ingo's user avatar
  • 41.7k
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 ...
jake's user avatar
  • 1,329
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 ...
Milliways's user avatar
  • 58.2k
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. ...
Frank Breitling's user avatar
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-...
Milkmannetje's user avatar
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 ...
David Bumpus's 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. ...
Elber CM's 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 ...
Ingo's user avatar
  • 41.7k
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 ...
flakeshake's user avatar
  • 6,195
5 votes

No wireless interfaces

I just struggled with the same problem. I noticed that if I ran ifconfig wlan0 would show up but I would only have an ipv6 adress, the other one was completely gone. I read that in the release of ...
Maniflames's user avatar
5 votes
Accepted

How to connect two PI 3 to each other through ad-hoc connection?

You can simply use the iwconfig tools on the both your Pis to join to an ad-hoc network. use the following: sudo iwconfig wlan0 mode ad-hoc channel 01 essid my-net You can use your Link-Local ...
Shan-Desai's user avatar
  • 1,511
5 votes
Accepted

Powering Raspberry Pi Zero W with Lipo without USB connection

The Raspberry PI Zero has no protection circuit on the input, therefore it is safe to power directly to GPIO Header Pins (physical pin number) 2,4 aka 5V. More accurately, as safe as using USB ...
crasic's user avatar
  • 2,973
5 votes

How to synchronize images from two raspberry pis

You've said, "I'm not an expert with Linux systems or the Raspberry Pi, so please thoroughly explain your solution." Fair enough, but if by a "thorough explanation" you expect to avoid any further ...
Seamus's user avatar
  • 20.6k
5 votes
Accepted

Raspberry Pi 4 doesn't show a wireless interface - what drivers are required?

On a Raspberry Pi 4 only Raspbian Buster is running out of the box. On a Buster installation you will find the firmware with: rpi ~$ apt list *raspberrypi* Listing... Done libraspberrypi-bin/testing,...
Ingo's user avatar
  • 41.7k
5 votes
Accepted

Wireless communication between a RPI and a Android app - without internet

You can setup an access point on the RasPi so the smartphone can connect to it. There are hundreds of tutorials about this on the web, but many of them are outdated. The official Raspberry Pi web site ...
Ingo's user avatar
  • 41.7k
5 votes

Can I make my raspberry pi zero W distinguish between 2.4 and 5Ghz SSID’s

That's curious. The Raspberry Pi Zero W is only working with the 2.4 GHz band. It is not able to detect and use the 5 GHz band because it's WiFi device simply does not support 5 GHz. I'm afraid to ...
Ingo's user avatar
  • 41.7k
4 votes

Prepare SD card for Wifi on Headless Pi

As of RASPBIAN STRETCH you must include ctrl_interface and update_config in wpa_supplicant.conf To get wifi with ssh on boot do these simple steps on your SD card: touch /<sd mount point>/boot/...
rynop's user avatar
  • 151
4 votes

Ethernet and wifi together

I have read through this post, I don't know how many times, but just today I noticed: autho eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.0.51 netmask 255.255.255.0 I know this is ...
Mr. Ned's user avatar
  • 41
4 votes

Does BCM43438 Wireless chip in Raspberry Pi 3 support ad-hoc networking?

Yes, it does: pi@rp3:~ $ sudo iwconfig wlan0 wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=1496 dBm Retry short limit:7 RTS ...
JayEye's user avatar
  • 1,878
4 votes

Raspberry Pi 3: wrong tx-power in iwconfig

As explained in the iw documentation iwconfig is deprecated and iw should be the first choice for wifi diagnostics, if the hardware is not very old. iw phy lists for all connected wifi adapters the ...
user5415068's user avatar
4 votes

RPi loses its wlan0 configuration when any Docker container is started

I have the same issue, and did not really understood the root cause but found a solution. It looks like DHCPC service failed to load once docker is running/started You can check by running this, if ...
user125646's user avatar
4 votes

Battery Power supply for Pi-3, LCD and transceiver

You need one 12V battery with enough amp-hours to give you a viable lifespan, one 5V UBEC and one 3.3V regulator (with a couple of capacitors on its input and output for stability). Connect the ...
goobering's user avatar
  • 10.7k
4 votes

Windows IoT Enterprise on Raspberry PI 3B

No, you cannot run Windows 10 IOT Enterprise. As is, the IOT flavor of enterprise is just a headless optimized version of the desktop version. The enterprise version still requires an x86 processor. ...
Jacobm001's user avatar
  • 11.9k

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