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 ...
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 ...
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 ...
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 ...
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 ...
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 ( ...
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 ...
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 ...
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 ...
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 ...
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.
...
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-...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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,...
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 ...
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 ...
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/...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
wireless × 576networking × 173
wifi × 161
raspbian × 123
pi-3 × 50
usb × 42
wireless-adapter × 39
ethernet × 31
bluetooth × 30
ssh × 25
pi-4 × 22
hardware × 21
access-point × 19
remote × 17
dhcp × 17
pi-3b+ × 16
pi-zero-w × 16
sensor × 15
python × 14
gpio × 13
keyboard × 13
audio × 12
arduino × 12
connection × 12
internet × 12