Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wifi]

Questions on the use of Wi-Fi (local area wireless computer networking technology). This tag is also used for generic "wlan" questions since they are commonly synonymous. Note shopping questions are off-topic.

137
votes
11answers
187k views

Prepare SD card for Wifi on Headless Pi

I need to SSH my Pi over wifi but because it is a model A board (using a usb hub is not possible - ever) and I have no ethernet, i can't configure the Pi to connect to my secured wifi network. I want ...
102
votes
5answers
196k views

How to setup multiple WiFi networks?

I go back and forth from home to school with my Pi. I just got the WiFi working last night at home using wpa.conf instead of wpa_supplicant.conf as the book I was using had the walk thru for that ...
82
votes
10answers
230k views

Disable WiFi (wlan0) on Pi 3

Got a Pi 3 which will always use ethernet, so trying to figure out how to disable the WiFi such that it does not even turn on after a reboot. If I do an ifconfig I see the wlan0 device. I can do ...
40
votes
6answers
313k views

Solving “RTNETLINK answers: File exists” when running ifup

I had this problem when I got my new Wi-Fi dongle and have seen a few people with the same issue. Basically when I have one interface configured and want to swap to the other one, it throws up this ...
39
votes
7answers
67k views

Cheapest way to controlling multiple power sockets (lights) through Wi-Fi

What I would like to see is the cheapest way possible to control my lights using my Raspberry Pi. What I imagine to control it I build an interface on my smartphone by which I can send commands to ...
39
votes
2answers
49k 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 /...
37
votes
4answers
87k views

Add an external antenna to a Pi 3

Makezine's writeup on the Pi 3 this morning included a somewhat tantalising section: The other interesting thing on the back of the board, right next to the wireless radio chip, is something that ...
36
votes
7answers
83k views

Does Pi3 Wi-Fi support 5 GHz and does it need an extra antenna?

I was wondering if the built-in Wi-Fi supports 5 GHz networks? Will it need an external antenna to be attached to work properly?
36
votes
7answers
98k views

Using Pi to stream all audio output from my pc to my stereo

My problem is quite simple but I have been unable to find a satisfying solution. Basically, I want my Raspberry Pi to be connected to my stereo and then play any audio output from my computer via ...
33
votes
1answer
69k views

“connect: Network is unreachable” on a working (connected) wlan0 interface

I finally managed to make wlan0 (an Edimax EW-7811Un USB WiFi dongle) connect to my router, but after an apt-get update I discovered that the Raspberry can't see outside the local network. My ...
30
votes
2answers
61k views

How to get Wi-Fi to connect on boot?

Raspberry Pi Model B OS: Raspbian I am running my Pi headless (currently through a direct Ethernet connection). I have a USB WiFi dongle. I would like to have the WiFi start up at boot and connect ...
27
votes
2answers
63k views

Sharing the Pi's WiFi connection through the Ethernet port

I have a pi running the latest release of raspbian and it's connected to the Internet using a wireless USB dongle. What I would like to do, is to share the pi's wifi connection so that any computer ...
25
votes
3answers
45k views

How do I use the command line to check which WiFi network I am connected to?

I'm doing a headless setup, where we use the Pis in field work (tracking movement of seals via camera in the Cape Cod area), and so we can only monitor it headless, without a separate display (to save ...
23
votes
2answers
45k views

WiFi configuration on Arch Linux ARM

I have bought a Model A Pi, and I successfully configured it with a USB Wifi dongle on Raspbian. I recently prepared an SD card with the latest version of Arch Linux ARM and I am trying to get it set ...
21
votes
6answers
13k views

Which model Raspberry Pi I am running?

Is there a way of determining whether the current Raspberry Pi is either a 2 Model B and 3 with Raspbian Jessie Lite 8.0? This is because I have a particular bootstrap.sh written in Bash where it ...
18
votes
4answers
30k views

Does the BCM43438 WiFi chip in Raspberry Pi 3 support “monitor” mode

Does it support the monitor mode (known from aircrack-ng & co.)?
17
votes
2answers
35k views

Disable power on Wifi and Bluetooth interfaces during boot?

I have a Raspberry Pi 3 Model B Rev 1.2. I'd like to ensure Wifi and Bluetooth do not get powered on or draw current since the device is using wired Ethernet. According to dmesg, the device is ...
17
votes
5answers
64k views

