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-14 15:51:08

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

How chkbutton start with dlink firmware ?

Hello.

I don't find how chkbutton is started in normal Dlink environnment.

Does someone know that ?

Result of ps command : 1310 root     chkbutton

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-14 17:07:37

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: How chkbutton start with dlink firmware ?

have a look at /etc/rc.sh

Offline

 

#3 2007-12-14 18:43:43

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: How chkbutton start with dlink firmware ?

The wiki has a good description of the DNS-323 startup process here: http://dns323.kood.org/howto:fun_plug


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#4 2007-12-15 11:47:37

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

Re: How chkbutton start with dlink firmware ?

Ok.

Thanks for your help.

DNS-323 Boot Process don't work in Wiki (error message "Not found").

In fact, i have this problem :

I've installed full Debian etch on my DNS (http://dns323.kood.org/howto:install_debian).

When i launch "chkbutton" it stay 3 seconds and after, it stopped.

If you have any idea about this problem...

Thanks.


********************************
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

 

#5 2007-12-15 19:34:19

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: How chkbutton start with dlink firmware ?

The wiki still needs some work to recover from the recent outage: http://dns323.kood.org/forum/t1337-Downtime.html

I'm not positive about this, but the problem might be that chkbutton (in the D-Link firmware)
was compiled with uClibc and your native (not chroot) Debian etch install runs with glibc .

I typed:

  # strings /usr/sbin/chkbutton | less

and from the looks of the output, chkbutton addresses a lot more functions than just the power button.


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#6 2007-12-16 02:41:30

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

Re: How chkbutton start with dlink firmware ?

Try

ldd /usr/sbin/chkbutton

To see lib dependencies.

Offline

 

#7 2007-12-16 21:58:28

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

Re: How chkbutton start with dlink firmware ?

# ldd /usr/local/sbin/chkbutton
        libc.so.0 => /lib/libc.so.0 (0x4000d000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)

I have these two files in /lib (because i follow howto:debian :
                                                         192:~/dns323-oldfs# cp ~/dns323-oldfs/lib/ld-uClibc.so.0 /lib
                                                         192:~/dns323-oldfs# cp ~/dns323-oldfs/lib/libc.so.0 /lib).

Have you some idea ?

Thanks.


********************************
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

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB