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-09-17 22:21:52

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

funplug-0.3 and chroot etch not working

Hello.

I'have successfully installed fonz funplug-0.3.

After, "cd /mnt/HD_a2", command "chroot etch" stop with message "chroot: cannot execute /mnt/HD_a2/fun_plug.d/bin/sh: No such file or directory".

I was previously running wiki funplug and etch without problems.

Could someone help me ?

Thanks.

/*/*/*/*

MYDNS323 login: root
Password:


BusyBox v1.6.1 (2007-07-22 13:51:10 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.


/mnt/HD_a2 # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw,nodiratime)
/dev/loop0 on /sys/crfs type cramfs (ro)
/dev/md0 on /mnt/HD_a2 type ext2 (rw)
none on /proc/bus/usb type usbfs (rw)
devpts on /dev/pts type devpts (rw)

/mnt/HD_a2 # chroot etch
chroot: cannot execute /mnt/HD_a2/fun_plug.d/bin/sh: No such file or directory
/mnt/HD_a2 # ls
DLINK DNS-323  Fichiers       Files          etch           etch.tar       fun_plug       fun_plug.d     lnx_bin

/mnt/HD_a2 # env
USER=root
LD_LIBRARY_PATH=/mnt/HD_a2/fun_plug.d/bin/lib
OLDPWD=/home/root
HOME=/home/root
LOGFILE=/mnt/HD_a2/fun_plug.d/log/fun_plug.log
BINDIR=/mnt/HD_a2/fun_plug.d/bin
LOGNAME=root
LIBDIR=/mnt/HD_a2/fun_plug.d/bin/lib
FUNPLUGDIR=/mnt/HD_a2/fun_plug.d
TERM=vt102
PATH=/mnt/HD_a2/fun_plug.d/bin:/sbin:/usr/sbin:/bin:/usr/bin
FUNPLUGTAR=/mnt/HD_a2/fun_plug.tar
ETCDIR=/mnt/HD_a2/fun_plug.d/etc
LOGDIR=/mnt/HD_a2/fun_plug.d/log
SHELL=/mnt/HD_a2/fun_plug.d/bin/sh
VOL1=/mnt/HD_a2
VOL2=/mnt/HD_b2
PWD=/mnt/HD_a2
/mnt/HD_a2 #


********************************
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-09-18 17:41:19

dkl
Member
From: Toulouse
Registered: 2007-06-16
Posts: 104

Re: funplug-0.3 and chroot etch not working

Hello,
I would say your path is not correct once you are "chrooted", as "/mnt/HD_a2/fun_plug.d/bin/sh" is not a valid directory while chrooted. You could set the PATH a correct value before entering chroot, or use "chroot etch /bin/sh", depends what you need to do after...

Offline

 

#3 2007-09-19 22:27:40

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

Re: funplug-0.3 and chroot etch not working

Thanks for your reply.

With your command, chroot is no working, but i'cant see my files (ls /mnt/HD_a2 is empty).

Where is the problem ?

Thanks.

/*/*/*/*/*

MYDNS323 login: root
Password:


BusyBox v1.6.1 (2007-07-22 13:51:10 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw,nodiratime)
/dev/loop0 on /sys/crfs type cramfs (ro)
/dev/md0 on /mnt/HD_a2 type ext2 (rw)
none on /proc/bus/usb type usbfs (rw)
devpts on /dev/pts type devpts (rw)

~ # ls /mnt/HD_a2/
DLINK DNS-323  Files          fun_plug       lnx_bin
Fichiers       etch           fun_plug.d

~ # cd /mnt/HD_a2/

/mnt/HD_a2 # chroot etch /bin/sh

sh-3.1# mount
%root% on / type unknown (rw)
proc on /proc type proc (rw)
/image.cfs on /sys/crfs type cramfs (rw,loop=/dev/loop0)
/dev/md0 on /mnt/HD_a2 type ext2 (rw,usrquota,grpquota)
none on /proc/bus/usb type usbfs (rw)

sh-3.1# ls /mnt/HD_a2/

sh-3.1#


********************************
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-09-20 20:41:20

eko
Member
Registered: 2006-11-08
Posts: 9

Re: funplug-0.3 and chroot etch not working

hello td-dns323,

I often get the same error message, the command "busybox chroot etch" only works sometimes.

I havent done any modifications, using the sample fun_plug from the following website
http://www.inreto.de/dns323/fun-plug/0.3/

I'm not an experienced linux user, but after rebooting or sometimes even rebuilding etch from the howto page below, It works again !

http://www.shadowandy.net/_html/archive … nment.html

ideas?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB