How to disable autostart on wifi?

this will prevent the broadcast from starting at all? does rc.local execute early enough?

Usually the WiFi is on the last state you set. If you always want it off, add the disable commands to a startup script.

As noted:

Feel free to inquire if you have questions about this.

1 Like

Mine's actually a kill script, if you want to be picky about it, but I guess an Sxx script would work too... ,)

1 Like

tried that. doesnt work. system still starts with the wifi AP running.

using the script causes the enabling to persist across reboots. i have installed the wifitoggle package, which seems capable of doing what i want. but there are no physical buttons on the router.

https://openwrt.org/docs/guide-user/network/wifi/wifi_toggle#wi-fi_disable_after_boot

2 Likes

doesnt work. enabling still persists.

In /etc/rc.local

ifconfig wlan0 down
ifconfig wlan1 down

take out the driver, manually reinstall when required, remove when done. Can be scripted.

Alternatively, softlink config to /tmp

1 Like

clearly I was joking, but I'm trying to understand the reason and the meaning of this. i do not get that.