Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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)

share|improve this question

4 Answers 4

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.

share|improve this answer
    
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
/etc/init.d/network reload

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

share|improve this answer

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
share|improve this answer

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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