New answers tagged

2

Using systemd-networkd it is simple to achieve what you want. First use it with: # disable classic networking rpi ~$ sudo -Es rpi ~# systemctl mask networking.service dhcpcd.service rpi ~# mv /etc/network/interfaces /etc/network/interfaces~ rpi ~# sed -i '1i resolvconf=NO' /etc/resolvconf.conf # enable systemd-networkd rpi ~# systemctl enable systemd-...


1

You will need to disable dhcpcd (which implements the DHCP client) and set up a static IP address. You can refer to this answer if you're unsure how to do that. Then you'll need to install (sudo apt-get install) and configure dhcpd (which implements the DHCP server). Essentially, you will need to define a subrange of dynamic IP addresses which can be ...


Top 50 recent answers are included