Mysterious RPi wifi problem — No wireless interfaces found

Alright, I have been unable to find a solution to this problem anywhere else online, so please bear with me: I have a new Raspberry Pi Model 2B which came with a wifi dongle (Ralink RT5370) and when ...
16
votes
7answers
42k views

What's the smallest wifi connector for the Raspberry Pi Zero?

I'm looking for a small and neat solution to give the Pi Zero Wi-Fi connectivity. Something along the lines of a Micro-B USB dongle would be nice, but I'm not sure they exist. I'm currently using an ...
16
votes
4answers
57k views

Stream videos wirelessly from PC to Pi to TV?

I have a collection of movies (Please note: Mostly 1080p) on my external hard disk drive. This drive is attached to my PC (Mac). The external hard disk also contains some important work files, hence I ...
16
votes
2answers
30k views

Can I directly connect to my Pi wirelessly without a router?

I've seen a fair number of internet sites and forums that provide details on how to turn the Pi into an access point or a router. I've also seen that there are plenty of how tos out there on how to ...
15
votes
4answers
9k views

Is the Raspberry Pi vulnerable to the KRACKs on WPA2 networks?

I have an updated RPI Zero W running Stretch. The research is stating that wpa_supplicant is vulnerable on all Linux machines. According to Debian patches are rolled out: For the oldstable ...
14
votes
6answers
27k views

How to enable Wi-Fi channel 12 on Raspberry Pi 3?

I need my RPi 3 to connect to a Wi-Fi network using channel 12, but I'm not able to get the built-in Wi-Fi adapter to use this channel. This is what I've done: $ sudo apt-get install wireless-regdb ...
14
votes
2answers
15k views

Enable monitoring mode for RTL8188CUS via USB on Raspbian

I am trying to enable monitoring mode for a USB wifi dongle with the RTL8188CUS chipset on a raspberry pi model b+ (or any raspberry pi for that matter). $ lsusb Bus 001 Device 005: ID 0bda:8176 ...
14
votes
4answers
21k views

Raspberry PI 3 MODEL B - Wireless Bridge to ethernet

I've seen a lot online for a solution to make raspberry Pi 3 into a wireless bridge. But many are old articles to suit the Pi 1 and 2. This is the last article I have seen, and tried: http://blog....
12
votes
5answers
5k views

Windows 10 WiFi Adapters

I have two Raspberry Pis RP B+ running Raspbian RP 2 running Windows 10 IoT Core I have a Vilros USB WiFi adapter (details here) that works in Raspbian but not in Windows 10 IoT Core. In Raspbian ...
12
votes
3answers
1k views

When a device says it's “Linux-compatible,” does that mean it is compatible with Raspbian?

I'm in the midst of ordering a USB wifi-dongle for my Raspberry Pi. I have Raspbian installed (used NOOBS) on it, and my question is: If the specification of the wifi-dongle says it's Linux compatible,...
12
votes
2answers
14k views

Is there a 802.11ac dongle with drivers ready for the raspberry pi?

I understand the USB2 bus will limit the speed gain from the 802.11ac network interface. I still would rather buy a 802.11ac usb dongle as its primary use will not be with the raspberry pi. Is there ...
12
votes
3answers
27k views

Cannot connect to RasPi by SSH with WiFi interface only

I'm observing really annoying issues with connectivity to RasPi on WiFi network. I have device connected on both LAN cable and WiFi. If both cable and WiFi dongle are plugged - both interfaces are ...
12
votes
4answers
65k views

Enable monitor mode in RTL8188CUS realtek wifi USB dongle

I am trying to enable monitor mode in a RTL8188CUS dongle attached to a raspberryPI. This is the error I get when I try to change the mode: pi@raspberrypi ~ $ sudo iwconfig wlan0 mode monitor Error ...
12
votes
2answers
2k views

Raspberry Pi presence detection using Wi-Fi

How can I have my Raspberry Pi continually scan for a MAC address on my network then perform a task when it detects a specific MAC address? I use my Pi to run various home automation tasks. I'd like ...
11
votes
5answers
38k views

How can I put RaspberryPi to Shut down and wake up later?

I want my raspberryPi to shut down during the night and wake up in the morning. I.e., at 10pm raspberry should shutdown or at least turn of the WiFi and the HDD. At 10am every day my raspberry ...
10
votes
5answers
3k views

Need a way to pull MAC Addresses from my Router for a “Who's Home” project

