Questions tagged [networking]

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

Filter by
Sorted by
Tagged with
214
votes
5answers
898k 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 ...
155
votes
16answers
113k 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 ...
113
votes
4answers
215k 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 ...
76
votes
15answers
137k 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?
66
votes
8answers
102k 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
10answers
122k 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 ...
63
votes
6answers
126k 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 ...
62
votes
16answers
247k 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 ...
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), ...
44
votes
2answers
51k 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 /...
43
votes
7answers
353k 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 ...
42
votes
2answers
77k 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
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?
36
votes
1answer
74k 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 ...
36
votes
4answers
67k 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 ...
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?
32
votes
10answers
136k 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 ...
28
votes
2answers
70k 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 ...
27
votes
5answers
128k 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 ...
26
votes
13answers
48k 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 ...
25
votes
2answers
58k 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-...
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
31k 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,...
19
votes
8answers
23k 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 ...
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 ...
18
votes
6answers
44k 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 ...
16
votes
1answer
17k 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....
16
votes
1answer
41k 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
8answers
39k 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 ...
15
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 ...
14
votes
1answer
14k 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) ...
13
votes
6answers
55k 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 ...
12
votes
6answers
33k 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/...
12
votes
3answers
84k 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 ...
12
votes
3answers
19k 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
16k 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
16k 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
1answer
14k 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
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 ...
11
votes
4answers
76k 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?
11
votes
4answers
15k 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, ...
11
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 ...
11
votes
1answer
10k 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 ...
11
votes
7answers
25k 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 ...
11
votes
5answers
28k 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 ...
10
votes
7answers
37k views

Detect if iphone/Android nearby?

I'm working remotely and it would be handy to know when someone has gone out for a meeting / lunch in my office. I thought I might be able to passively detect what phones near the raspberry pi (and ...
10
votes
4answers
11k views

How to change the Raspberry Pi's hostname (in Raspbmc)?

Currently my dhcp-log displays my Raspberry Pi with the name xbmc-e0cb. Can I change this to a more sensible name?
10
votes
2answers
38k 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
3answers
13k views

Why is `wget` hanging?

I have raspbmc (Debian) installed on my Raspberry Pi and it seems to not be able to download anything? wget seems to stall yet it can ping! The same happens for apt-get Resolving google.com... 173....