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-02-29 15:10:41

Megabug
Member
Registered: 2008-02-29
Posts: 14

Debian on usb flashdrive and ssh on debian problems.

Hi,

I recently got my DNS323 and its very nice... Especially running debian on it.

I got debian etch working on my HDD but can't run it from flashdrive?!  I mounted my flashdrive at /mnt/stick and copied the etch directory on it.

also copied the lnx_bin directory to the flashdrive.

The error looks like this:

/mnt/stick # ./lnx_bin/busybox3 chroot etch /bin/bash
chroot: cannot execute /bin/bash: No such file or directory
/mnt/stick #


Well, where is /bin/bash supposed to be when it can be run from /mnt/HD_a2 ?



My other problem:

ssh is installed on the debian system (when running from hdd) but I cant connect to ssh! Only got this error:

root@192.168.1.200's password:
Server refused to allocate pty
stdin: is not a tty




Thanks in advance. wink

Offline

 

#2 2008-03-05 00:08:07

Megabug
Member
Registered: 2008-02-29
Posts: 14

Re: Debian on usb flashdrive and ssh on debian problems.

push... wink

Offline

 

#3 2008-03-05 02:46:53

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: Debian on usb flashdrive and ssh on debian problems.

I assume that you still have enough fun_plug left on your harddisk to actuallt mount and start debian.

Basicly all of fun_plug needs to stay on the harddisk and only debian will go on the usb stick.

Good luck

Offline

 

#4 2008-03-05 21:14:42

Megabug
Member
Registered: 2008-02-29
Posts: 14

Re: Debian on usb flashdrive and ssh on debian problems.

Yes, debian should go from usb stick... but how ? big_smile It won't start as you can see.


/mnt/stick # chroot etch /bin/bash
chroot: cannot execute /bin/bash: No such file or directory




Yes, etch is untared in /mnt/stick

Last edited by Megabug (2008-03-05 21:17:43)

Offline

 

#5 2008-03-05 21:37:52

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: Debian on usb flashdrive and ssh on debian problems.

lnx_bin  should stay on the harddrive together with fun_plug

Offline

 

#6 2008-03-05 23:18:36

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Debian on usb flashdrive and ssh on debian problems.

try
/mnt/stick/usr/bin/chroot /mnt/stick /bin/bash

Offline

 

#7 2008-03-05 23:39:54

Megabug
Member
Registered: 2008-02-29
Posts: 14

Re: Debian on usb flashdrive and ssh on debian problems.

Ok, works now... stupid error: etch didn't untar completely.

So what about my ssh problem?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB