goalmarketing / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

Questions: rebooting router via telnet/ssh & wifi up/down #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm quite used to some linux distros which can be rebooted using the "reboot" 
command. I found out that the vigor2130 can also be rebooted using this command 
and did this yesterday. Strange thing was: This morning the WAN link was not 
working anymore. The "online" page in the webui showed that everything is ok 
(everything was green), but it was not possible to read e-mail, browse web 
pages, ...

After I rebooted the device through web interface everything came back to 
normal. So my question is, could the "reboot" command be responsible for the 
WAN being not working and if so is there another/better command to reboot your 
router?

Second question. How do I turn on/off wifi through cli? I found various posts 
in openwrt forums but there are different solutions based on different routers. 
So what commands have to be issued on a 2130n to accomplish this. BTW: I don't 
want to toggle it. I just want to be able to turn it on/off through ssh no 
matter what the current state is

Original issue reported on code.google.com by elserma...@gmail.com on 1 Feb 2012 at 7:14

GoogleCodeExporter commented 8 years ago
Actually I bleieve that first thing you described is unrelated to the method of 
reboot used since I had it happen several times on simple reconnects. Using the 
reboot command should be just fine.

I found that in the situation you described the router actually had a 
connection (tried by pinging sites on the internet from the webinterface) but 
wasn't propagating the necessary information to the LAN clients.

For the second question just try the regular linux commands
ifup raX 
ifdown raX
ifconfig raX up
ifconfig raX down

Original comment by TheEvilO...@googlemail.com on 1 Feb 2012 at 11:09