public:use_raspberry_4_as_router
Ceci est une ancienne révision du document !
Stop DHCPCd
DHCPCD is standard on raspbian, but for this use it is not clear that it has advantages over good old networking service. So it is disabled (source here).
systemctl stop dhcpcd systemctl disable dhcpcd apt remove dhcpcd5
Basic network/interface is set :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.163.252
netmask 255.255.255.0
gateway 192.168.163.254
network 192.168.163.0
broadcast 192.168.163.255
dns-nameservers 192.168.163.30 8.8.8.8
dns-search couderc.eu
After :
ifup eth0
the old and the new IP addresses should ping…
public/use_raspberry_4_as_router.1584702080.txt.gz · Dernière modification : de pcouderc
