How to reboot Linksys WAG120N router?

For some reason unknown to me there is no reboot option in web-based user interface but it doesn't mean that it cannot be done easily as you just need to use one specific URL parameter.

Using web browser

Navigate to http://192.168.1.1/setup.cgi?todo=reboot and provide your login credentials.

Using wget

Execute command:

$ wget -O /dev/null -nv --user admin --password 'password' http://192.168.1.1/setup.cgi?todo=reboot

Using curl

Execute command:

$ curl -o /dev/null -s -u 'admin:password' http://192.168.1.1/setup.cgi?todo=reboot

28.12.2014 - Update

I was pointed out by Daniel Kämmerling that recent firmware version does not support this functionality anymore, but you can use the following version.

About Milosz Galazka

Milosz is a Linux Foundation Certified Engineer working for a successful Polish company as a system administrator and a long time supporter of Free Software Foundation and Debian operating system.