Update openwrt.sh
set network.lan.ipaddr=192.168.2.1
This commit is contained in:
parent
2a80ed7184
commit
89e933e85e
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ send_line_to_vm "uci delete network.lan"
|
||||||
send_line_to_vm "uci set network.lan=interface"
|
send_line_to_vm "uci set network.lan=interface"
|
||||||
send_line_to_vm "uci set network.lan.device=eth1"
|
send_line_to_vm "uci set network.lan.device=eth1"
|
||||||
send_line_to_vm "uci set network.lan.proto=static"
|
send_line_to_vm "uci set network.lan.proto=static"
|
||||||
send_line_to_vm "uci set network.lan.ipaddr=192.0.2.1"
|
send_line_to_vm "uci set network.lan.ipaddr=192.168.2.1"
|
||||||
send_line_to_vm "uci set network.lan.netmask=255.255.255.0"
|
send_line_to_vm "uci set network.lan.netmask=255.255.255.0"
|
||||||
send_line_to_vm "uci set firewall.@zone[1].input='ACCEPT'"
|
send_line_to_vm "uci set firewall.@zone[1].input='ACCEPT'"
|
||||||
send_line_to_vm "uci set firewall.@zone[1].forward='ACCEPT'"
|
send_line_to_vm "uci set firewall.@zone[1].forward='ACCEPT'"
|
||||||
|
|
Loading…
Reference in a new issue