Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi
I have a box where I'm running Debian. Using fun_plug system, it starts up Telnet just fine all the time. But I have to manually type the content below the "--------" each time I reboot the machine to start SSH and get into Debian. Lucky me, it isn't to often I have to reboot, but it is a bit unwanted behaviour..
Anyone know the solution to this?
dmesg > /mnt/HD_a2/dmesg.out
/mnt/HD_a2/nc -l -p 10000 -e /bin/sh &
mkdir /mnt/HD_a2/lnx_bin/
cd /mnt/HD_a2/lnx_bin/
/mnt/HD_a2/starttelnet.sh
------------------------------ So far so good.. now, it should have run this to start SSH -------
export PATH=$PATH:/mnt/HD_a2/lnx_bin/
export DISK1=/mnt/HD_a2
export PATH=$PATH:$DISK1/lnx_bin:
cd $DISK1
mkdir etch/$DISK1
mount --bind $DISK1 etch/$DISK1
mkdir etch/mnt/root
mount --bind / etch/mnt/root
mkdir etch/dev
mount --bind /dev etch/dev
mkdir etch/sys
mkdir etch/sys/crfs
mount --bind /sys etch/sys
mount --bind /sys/crfs etch/sys/crfs
mkdir etch/proc
mount --bind /proc etch/proc
cp -f /proc/mounts etch/etc/mtab
/mnt/HD_a2/lnx_bin/busybox3 chroot /mnt/HD_a2/etch
/etc/init.d/ssh start >/var/log/ssh.log 2>&1
Offline
bareare wrote:
/mnt/HD_a2/lnx_bin/busybox3 chroot /mnt/HD_a2/etch
/etc/init.d/ssh start >/var/log/ssh.log 2>&1
If this is really two lines, it's wrong. Should be all on one line.
Offline
Thanks a lot! That fixed it.
Offline