try odhcpd
This commit is contained in:
@@ -2,9 +2,5 @@ auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet manual
|
||||
pre-up ip link set dev eth0 up
|
||||
up dhcpcd --nobackground --ipv4only --waitip=4 eth0
|
||||
|
||||
down dhcpcd --release eth0
|
||||
post-down ip link set dev eth0 down
|
||||
iface eth0 inet dhcp
|
||||
post-up ip route del default || true; ip route add default via GATEWAY_ADDRESS
|
||||
|
||||
Reference in New Issue
Block a user