fixed default gateway
This commit is contained in:
parent
e12ef554d4
commit
fb43187560
2 changed files with 1 additions and 3 deletions
|
@ -3,8 +3,7 @@
|
|||
config="auto $1
|
||||
iface $1 inet static
|
||||
address 192.168.16.1
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.16.0"
|
||||
netmask 255.255.255.0"
|
||||
|
||||
echo -e "$config" | sudo tee /etc/network/interfaces.d/network >/dev/null
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue