54 votes
Accepted

Access point as WiFi router/repeater, optional with bridge

We are talking about an access point together with a wireless client connection on interface wlan0 to another wifi network (wlan repeater) or an internet router. If you want an access point together ...
Ingo's user avatar
  • 42k
43 votes
Accepted

Sharing the Pi's WiFi connection through the Ethernet port

For Raspbian Jessie From this document: We will use dnsmasq package for this purpose because it is combined DHCP and DNS server and also easy to configure. If you want something a little more '...
Arpit Agarwal's user avatar
32 votes
Accepted

Howto migrate from networking to systemd-networkd with dynamic failover

Tested on a Raspberry Pi 4B with Raspbian Buster Lite 2020-02-13 updated on 2020-04-11. Updates done with sudo apt update && sudo apt full-upgrade && sudo reboot. It will not work with ...
Ingo's user avatar
  • 42k
29 votes

Gigabit USB ethernet running at 100mb/s

Answering my own question, the problem was simpler than I thought. Turns out I was using a cheap cable I had laying around at home. It doesn't even has the usual 8 wires, just 4 of them, which makes ...
santiagozky's user avatar
28 votes

Raspberry Pi 3 - eth0 wrongfully named 'enx...'

raspi-config is easiest method. If you are on Raspbian then it's installed by default. But if you are on Ubuntu, Mint or Mate then you can install it with command below: sudo apt-get install raspi-...
Almas Dusal's user avatar
26 votes

Raspberry Pi 3 - eth0 wrongfully named 'enx...'

This solution only works if you're seeing an odd network interface device like env{hwdaddress} when running $ ifconfig -a instead of eth0. I tried all the common answers about adding rules but only ...
Luis Godinez's user avatar
18 votes
Accepted

Raspberry Pi 3 - eth0 wrongfully named 'enx...'

I did have this issue when running Debian armhf on Raspberry Pi 2, you can change the interface name by create file /etc/udev/rules.d/70-persistent-net.rules and put this in SUBSYSTEM=="net", ACTION==...
minhng99's user avatar
  • 310
16 votes

Raspberry Pi WiFi to Ethernet Bridge for a server?

This is a common problem with tons of documentation on the web. A very informative discussion I've found on (1). Be aware that this problem only belongs to a wifi client connection that you want to ...
Ingo's user avatar
  • 42k
15 votes

Pi using a random MAC address after every reboot. How do I stop this behavior?

Seems like it's a feature of network-manager... I installed networkmanager and random mac shows up, so I uninstalled it and problems solved: sudo apt-get remove network-manager
甘礼良's user avatar
  • 151
14 votes

What are the possible OUIs for the Ethernet MAC address?

To elaborate the answer from @cachius: the OUI has changed from B8-27-EB (hex) Raspberry Pi Foundation B827EB (base 16) Raspberry Pi Foundation Mitchell Wood ...
Ingo's user avatar
  • 42k
14 votes
Accepted

Make permanent change in the routing table

Is there a way to automatize this process so I won't have to manually do it every time I turn on the Raspberry? That's not needed if question #2 can be solved - and it can... Is there a way to ...
Thomas Weller's user avatar
13 votes
Accepted

Force IPv4 address

Raspbian Jessie no longer has a file called /etc/sysctl.d -- it's now a folder of the same name. According to the read-me file in the same folder, README.sysctl, it basically says that any .conf file ...
Jim's user avatar
  • 392
13 votes
Accepted

Pi using a random MAC address after every reboot. How do I stop this behavior?

Open a Terminal window and run: sudo nano /boot/cmdline.txt If in the file you see any mention of a MAC address remove it from the file. Then exit the file with saving. To set a fixed MAC address ...
Darth Vader's user avatar
  • 4,206
12 votes

Connect raspberry pi to pc (ubuntu) with ethernet

simple way: connect raspberry pi to laptop with Ethernet. Go the edit connection setting. Navigate to ipv4 option. Select method : shared to other computer. Then open command prompt and type command ...
jitendra sonawane's user avatar
11 votes

Raspberry Pi 3 - eth0 wrongfully named 'enx...'

This is NOT a "bug" it is a "feature" "consistent network device naming". (I don't see anything consistent about it.) There are probably many ways of "fixing" ...
Milliways's user avatar
  • 59.5k
11 votes

Sharing the Pi's WiFi connection through the Ethernet port

Being your purpose provide internet access to your LAN devices, will assume double 'NAT' will not be a big issue. With this configuration you will provide wireless access to non WiFi devices that will ...
fcm's user avatar
  • 1,839
11 votes

Access point as WiFi router/repeater, optional with bridge

This is in addition to the Ingo’s outstanding description. Here we would like to use the default networking system of Raspbian (assuming to have previously configured it) rather than replacing it with ...
ircama's user avatar
  • 178
10 votes

What's the cheapest way to get network connectivity to the Pi Zero?

For me, the cheapest and easiest way to get Ethernet to the Zero was over USB to my host. I found the link here was the easiest and quickest, set a static IP for the USB0 network connection and it ...
Clinton Johnson's user avatar
10 votes

Why are static IP Addresses in Raspberry Pis frowned upon?

I was the author of one of the articles you mentioned (which I wrote in sheer frustration at the number of questions about setting up networking). There are a few objections to static IP addresses. ...
Milliways's user avatar
  • 59.5k
9 votes

Designing Raspberry Pi Compute Module with Ethernet capability

You can also use the ENC28J60 Module, which is only a few dollars from the usual places - ebay, aliexpress etc, and won't consume your USB port. To do this, wire things up: Pi ENC28J60 ---...
Élie's user avatar
  • 191
9 votes

What's the cheapest way to get network connectivity to the Pi Zero?

A better ESP8266 solution is to connect it as a SDIO device on the GPIO port. This is inexpensive and can get you ~40Mb/s over wifi http://oshlab.com/esp8266-raspberry-pi-gpio-wifi/ A little ...
John La Rooy's user avatar
  • 11.9k
9 votes

Raspberry PI 3 MODEL B - Wireless Bridge to ethernet

This is not currently possible. Wireless bridges require 802.11 frames to store 4 addresses (sender, receiver, destination and source), and standard 802.11 frames only store 3 addresses. While there ...
Dmitry Grigoryev's user avatar
9 votes

RPi zero ethernet connection via HDMI port using a HDMI to RJ45 adaptor

No. HDMI to Ethernet adapters are used to send HDMI display data over an Ethernet cable, rather than network data over HDMI. This won't work.
goobering's user avatar
  • 10.7k
8 votes
Accepted

SoC/CPU and Ethernet controller internal connection in Raspberry Pi 3

Does this mean that all the USB peripheral devices AND Ethernet controller share the single USB port to SoC/CPU also in Raspberry Pi 3? Yes. All USB ports and the ethernet jack have a combined ...
goldilocks's user avatar
  • 58.7k
8 votes

Gigabit USB ethernet running at 100mb/s

The USB2 bus support speeds far higher than 100 Mbps, so you should indeed expect to see better speeds. USB2 network adapters cap out at 100 Mbps (IME), but backward-compatible USB3 gigabit adapters ...
bobstro's user avatar
  • 3,998
8 votes

Access point as WiFi router/repeater, optional with bridge

This answer is not thought for setup. For setup look at the other answer to this question starting with Setup wifi repeater. This is mainly for troubleshooting and to show how it works with detailed ...
Ingo's user avatar
  • 42k
7 votes

Force IPv4 address

sudo nano /etc/sysctl.conf append the following lines to turn off ipv6: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 run sudo sysctl -...
AlexOnLinux's user avatar
7 votes

SSH to RPI using android hotspot and PC

At least with the Raspberry Pi 3 (didn't try with a 2 and a WiFi dongle) and a Mac is easy: Configure your Raspberry Pi to connect your hotspot (I have two different WLAN blocks, one for the WiFi at ...
tnarik's user avatar
  • 71
7 votes
Accepted

Power consumption of LAN vs WLAN

LAN almost certainly uses less power. This benchmark claims: The built-in Ethernet requires 2mA Pi 3 built-in Wi-Fi consumes around 20mA when idle So that's a factor of 10x, when idle. You ...
Aurora0001's user avatar
  • 6,298
6 votes
Accepted

Problem with QinHeng CH9200 driver - Pi 2 (4.1.7-v7+)

Important: Follow these instructions meticulously Note: The OP is using Wheezy and the latest kernel version from raspberrypi-bootloader then is 4.1.7-v7+, while on jessie that version is 4.1.13-v7+...
Diederik de Haas's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible