DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-02-01 06:15:18

zavala
Member
Registered: 2010-09-13
Posts: 11

Can I shutdown the NSA220 from the console?

Hello,

Sorry if this question is a little bit dumb, but I tried unsuccessfully to issue the init 0 command from the console (it does nothing).
How does Zyxel shutdown the NSA from the browser? I would like to be able to accomplish this without having to use a browser, just an ssh session.

Offline

 

#2 2011-02-01 11:19:47

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Can I shutdown the NSA220 from the console?

/sbin/halt

Offline

 

#3 2011-02-02 16:49:49

zavala
Member
Registered: 2010-09-13
Posts: 11

Re: Can I shutdown the NSA220 from the console?

Thanks for your help Mijzelf, it worked like a charm.

On the other hand, I was wondering if there is an easy way to wake up the nsa220plus (besides pressing the ON button), since it has the ability to wake up on a schedule.
I tried waking it up using the WOL packet but it seems that the network interface is not capable to turn on the device.
I am guessing that maybe a 3.3V pulse somewhere must do the trick. Any advice on this topic would be very appreciated.

Last edited by zavala (2011-02-02 16:50:18)

Offline

 

#4 2011-02-02 20:29:18

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Can I shutdown the NSA220 from the console?

The 220+ can automatically power-on after power-loss, AFAIK. So you can switch it on by powercycling it. Further the powerbutton is connected to a GPIO pin of the SoC. So I suppose it does nothing more than shorting a 3.3V line to that SoC pin. This means that you could also provide that 3.3V yourself. I'm not sure about this. I don't know if it's the SoC who switches on the box, or if there is some dedicated hardware. The 'normal' poweroff by the button is handled by the SoC.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB