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-03-20 21:49:18

Jonas
New member
Registered: 2007-03-20
Posts: 1

Telnet login to chroot:ed debian

Hi all,

I've tried searching the forum but I've failed to come up with useful information for me.  I want to log in automatically to the chroot:ed sarge I've managed to install after following the instructions on wiki.  The script for starting telnetd looks like this:

Code:

#!/bin/sh
/mnt/HD_a2/lnx_bin/busybox3 mknod /dev/ptyp0 c 2 0
/mnt/HD_a2/lnx_bin/busybox3 chmod 0666 /dev/ptyp0
/mnt/HD_a2/lnx_bin/busybox3 mknod /dev/ttyp0 c 3 0
/mnt/HD_a2/lnx_bin/busybox3 chmod 0666 /dev/ttyp0

rm /mnt/HD_a2/lnx_bin/sh
ln -s /mnt/HD_a2/lnx_bin/busybox3  /mnt/HD_a2/lnx_bin/sh
/mnt/HD_a2/lnx_bin/utelnetd -l /mnt/HD_a2/lnx_bin/sh -d

Tried replacing the last line with something like "/mnt/HD_a2/lnx_bin/utelnetd -l /mnt/HD_a2/lnx_bin/sarge/bin/sh" but that didn't work..

Offline

 

#2 2007-03-20 21:59:58

PerS
Member
Registered: 2007-03-16
Posts: 13
Website

Re: Telnet login to chroot:ed debian

You don't need utelnetd i.e. after you have installed Debian and it's up and running, you should remove the telnetd you used while you installed Debian (uncomment it in the fun_plug)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB