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 2007-12-02 19:21:28

td-dns323
Member
Registered: 2007-06-06
Posts: 25

Can't shutdown with power off button with debian

Hi all.

I successfully installed Debian on my DNS-323 ( http://dns323.kood.org/howto:install_debian ).

I browse all the forum and i can't find to how shutdown the DNS with the power-off button.

Thanks for your help.


********************************
2 DNS-323 with 4 Seagate ATA 500 Go 16 Mo cache UDMA-300 7200 rpm Barracuda 7200.10 in Raid 1 -Firmware 1.03

Offline

 

#2 2007-12-02 19:36:37

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: Can't shutdown with power off button with debian

If you run native debian you need to figure out how to monitor the power button yourself.

One of the drawbacks of running native debian.

Offline

 

#3 2007-12-02 19:42:59

td-dns323
Member
Registered: 2007-06-06
Posts: 25

Re: Can't shutdown with power off button with debian

Thanks frodo.

But how to do this ?


********************************
2 DNS-323 with 4 Seagate ATA 500 Go 16 Mo cache UDMA-300 7200 rpm Barracuda 7200.10 in Raid 1 -Firmware 1.03

Offline

 

#4 2007-12-02 19:46:52

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: Can't shutdown with power off button with debian

You need to figure the device driver being used in the official release and se if you can install it in your native debian. Me personally don't think it is that important. Why you might ask? If you gone through the trouble to install a native debian you are most probably very familiar with linux. And if you really use the shutdown or init command to manage such tasks. ;-)

Doesn't poweroff or init 5 shut off the dns-323?

Offline

 

#5 2007-12-02 20:00:37

td-dns323
Member
Registered: 2007-06-06
Posts: 25

Re: Can't shutdown with power off button with debian

The purpose is simple :

i'm not the only user for dns-323.

i just want to have the same functionnality with original firmware (pushing button for more than 5 seconds power off the DNS).


********************************
2 DNS-323 with 4 Seagate ATA 500 Go 16 Mo cache UDMA-300 7200 rpm Barracuda 7200.10 in Raid 1 -Firmware 1.03

Offline

 

#6 2007-12-02 20:42:40

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: Can't shutdown with power off button with debian

You probably want to examine the following binary from the standard firmware:

root      1044     1  0 Nov16 ?        00:00:00 chkbutton


It is most probably responsible to handle the shutdown. However I think it does a lot more so be careful.

Don't know if the source code is available or not...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB