[viwib] remove 192.168.1.1 (runtime)
This commit is contained in:
parent
1b0d8220e6
commit
02ea7054b1
1 changed files with 3 additions and 2 deletions
|
@ -112,6 +112,9 @@ uci delete wireless.radio0.disabled
|
|||
|
||||
uci commit
|
||||
|
||||
# ensure no overlapping networks are there
|
||||
ip addr del 192.168.1.1/24 dev br-lan
|
||||
|
||||
ping -c5 ungleich.ch || exit 1
|
||||
|
||||
# update the sources
|
||||
|
@ -177,14 +180,12 @@ uci set firewall.@zone[1].network='wan wan6 wg0'
|
|||
|
||||
uci commit
|
||||
|
||||
|
||||
# Remove our ssh keys
|
||||
rm -f /etc/dropbear/authorized_keys
|
||||
|
||||
# Setup root password
|
||||
printf "${root_password}\n${root_password}\n" | passwd
|
||||
|
||||
|
||||
reboot
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue