1

I have successfully created a WiFi hotspot for my RPi 3B+ using a Hologram Nova and the embedded WiFi card on the Pi. However I realized that the ethernet interface has disappeared and cannot extend the hotspot to the Ethernet interface.

My setup is a mix of tutorials on how to create a hotspot but the main gist can be found here. I only changed the interface to be taken as the source the ppp0 instead of eth0.

Now I find myself needing to use the ethernet interface to plug a device that has no WiFi capabilities but does have the ethernet interface.

So my question is, how can I modify my hotspot to allow the dhcp server to serve the ethernet interface as well? I would like it to be dynamic as well so that I could potentially add an ethernet switch for more local devices.

Your help would be greatly appreciated!

As per your request, I ran:

ip --brief link show

result

And when I run

ifconfig

I get lo, ppp0 and wlan0 but no eth0.

Here is a screenshot of my current /etc/network/interfaces file

network/interfaces

Agustin
  • 146
  • 12

1 Answers1

1

On your installation you have predictable network interface names enabled so you will not always find classical interface names like eth0. Your wired interface has the name enxb827eb3f0e89. Instead of eth0 you have to use this name.

If you don't like predictable network interface names you can use sudo raspi-config to disable it with "2 Network Options -> N3 Network interface names". If it doesn't help you can edit /boot/cmdline.txt and add net.ifnames=0 to the line.

You can use the wired interface name (whatever name do you use) to configure either a routed or bridged interface. I suggest to use a bridge together with the wlan0 interface so all devices on wifi and wired are on the same subnet. I do not use deprecated ifupdown, managed with /etc/network/interfaces, since years so I cannot help much with this setup to create a bridge. I use systemd-networkd and do it this way: How can I set my pi 3 up to be WiFi AND ethernet router simultaneously?. In that setup I think you could just replace usb0 with ppp0.

Ingo
  • 42,961
  • 20
  • 87
  • 207