use dhcpcd
This commit is contained in:
@@ -3,5 +3,8 @@ iface lo inet loopback
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet manual
|
||||
post-up dhclient -v eth0
|
||||
pre-down dhclient -x eth0
|
||||
pre-up ip link set dev eth0 up
|
||||
up dhcpcd --nobackground --static routers=GATEWAY_ADDRESS eth0
|
||||
|
||||
down dhcpcd --release eth0
|
||||
post-down ip link set dev eth0 down
|
||||
|
||||
Reference in New Issue
Block a user