This commit is contained in:
Miguel Fuertes committed 2025-10-04 01:23:49 +02:00
1 parent 8a18c714d0
commit 7dbda5102b
1 file changed
+4 -9
+4 -9
View File
@@ -1,8 +1,9 @@
#!/bin/sh
# Enabling WiFi
uci set wireless.@wifi-device[0].disabled='0'
uci set wireless.@wifi-iface[0].disabled='0'
# Enabling WiFi
# (disabled as wifi does not boot soon enougth, enable manually in luci)
# uci set wireless.@wifi-device[0].disabled='0'
# uci set wireless.@wifi-iface[0].disabled='0'
# Create modem interface
uci set network.modem=interface
@@ -19,12 +20,6 @@ uci add_list firewall.@zone[1].network='modem'
# Commit all changes
uci commit
# Reload WiFi driver to load firmware
logger -t uci-defaults "Reloading wcn36xx driver"
rmmod wcn36xx 2>/dev/null || true
sleep 1
modprobe wcn36xx
# Apply network and wireless configuration
wifi reload
/etc/init.d/network restart