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.

Wi-Fi is a local area wireless computer networking technology that allows electronic devices based on IEEE 802.11 standards to connect to a network. A more general use of the term includes all wireless local area network (WLAN) even without complete Wi-Fi Alliance interoperability certification testing.

If you have a question about WLAN technology that is explicitly not wifi, look for or create an appropriate tag.

2174 questions
200
votes
11 answers

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 to have the SD card plugged into my laptop and I…
11chubby11
  • 4,764
  • 5
  • 25
  • 32
196
votes
11 answers

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 ifconfig wlan0 down but it will come back up again…
Evan
  • 2,062
  • 2
  • 10
  • 8
154
votes
5 answers

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 instead. I've noticed lots seem to use…
Chef Flambe
  • 1,783
  • 3
  • 12
  • 12
77
votes
8 answers

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 error: RTNETLINK answers: File exists Failed to…
theo-brown
  • 1,984
  • 1
  • 15
  • 13
59
votes
3 answers

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 on power). In order to have the Pis get time, I…
ericmjl
  • 835
  • 2
  • 7
  • 11
57
votes
7 answers

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 needs to set the attribute txpower for a Wi-Fi USB…
Shan-Desai
  • 1,511
  • 2
  • 13
  • 28
50
votes
2 answers

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 /etc/wpa_supplicant/wpa_supplicant.conf, but why…
3cheesewheel
  • 2,127
  • 6
  • 27
  • 32
46
votes
1 answer

"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 my Raspberry can't connect outside the local network. The Raspberry is running on the latest (as of writing…
Błażej Michalik
  • 1,293
  • 1
  • 11
  • 16
42
votes
7 answers

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 my Raspberry Pi. The Raspberry Pi would then send a…
Rick Hoving
  • 657
  • 1
  • 8
  • 7
42
votes
5 answers

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 looks like an unpopulated UFL antenna, labelled…
goobering
  • 10,680
  • 4
  • 39
  • 64
41
votes
3 answers

How to set WiFi network priority?

I understand that I can set up multiple WiFis by adding to /etc/wpa_supplicant/wpa_supplicant.conf (as prescribed in Setting WiFi Up Via The Command Line). Let's say I have two WiFis registered: wifi_A and wifi_B When I unplug router wifi_A, and…
user2926577
  • 513
  • 1
  • 4
  • 5
41
votes
7 answers

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 wifi to the PI. Is there any way to do this easily,…
Jerome
  • 511
  • 1
  • 5
  • 3
40
votes
8 answers

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?
oleole
  • 503
  • 1
  • 4
  • 5
37
votes
8 answers

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/wpa_supplicant/wpa_supplicant.conf. The data…
Forivin
  • 587
  • 3
  • 6
  • 10
35
votes
3 answers

Access point as WiFi router/repeater, optional with bridge

I need a wireless access point that is bridged with the wired ethernet port and that is connected to another wifi internet router with a client connection as uplink. All devices connected to the RasPi either by wifi or by wired ethernet should have…
Ingo
  • 41,647
  • 17
  • 82
  • 193
1
2 3
99 100