pio007
November 10, 2024, 11:19pm
1
Hi,
i try to turn off my wireless radio0 (by cronjob) according to the documentation via CLI:
uci set wireless.default_radio0.disabled=…1…
uci commit wireless
/etc/init.d/wireless restart
But with the last command i get this error: -ash: /etc/init.d/wireless: not found
So i am not able to restart the wifi of my RUTX50 and load the settings.
I can’t find the error…
Thank you fpr your help.
Marc
Hello,
Try /sbin/wifi reload .
Regards.
pio007
November 11, 2024, 6:02am
3
Hi,
thank you for your post.
/sbin/wifi reload is also not working…
Marija
November 11, 2024, 6:09am
5
Hello,
Please use /etc/init.d/network restart
instead of /etc/init.d/wireless restart
.
Hope this helps!
Best regards,
pio007
November 11, 2024, 6:30am
6
Hi.
I tried this also in the past.
No wifi restart / change of the state…
Marija
November 11, 2024, 6:52am
7
I have just tested executing these commands on the RUTX50:
uci set wireless.default_radio0.disabled='1'
uci commit
/etc/init.d/network restart
The wireless interface was successfully disabled. Please ensure that you have entered all the commands correctly. Try running them again and let me know how it goes.
Best regards,
pio007
November 11, 2024, 12:28pm
8
perfect! That works.
The problem was the …1…
‘1’ is correct.
Thank you very much…
Marija
November 11, 2024, 12:58pm
9
You’re welcome!
If you have any further questions or need additional assistance, please feel free to reach out.
Best regards,
system
Closed
November 25, 2024, 11:20pm
10
This topic was automatically closed after 15 days. New replies are no longer allowed.