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 2008-09-19 21:42:09

alloure
New member
Registered: 2008-09-19
Posts: 1

Debian chroot and fun_plug

I have just installed debian etch in my CH3WNAS and I am able to chrooting manually. However...

Does anybody know what should be added to fun_plug in order to auto-start debian and access to it?. I don't mind about the kind of access (telnet or ssh)...

As far as I know, it should be something like (if busybox-telnetd 1.2.1 is installed in /mnt/HD_a2):

Code:

ln -s /mnt/HD_a2/bin/busybox /bin/chroot
ln -s /mnt/HD_a2/bin/busybox /bin/makedevs
cd /dev
/bin/makedevs ptyp c 2 0 0 9
/bin/makedevs ttyp c 3 0 0 9
ln -s urandom random

mount -t proc proc /mnt/HD_a2/debian/proc
/mnt/HD_a2/chroot /mnt/HD_a2/debian /bin/bash
/mnt/HD_a2/chroot /mnt/HD_a2/debian /usr/sbin/dropbear
OR
/mnt/HD_a2/chroot /mnt/HD_a2/debian /usr/sbin/telnet

Am I wrong?
Thanks in advance.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB