40

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 'heavyweight', you can use the isc-dhcp-server and bind9 packages for DHCP and DNS respectively, but for our purposes, dnsmasq works just fine. sudo apt-...


32

Two options: a) Buy Micro USB RJ45 adapter for $2.15 b) USB RJ45 adapter for $1.50 and a Micro USB OTG adapter for $0.23 (total price $1.73) Some of the articles may be cheaper if you buy them using the mobile app.


31

I've been using my model B as a router with traffic shaping, using just the one Ethernet port it comes with. Here's a quick-and-dirty on how: Enable IPv4 Forwarding, so your Pi acts as a router by forwarding any traffic it receives Configure your Pi with static network configuration so it will not be influenced by DHCP changes suggested below. Here are the ...


29

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 it incapable of being used for Gigabit Ethernet connections (Fast ethernet needs only 4 wires while Gigabit needs all 8 of them). I switched to a proper Cat 5e ...


27

No, the Pi Zero does not support ethernet over HDMI. Unfortunately the schematics for the Pi Zero are not available (edited: an overview schematics is available now, see updated information below). However since it is essentially an minimized Pi 1 I'd bet that the HDMI circuitry is (nearly) the same - though the Pi 1 features a standard sized HDMI connector ...


25

This applies to Raspbian Wheezy prior to 2015-05-05 for later (and Jessie/Stretch) See How do I set up networking/WiFi/Static IP As suggested by the community, my answer extracted from the question. I got it working right now so I'll share all my configuration files with the community. Firstly lets look at the wpa_supplicant.conf file: pi@raspberrypi ~ $ ...


24

Ethernet over SPI One of the cheapest ways is to connect an Ethernet controller over the SPI bus. Such a controller could be for example ENC28J60 which is often being used for Ethernet connectivity for Arduino. Latest Linux kernels for Raspberry Pi have a driver with a device tree overlay. See for example https://github.com/raspberrypi/linux/issues/795 The ...


23

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 this fix worked. I'm running a Raspberry Pi 3 with Ubuntu 16.04 preinstalled server armhf. Long story short, running $ apt-get update added Predictable Network ...


21

The best resource to find the most current OUI assignments is from the MAC Address Block Large (MA-L) Public Listing at the IEEE -- http://standards.ieee.org/develop/regauth/oui/public.html. A complete list of OUI assignments is compiled daily and is available at http://standards-oui.ieee.org/oui.txt. According to this list there is a single OUI/MA-L ...


18

Tested on a Raspberry Pi 4B with Raspbian Buster Lite 2019-07-10 updated on 2019-08-15. Updates done with sudo apt update && sudo apt full-upgrade && sudo reboot. It will not work with Raspbian Stretch! Here you will find the last tested revision for Raspbian Stretch Lite. Using systemd-networkd instead of default dhcpcd is of course ...


16

Here are the steps to share your PC's wireless internet connection with a Pi: Connect the Pi to PC's ethernet port using a regular ethernet cable Go to "Network Connections" on the Windows PC and select the "Wireless Network Connection" Right-click and select properties. In the "Sharing" tab under "Internet Connection Sharing" enable both checkboxes. ...


15

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=="add", DRIVERS=="?*", ATTR{address}=="b8:ac:6f:65:31:e5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" replace b8:ac:6f:65:31:e5 with ...


14

There is the Banana Pi: It can apparently run Debian (or Raspbian, but apparently Debian can be used), Ubuntu and 'bastardized Linux' (Android). It seems to have all/most of the features of the Raspberry Pi, with a few more: Allwinner A20 ARM Cortex-A7 dual-core 1GHz GPU with Mali400MP2 GPU Extensible Storage with SATA connection Microphone input Gigabit ...


14

We are talking about an access point together with a wlan0 client connection to another wifi network (wlan repeater) or an internet router. If you want an access point together with an ethernet port eth0 as uplink to a switch or an internet router then look at Setting up a Raspberry Pi as an access point - the easy way. Tested on a Raspberry Pi 4B with ...


10

Having a little network background, the first thing that comes to mind is use it as a Snort box, and then you don't have to worry about only having one interface. You would setup your switch/router to forward all traffic to the Pi, but also pass it onto the end device. This is known as a switchport monitor, but your device may not support it. You may need ...


10

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. You have to reconfigure the Pi every time you move it to a new network. This is despite the fact that almost every network/router has a DHCP server to do this ...


10

If you are on Raspbian then raspi-config is easiest method. sudo raspi-config Select "2. Network options" Select "N3 Network interface names" Select "No". It's now disabled predictable network interface names. Click "OK" and "Finish". Then it will reboot your raspberry pi. Done.


9

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 will be read in at boot time and processed. Any legal file name will work, but they suggested local.conf, so that's what I used. I created /etc/sysctl.d/local....


9

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 works perfectly for SSH to the Zero when plugged into USB on my laptop and desktop. On windows 10 it does come up as a USB serial port, you have to specify the ...


9

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 automatize it so that it will always recognize it must get the internet from the Wifi independently of the IP range given by the hotspot DCHP to this interface? ...


9

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.


9

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 run: sudo nano /boot/config.txt Add the following line if it does not already exist: smsc95xx.macaddr=B8:AA:BC:DE:F0:12 Again, exit the file with saving. B8:...


8

If a device does not have internet access or other access outside the local subnet, then you should eliminate the gateway. Listing a gateway on both interfaces is likely the culprit. If the ethernet is for the local subnet only remove that gateway.


8

[Most of this answer is outdated and will not be useful with versions of Raspbian beyond the first one, "jessie".] If all the ethernet lights are on when the cable is in, and you can connect a monitor and keyboard or a serial line as John suggests, you should be able to get the connection up. First, just run ifconfig. Possibly eth is not up, and you will ...


8

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 maximum throughput equal to one USB 2.0 port. It is not uncommon for computers of all sorts to combine several USB ports on one hub this way, although including an ...


8

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 are implementations of 4-address mode called WDS, they are vendor-specific and only supported on router hardware (meaning you should use hardware from the same ...


8

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 can use the capabilities of the USB2 bus to achieve higher than 100 Mbps. I did similar testing using dual USB adapters on a RPi 3B. Your network switch may not ...


7

After doing some experimentation of my own I done the following to experiment: USB to TTL / Debug cable with 5V via multimeter. Normal boot at login screen with just the power and network connected was about 420-380Ma I first turned off networking via /etc/init.d/networking stop and then the chip by echo 0 > /sys/devices/platform/bcm2708_usb/buspower ...


7

Change directories to access the network settings: # cd /etc/netctl # cp examples/ethernet-static ./eth0 We need to edit the configuration file, etch0, and add in the settings we need. Before you proceed, you will need the following: Static IP address – I’m using 192.168.1.36. The netmask I’m using is 255.255.255.0 which is defined as "/24" or the first ...


7

The Broadcom BCM2835 does not have on-board ethernet so just like the standard raspberry pi you will need to add ethernet via USB. On the B/B+ the ethernet was provided via the LAN9512 USB hub/ethernet chip. So for the compute module development board you can just get a compatible USB ethernet adapter. For a device built around the compute module you might ...


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