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 [networking]

Questions about home networks, internet, repository issues or anything else regarding networks.

186
votes
5answers
747k views

How do I set up networking/WiFi/static IP address?

I have followed (any one of hundreds) tutorial, and it does not work. How do I set up networking/WiFi/static IP address on the Raspberry Pi? (This is a Dorothy Dixer to hopefully catch the hundreds ...
7
votes
1answer
7k views

Howto migrate from networking to systemd-networkd with dynamic failover

Systemd's systemd-networking can replace tbe used to replace the existing networking system on Raspbian. How does it work with Raspbian on a Raspberry Pi 3 and it's two interfaces for ethernet and ...
152
votes
16answers
111k views

Prepare for ssh without a screen

I have a Raspberry Pi model B at home, but I do not have a screen. My plan is to connect it to the Ethernet and then ssh into it. But this means that the SD card with the operating system (Debian ...
57
votes
6answers
109k views

Differences between /etc/dhcpcd.conf and /etc/network/interfaces?

I have this configuration in /etc/network/interfaces: auto lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf allow-hotplug ...
3
votes
2answers
9k views

How can I disable autoconfigured networking on Raspbian?

I need to configure my network connection using some low level commands, but I believe the autoconfiguration in Raspbian is complicating this. How can I disable it? And if I do, can I easily restore ...
2
votes
1answer
3k views

Raspberry Pi WiFi to Ethernet Bridge for a server?

I wanted to create a Wifi to Ethernet Bridge on my Raspberry Pi, similar to this one. The problem is: I want to conntect a Network Harddrive (WD MyCloud) to the ethernet side. The Harddrive seems to ...
102
votes
5answers
200k 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 ...
6
votes
4answers
10k views

How to share my internet connection on a (Windows) computer with a Raspberry Pi?

I have a Raspberry Pi directly connected to my Windows laptop through Ethernet, so I can make a SSH connection with PuTTy, everything works fine except that my Pi has no access to the internet. ...
63
votes
15answers
126k views

Find Raspberry PI address on local network

I need to find the Raspberry PI IP address on local network without connect the Raspberry to a monitor. How do I do it on Linux or Mac OS systems?
27
votes
2answers
64k 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 ...
4
votes
1answer
6k views

Raspberry Pi Zero W as a WiFi repeater

I'm currently trying to setup my Raspberry Pi Zero W as a WiFi repeater, but the kicker is that I don't want to use another USB WiFi card. First of all, is this even possible, and if it is, what ...
35
votes
4answers
66k views

SSH to RPi without a network connection?

Is it possible to SSH in to an RPi without a network connection? I could imagine that you could do it using a LAN cable from the computer to the RPi or maybe using a USB cable. I do actually have ...
26
votes
5answers
114k views

How can I connect my Pi directly to my PC and share the internet connection?

What I want to do is to connect through SSH and HTTP to my Raspberry Pi without having to connect it to the router. I use the Adafruit's Web IDE to create and run my programs, and I'd like to access ...
6
votes
2answers
29k views

Ad Hoc setup in RPi 3

How to configure RPi 3 ad-hoc mode? I can't configure my RPi 3, i have seen tutorials but everything is about RPi 2 and the wireless usb but the RPi 3 has that module integrated, so i can't continue ...
1
vote
1answer
374 views

Setting up Wifi direct (wifi p2p) and DHCP server

So I have a fresh pi zero w up and running raspbian stretch lite. How can I enable Wifi direct/p2p where the Pi is GO and where it has a static ip i can connect to, and install/configure a DHCP ...
63
votes
10answers
119k views

How do I modify my Raspberry Pi to be powered over PoE?

Is it possible to modify the Pi, so that it can receive it's power via Power over Ethernet (PoE)? I would like to be able to power my unit via the ethernet cable, so that I don't have to worry about ...
33
votes
1answer
70k 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 ...
7
votes
1answer
8k views

Bridge wifi and ethernet

I want to bridge wlan0 and eth0 to get Internet from wlan0 to eth0 to plug in a switch. I configured wpa-supplicant and have this interfaces file: auto lo iface lo inet loopback iface eth0 inet ...
4
votes
2answers
2k views

RPi as Internet Gateway/Bridge

Can I use RPi as Internet Gateway/Bridge, with the possibility to control the network bandwidth depending upon local IP? I would like to setup as follows, and I tried the tutorial at http://...
6
votes
1answer
997 views

Netbooting multiple “workers” RPi from a “master” RPi

My question is, I believe, a little bit complex, and I think it would be better to fully describe what I have and what I want to achieve, with what I am able to do. What I have I have a group of ...
59
votes
3answers
19k views

How can I protect against intrusion and malware before connecting it to the internet (especially on a public IP address)?

With the large number of Raspberry Pis in the wild, and the fact that large groups of them are configured identically (when a newly-flashed SD card is installed with one of the few available images), ...
7
votes
4answers
29k views

Start wireless network automatically on boot-up - how to?

With the great help in WLAN using Netgear WNA1000M fails - what am I doing wrong? I managed to get my wireless network working on Raspbian running on my RPi. But - I need to manually run the ...
33
votes
5answers
7k views

IPv6 connectivity

Is IPv6 connectivity supported on the Raspberry Pi? If yes, is it enabled by default/how do I turn it on?
5
votes
2answers
2k views

Wake up 'sleeping' wlan-connection

I observed, that after a while (some hours) my Pi isn't reachable over the wlan any more. If I do some excessive ping-ing (i.e. for 70-100 times) the Pi starts at some point to respond and I can ...
4
votes
1answer
11k views

Why do I get this error trying to install TP-LINK (TL-WN725N) wireless adapter driver?

I am very new in RaspBerry and I am using RaspBian distribution. I am going crazy to install the wifi USB adapter. The used model is a TP-LINK TL-WN725N I followed this tutorial: http://laurenthinoul....
39
votes
3answers
73k views

Raspberry Pi not reachable via its hostname in LAN [closed]

My Raspberry Pi is not discoverable via its hostname in my LAN. I have a couple of other Ubuntu machines in the LAN, and they are all pingable via their hostnames. On my Raspberry Pi: pi@...
40
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 /...
65
votes
8answers
99k views

How do I enable Wake On LAN?

My first thought was to simply start broadcasting WOL magic packets over the network, but my Raspberry Pi is not waking up. So I'm assuming it either doesn't support WOL, or I haven't properly ...
32
votes
10answers
130k views

Raspberry Pi sleep mode, how to avoid

I use "wheezy" latest release. The device provides some web service features and supposes to be active 24/7. However if the server wasn't requested for certain amount of time (it is hard to tell exact ...
4
votes
3answers
18k views

How to make Pi an AP with 2 WiFi adapters?

I got a question. How to make Pi to be an AP with 2 wifi adapters, one wifi adapter is used to connect to the router, and another one is used to be an AP ? How to do this ? By the way, I have ...
10
votes
3answers
71k views

How to setup Network Manager on Raspbian

Is it possible to get Network Manager working on Raspbian? It's easy to install with: sudo apt-get install network-manager but I couldn't get it to manage any of my connections. Unfortunately, it ...
18
votes
3answers
59k views

How do I configure Raspbmc with a static IP address?

I have Model B and connected via Ethernet and running Raspbmc. It's taking new IP address whenever I restart it, of course may be because of DHCP, but I want to configure this Raspberry Pi with a ...
10
votes
2answers
37k views

How to debug no Internet connection?

I am using a Raspberry Pi that is connected to the router directly with an ethernet cable but the device will not connect to the internet. All the network lights light up but I cannot access the ...
9
votes
4answers
36k views

How to make a change to the routing table persist?

I am running raspbian and I can access anything on my lan through ethO but cannot ping an internet address. route -n says the following: Kernel IP routing table Destination Gateway ...
4
votes
2answers
903 views

Cheap COTS transceivers that work with Raspberry Pi?

I'm looking for a way to get an app running on a laptop to communicate with an app running on a Raspberry Pi. This is a home/hobby project, so looking for inexpensive COTS hardware and open source ...
2
votes
3answers
40k views

Why Isn't My Ethernet Working?

I just got Pi Model B. I downloaded Wheezy on SD card and plugged in all of my cords. Everything works fine except the Ethernet port. The LINK LED flickers for a second while booting up, but then it ...
0
votes
1answer
1k views

RPI - wlan0 to wlan1 bridge

I want to make an RPI 3 model b wifi repeater/bridge. I want to make it work without ethernet cable. I've found a few topics and guides but most of them are eth0 -> wlan0 or outdated or simply never ...
7
votes
5answers
4k views

How to update multiple Pis at once?

Is there a way to update multiple Raspberry Pi machines at the same time? Would it be possible to update them from a single copy of the image on the central Ubuntu PC server so that the download takes ...
3
votes
2answers
2k views

Raspberry Pi 3 Model B Access Point

I have followed the following tutorial to set up an wifi access point: https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ https://gary-dalton.github.io/RaspberryPi-...
2
votes
2answers
2k views

Eduroam, wpa2-enterprise, wifi connection - Configuration options for the wpa_supplicant.conf file

In attemting to get wifi configured for Model B, I'm editing the /etc/wpa_supplicant/wpa_supplicant.conffile in line with this and this. The network to which I'm connecting is asking me to set the ...
2
votes
1answer
11k views

How can I easily access Windows shares from the Rpi3?

I have a Rpi3 which has been set up from 32gb NOOBS, and has VNC and XRDP installed so I run it headless via Windows Desktop Client on a Vista laptop. On the laptop I have an explicit share of the C:...
0
votes
1answer
319 views

Cannot connect to Pi: Operation times out

I am trying to connect to my raspberry pi using either the hostname or IP address with ssh/a web browser/any internet application but it fails after a number of seconds with "Operation timed out" or "...
2
votes
1answer
219 views

Manually change MAC address on USB to ethernet module Pi Zero

Very unusual request here, I know you aren't normally meant to change your MAC address since it's burned into the interface you are using, but I am networking 2 raspberry Pi zeros together, each with ...
0
votes
1answer
417 views

Installing wifi network adapter

I am new to Raspberry Pi. I have a headless Pi running noobs on it. The Pi is connected to a router via an ethernet cable and I am ssh'ing into it via wi-fi from a PC. I am following this tutorial: ...
39
votes
7answers
25k views

Is it possible to set up a Raspberry Pi as a wireless router?

When using the Ethernet and a wireless adapter, is it possible to set up the device as a wireless router? If so, what software (and/or additional hardware) would be needed?
16
votes
1answer
40k views

Run all online traffic through an PPTP VPN connection

I would love to run all outgoing traffic (particularly torrent and web) through an PPTP VPN connection (to be specific a StrongVPN.com VPN). Everything needed to setup and more important to startup ...
24
votes
13answers
43k views

Raspberry Pi 3 - eth0 wrongfully named 'enx…'

My new RPi 3 device (yay) recently booted up with a deactivated ethernet. So i watched /etc/networks/interfaces and saw the line: auto eth0 iface eth0 inet dhcp Calling ifup eth0 unfortunately gave ...
41
votes
6answers
320k 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 ...
14
votes
4answers
10k views

Falls off network (“Destination host unreachable”)

I am running my Pi headlessly, connecting via SSH over the network. I am having a problem that I can consistently reproduce. I will leave a Python script running on my Pi and come back a few hours ...
7
votes
2answers
19k views

How do I make my Raspberry Pi act as a wireless USB controller?

I am trying to control my Canon 550D with the EOS Utility (on my Mac). In theory, this is what I am looking for: The RPi plugs into the 550D and is connected to a LAN. My Mac is on the same LAN, and ...