5

After I manually edit the:

vi /etc/config/wireless

file, what should I do to apply the modifications? Until this day I rebooted the router, but aren't there any better solutions? (and no, www is disabled on the router)

4
/etc/init.d/network reload

source: http://wiki.openwrt.org/doc/techref/netifd

  • 1
    No, what you are saying here is for /etc/config/network, not for /etc/config/wireless – huangzonghao Sep 1 '18 at 4:15
  • @huangzonghao When you run /etc/init.d/network reload it calls /sbin/wifi reload_legacy in the reload_service part of the script so it does reload the wireless settings. – Terrance Apr 6 at 2:45
1

From the Unified Configuration Interface:

No need to reboot

After changing the port uhttpd listens on from 80 to 8080 in the file /etc/config/uhttpd, save it. Then do

uci commit uhttpd

And then a

/etc/init.d/uhttpd restart

Done. No reboot needed.

  • 1
    This is for httpd, but I can't figure out the wireless as was in the Q – gasko peter Jan 25 '13 at 10:05
1

There is special wifi command. There is a lot of references but I didn't find any standalone manual for it.

Usage: /sbin/wifi [down|detect|reload|status]

To apply wireless settings use

wifi reload
0

It is a good practice to reboot the router so that new wireless changes can be applied to the wireless portion of the router. Alternatively, you can use:

wifi down
wifi up
0

None of the answers worked for me. The only one that works fine, run:

/sbin/wifi

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.