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 2014-02-19 03:06:12

erribee
New member
Registered: 2014-02-19
Posts: 1

DNS-722-4 DLink

Has anyone any experience with this nvr? looks like a dns-323 with different firmware
There is any possibility to install fun plug or flash the firmware with another one?

Offline

 

#2 2014-02-19 20:49:53

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

Re: DNS-722-4 DLink

I took the firmware apart, and it seems to be able to funplug it. According to /etc/inittab the script /etc/rc.sh. This script contains almost at the end the line

Code:

/usr/sbin/chk_fun_plug &

(BTW, a few lines later there is 'utelnetd -d', so the box might run a telnet deamon)

The script /usr/sbin/chk_fun_plug contains

Code:

#!/bin/sh

sleep 30

Dir_Len=28
Filename_Len=26
CUSTOMIZEHDPATH=/sys/custom/shared_name/HD

file=$(find "$CUSTOMIZEHDPATH"/*) 
HD_Path=`expr substr "$file" "$Dir_Len" "$Filename_Len"`
HD_Path=$HD_Path"a2"

if [ -e /mnt/$HD_Path/fun_plug ]; then
    echo "function plug enable"
    /mnt/$HD_Path/fun_plug
fi

Further the kernel (2.6.22.7) is intended for a Marvell SoC, I think an Orion, and possibly the box has only 32MB ram. The kernel contains a line 'console=ttyAM0 root=/dev/nfs rw nfsroot=10.4.50.31:/home/rshitrit/cramfs-1.1/cramfs-1.1/shoko2 mem=32M ip=10.4.50.99:10.4.50.31:::ARM:eth0:none'

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB