Questions tagged [networking]
Questions about home networks, internet, repository issues or anything else regarding networks.
310
questions
304
votes
7
answers
1.4m
views
How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS?
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?
After the Foundation introduced the dhcpcd networking ...
20
votes
2
answers
31k
views
Howto migrate from networking to systemd-networkd with dynamic failover
Systemd's systemd-networkd can be used to replace the existing networking system on Raspbian.
How does it work with Raspbian on a Raspberry Pi with two interfaces for ethernet and wlan? Can I also ...
8
votes
1
answer
16k
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 ...
85
votes
6
answers
222k
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 ...
164
votes
16
answers
122k
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 ...
3
votes
2
answers
16k
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 ...
5
votes
2
answers
9k
views
How do I set up networking on Raspberry Pi OS - Bookworm
Most of the existing networking tutorials are out of date and won't work on Raspberry Pi OS - Bookworm
161
votes
5
answers
382k
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 ...
3
votes
1
answer
16k
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 ...
117
votes
19
answers
282k
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?
35
votes
3
answers
111k
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 ...
8
votes
1
answer
4k
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 ...
6
votes
4
answers
13k
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.
...
3
votes
2
answers
5k
views
How to make Raspberry Pi a Tor router with all kind of network setup using systemd-networkd
I have looked for a way to connect to the Tor network transparently using systemd-networkd. I want just to connect to a Raspberry Pi by wifi or wired and get into the internet through the Tor network. ...
11
votes
2
answers
46k
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 ...
38
votes
4
answers
79k
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 ...
37
votes
5
answers
196k
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 ...
2
votes
1
answer
4k
views
Make ifplugd available with systemd
On networking I often need to know when a connection is complete established with an ip address or if it gets down. In the past this was done with the classic daemon ifplugd. The Debian package for it ...
7
votes
1
answer
9k
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 ...
1
vote
1
answer
5k
views
Configuring Raspberry pi as Router, Wifi and Ethernet Bridge
my current configuration is as follows:
I recieve Internet from the house I live in. It comes via Ethernet and has a DHCP running. The Problem is, that it is MAC-Adress limited to one device. ...
74
votes
10
answers
142k
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 ...
46
votes
1
answer
105k
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 my Raspberry can't connect outside the local network. The ...
15
votes
3
answers
27k
views
Pi using a random MAC address after every reboot. How do I stop this behavior?
Recently, after I ran apt-get upgrade, my Pi 3 running Raspbian Jessie started using a random MAC address on eth0 after every reboot. I'm pretty sure this has something to do with the upgrade since I ...
6
votes
1
answer
26k
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 ...
1
vote
1
answer
1k
views
How can I set my pi 3 up to be WiFi AND ethernet router simultaneously?
I want to use my Pi as a fully fledged wifi and ethernet router. I'll connect an external modem/phone with tethering to it and want to share that internet connection with all devices connected to the ...
81
votes
7
answers
152k
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 ...
66
votes
3
answers
20k
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), ...
51
votes
2
answers
58k
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 /...
39
votes
10
answers
184k
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 ...
38
votes
6
answers
11k
views
IPv6 connectivity
Is IPv6 connectivity supported on the Raspberry Pi? If yes, is it enabled by default/how do I turn it on?
17
votes
10
answers
75k
views
How to use SSH out of home network
I recently set up SSH on my Raspberry Pi. It has been going swimmingly, especially since I can control the computer through my iPhone with the app Server Auditor. Sadly, this only works through the ...
14
votes
4
answers
23k
views
Why do the USB ports and Ethernet port share the same controller?
It is my understanding that the USB ports on the Pi share the same controller as the Ethernet port.
This means if one was to use the Pi as a NAS, data transfer over the network would be restricted, ...
9
votes
4
answers
39k
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 ...
8
votes
5
answers
7k
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 ...
4
votes
2
answers
6k
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://...
3
votes
1
answer
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....
2
votes
3
answers
4k
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-...
0
votes
1
answer
70
views
What networking system is my Pi using?
What networking system is my Pi using?
Recent changes with Bookworm mean many of the older methods don't work.
0
votes
2
answers
463
views
Raspberry pi run startup python script cannot send HTTP requests
I let my python script run at startup but some of HTTP requests (using requests pip module) not working. However, when I run the script manually with sudo openvt -s -w /path/to/launcher.sh, all HTTP ...
52
votes
2
answers
116k
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@...
32
votes
11
answers
46k
views
What are the possible OUIs for the Ethernet MAC address?
I'm setting up a computer lab in which many Raspberry Pis are going to acquire IP addresses via DHCP. I'd like to have the DHCP server to differentiate between Raspberry Pis and other clients.
What ...
29
votes
6
answers
211k
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 ...
26
votes
9
answers
58k
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 ...
22
votes
8
answers
71k
views
Force IPv4 address
I upgraded my Raspberry Pi to Jessie, which uses systemd. One side-effect is that it connects using IPv6 only and does not have an IPv4 address. How can I force it to get an IPv4 address from the DHCP ...
19
votes
6
answers
166k
views
Access network Samba share from Pi client
I've been using my PC to access the files on RPi, using Samba Server on RPi.
But, Is there any way I could open Samba Connections on Pi? Like browsing Windows PC Samba Files on RPi?
13
votes
5
answers
147k
views
SSH - connection timeout when connecting
My RPi is running Raspbian. I am trying to get SSH set up.
I followed these steps to get a static IP on my Pi:
Since my PC was connected to the LAN via WiFi, I used ipconfig to get the IP address, ...
11
votes
4
answers
62k
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 ...
11
votes
2
answers
45k
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 ...
10
votes
5
answers
8k
views
No internet connection post-buster to bullseye upgrade
Problem:
I've successfully upgraded a RasPi 3B+ dev box from Buster to Bullseye. However, when the Pi boots up, there is no internet connection.
Background:
Boot up showed a [FAILED] entry of: Failed ...
8
votes
4
answers
30k
views
Wifi works, ssh can connect, but cannot connect out to the internet, cannot ping internal machines
I have a strange configuration problem with Wifi. When I connect a ethernet cable to my router, network eth0 is configured and I can access all internet resources.
However when I use a Wifi dongle, I ...