This kind of project has been done with Bluetooth before but the 30 foot range and extra battery consumption make me want to just ping the router instead of people's phones. I know that routers keep ...
10
votes
7answers
22k 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 ...
10
votes
3answers
7k views

Maximum Wi-Fi clients on Pi 3 hotspot

Is there a maximum number of Wi-Fi clients for a hotspot on the Raspberry Pi 3 (using the built-in Wi-Fi chip: Broadcom BCM43438)? Regarding the software, I'm using hostapd to manage the Access Point ...
10
votes
5answers
11k views

How to change a wlan0 mac address?

I bought the Miniature WiFi Module from ADAFruit (http://www.adafruit.com/products/814) and was wondering if it is possible to change the MAC address associated with it. I have tried using the ...
10
votes
1answer
2k views

Does WiFi on the Pi 3 reduce the Ethernet bottleneck when using USB device?

We all know that on Raspberry Pi 2 and previous models, the USB and Ethernet bandwidth is shared, so when we transfer data over Ethernet to a USB device and vice-versa we are limited by this fact. ...
10
votes
4answers
27k views

Raspberry pi 3 no wlan0 listed - no wireless

I just got my pi3 yesterday and out of the box wifi was working with retropie. I performed some updates and somewhere along the line the wlan0/wifi stopped working. Because it did work I do not ...
10
votes
5answers
15k views

Cannot SSH to Raspberry Pi via WiFi only

I am having trouble connecting to my Raspberry Pi over SSH when it is connected through WiFi. When the RasPi is connected through Ethernet everything works fine. However, when it is connected through ...
10
votes
1answer
43k views

RasPi 3 - wlan0 not associated

I have two RasPi3, both on the newest Jessie and updated && upgraded. The problem is that both Pis can see networks but are not connecting to them. sudo iwlist wlan0 scan Gives me multiple ...
9
votes
6answers
24k views

How to connect to WiFi without reboot?

I just put a freshly flashed card (with 2017-09-07-raspbian-stretch-lite) into a Raspberry Pi Zero W. Then I added these lines: network={ ssid="myWifiSsid" psk="myWifiPassword" } to /etc/...
9
votes
3answers
30k views

How can I find the MAC address of my Wi-Fi interface?

I want to determine the MAC-address of my Wi-Fi interface on a Raspberry Pi Z W running Raspbian Lite. Is there a command that I can run to tell me this? Is there a device in the /proc tree that will ...
9
votes
2answers
2k views

Can the Pi 3's internal Wi-Fi chip act as an Access Point?

From what I can find, the internal Wi-Fi chip on the pi 3 is a custom Broadcom BCM43438. Is it capable of operating in AP mode?
9
votes
1answer
5k views

Make iw work on Raspbian

I tried to scan for available wifi networks in my area, but sudo iw wlan0 scan gives me command failed: No such device (-19). Since I have no detailed knowledge about the iw command, I also tried sudo ...
9
votes
1answer
874 views

Multiple Wifi Networks: Connect to Strongest Signal

Following the instructions here, I was able to setup my pi to connect to two different wifis. The two wifis are in the same place and I would like the pi to connect to the one with the strongest ...
8
votes
5answers
34k views

Raspberry Pi wifi wlan0

So I got 2 raspberrys and both are running raspbian. So my wifi adapter is TP-LINK WN725N. I configured my wifi like this: auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug ...
8
votes
2answers
27k views

How do I make hostapd run at startup?

I'm running Raspbian Wheezy, on a freshly installed SD card: pi@raspberrypi ~ $ uname -a Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux I wanted to make my ...
8
votes
2answers
14k views

Raspberry Pi 3, wifi goes to sleep?

I'm facing a similar issue to this one, How do I disable suspend mode?, except I have a Raspberry Pi 3 and am running OpenELEC 6.0.3. When I leave it on without using it for awhile, I can no longer ...
8
votes
4answers
35k views

Raspbian Linux: No WiFi scan results from “iwlist wlan0 scan”

I have installed the latest version of Raspbian (via image) on my Raspberry Pi. The output of the uname -a command is: Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/...
8
votes
4answers
10k views

How to have wifi connected raspberry pi control an arduino?

I have an arduino uno that needs to respond to an iOS application with the internet being the medium. My initial plan was to use a wifi shield for the arduino, but since I can't get one at this time, ...