|
|
@ -309,15 +309,18 @@ uci set wireless.default_$apall.network='lan' # Make sure the Wi-Fi is part of t
|
|
|
|
|
|
|
|
|
|
|
|
# Commit all changes
|
|
|
|
# Commit all changes
|
|
|
|
uci commit network
|
|
|
|
uci commit network
|
|
|
|
|
|
|
|
uci commit system
|
|
|
|
|
|
|
|
|
|
|
|
# In case of separate wireless config, commit that too
|
|
|
|
# In case of separate wireless config, commit that too
|
|
|
|
uci commit wireless
|
|
|
|
uci commit wireless
|
|
|
|
|
|
|
|
|
|
|
|
# Restart the network to apply changes
|
|
|
|
# Restart the network to apply changes
|
|
|
|
/etc/init.d/network restart
|
|
|
|
/etc/init.d/network restart
|
|
|
|
|
|
|
|
/etc/init.d/system reload
|
|
|
|
|
|
|
|
|
|
|
|
# restart wifi
|
|
|
|
# restart wifi
|
|
|
|
wifi reload
|
|
|
|
wifi reload
|
|
|
|
|
|
|
|
wifi up
|
|
|
|
|
|
|
|
|
|
|
|
# Removing firewall configuration
|
|
|
|
# Removing firewall configuration
|
|
|
|
mv /etc/config/firewall /etc/config/firewall.unused
|
|
|
|
mv /etc/config/firewall /etc/config/firewall.unused
|
|
|
|