Questions tagged [networking]

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

Filter by
Sorted by
Tagged with
266
votes
5answers
1.2m 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 ...
158
votes
16answers
117k 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 ...
124
votes
4answers
254k 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 ...
85
votes
18answers
162k 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?
74
votes
6answers
162k 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 ...
69
votes
8answers
116k 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 ...
68
votes
10answers
130k 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 ...
65
votes
17answers
274k views

Easiest way to show my IP address?

After I've booted up, what's the easiest way to obtain and display the IP address that the device is currently using? I'm using Raspbian, and ifconfig doesn't appear to be installed. Are there any ...
61
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), ...
56
votes
8answers
431k 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 ...
47
votes
2answers
53k 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 /...
44
votes
2answers
88k 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@...
41
votes
7answers
26k 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?
38
votes
1answer
84k 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 ...
38
votes
4answers
71k 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 ...
34
votes
10answers
153k 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 ...
34
votes
5answers
8k views

IPv6 connectivity

Is IPv6 connectivity supported on the Raspberry Pi? If yes, is it enabled by default/how do I turn it on?
33
votes
2answers
87k 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 ...
31
votes
5answers
156k 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 ...
29
votes
2answers
64k views

Wifi - bring wlan0 up on boot

I have my network setting stored in /etc/wpa_supplicant.conf and my /etc/network/interfaces looks like this: auto lo, eth0, wlan0 iface lo inet loopback iface eth0 inet dhcp iface wlan0 inet dhcp wpa-...
28
votes
13answers
61k 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 ...
26
votes
8answers
29k 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 ...
23
votes
8answers
38k views

Can't get a CIFS network drive to mount on boot

I have added a share in fstab to access a network drive with all my files on... fstab looks like: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,...
22
votes
2answers
6k views

Why does my Pi always have the same IP address?

My router uses DHCP, and whenever I reformat my raspberry pi, even when using a different microSD card, it always has the same LAN ip. I'm not quite sure how IPs are assigned, but I assume the device ...
22
votes
8answers
50k 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/...
22
votes
3answers
123k 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 ...
19
votes
3answers
60k 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 ...
19
votes
1answer
22k views

Where are nslookup and dig gone?

I installed my Raspberry Pi out of the box. Unfortunately, I can't seem to find neither nslookup nor dig. Where can I find them? Which package do I need to add? uname -a is: Linux brambleberry 3.12....
19
votes
6answers
47k views

PI as a VPN router for local machines

I would like to enable couple of my machines to access the internet through a VPN connection. My idea is that the PI can simply dial in an establish a connection and then route requests from the other ...
18
votes
8answers
49k 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 ...
16
votes
9answers
54k 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 ...
16
votes
1answer
19k views

Can't connect to Pi on local network via hostname.local on Windows

I'm setting up a Raspberry Pi for the first time, and have been SSHing into it on a Mac on the same network like so: ssh pi@raspberrypi.local However on my Windows 10 box (also on the same network) ...
16
votes
7answers
33k 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 ...
16
votes
1answer
42k 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 ...
15
votes
2answers
20k 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 ...
15
votes
4answers
11k 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 ...
13
votes
4answers
98k 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
6answers
60k views

How would Raspberry Pi perform as a router/firewall?

I was thinking of replacing my current wireless router. I could either use an old laptop or a raspberry Pi. I am leaning towards the raspberry Pi due to its low power consumption. I was thinking of ...
13
votes
1answer
16k views

Force Raspberry to get internet from specific network

I configured my RPi to connect to a 3G dongle on boot by setting ppp and wvdial on /etc/network/interfaces The Pi boots up and I have internet connection. Perfect. Now my problem is that whenever ...
12
votes
4answers
18k 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, ...
12
votes
2answers
22k views

ifup and ifdown do not work on raspbian stretch lite 2017-09-07-raspbian-stretch-lite.img

I just installed a clean image of the latest Raspbian Stretch Lite. Specifically - 2017-09-07-raspbian-stretch-lite.img ifconfig shows that my wifi interface wlan0 is detected and up. eth0: flags=...
12
votes
3answers
21k views

Why am I getting far slower internet on my Raspberry Pi when compared to my Mac and Windows Computer

I have reasonably fast broadband, which on my Mac, using Safari 6, is perfect for my uses. Webpages load quickly, and I am extremely satisfied with it overall. My Raspberry Pi is another story. I can'...
12
votes
5answers
36k views

WiFi connection gets dropped quite often with Edimax EW-7711UTn

I am using a Model B 256MB Pi with an Edimax EW-7711UTn USB WiFi adaptor. After some hours, the WiFi connection begins to drop and be restarted. Until it stops working completely. This is what I see ...
12
votes
6answers
18k views

PulseAudio sink stuttering

I have installed raspbian on my Pi and configured a PulseAudio sink with the intention to stream all audio from my desktop to a Pi, driving the loudspeakers. I followed this nice description: http://...
12
votes
9answers
17k views

Static IP Failing for wlan0

I am currently trying to set up my Raspberry Pi as an Access Point using hostapd using the following directions: RPI Wireless Hotspot Unfortunately, my static IP Address refuses to set at startup. ...
12
votes
5answers
33k views

Multiple IP addresses being assigned

My Raspberry Pi B+ is running Raspbian (Linux version 3.18.11+) updated, etc. It's connected to the network by ethernet. I want a static IP, and have assigned it one in /etc/network/interfaces (shown ...
12
votes
3answers
14k views

Adding a second Ethernet port

I would like to start a "Firewall" project. This will require intercepting data on the network processing it and passing it on it way. Has anyone tried (or theorised) how to add a second Ethernet ...
12
votes
1answer
4k views

Can a Pi be used as an OpenCL CPU device?

Can I use a Pi (or, for that matter, Beagle Bone or Arduino) as an OpenCL CPU device? I understand there isn't much of a GPGPU thing on a Pi, but couldn't I link a bunch together under an OpenCL ...
12
votes
6answers
24k views

Raspberry Pi connected to internet but can't SSH or Ping

I have a Raspberry Pi Model 2 running the newest version of Raspbian Jessie. My Pi is connected to the internet using an Edimax Wireless adapter, and I can download and browse the internet just fine. ...
11
votes
3answers
3k views

Do wireless and wired connections have separated bandwidths?

I have a Raspberry Pi 3 B+ board and I am trying to connect it both to a local wireless hotspot and another machine via cable. I am not connected to the Internet on any of the devices and all data ...

1
2 3 4 5
42