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-12-08 10:44:15

overrun
New member
Registered: 2008-12-08
Posts: 3

ssh problem

my dns-323 config:

fw: 1.05
ffp: 0.5
using transmission 1.40

problem:  SSH gives me a busybox prompt and I can't do anything with it... please help!

http://img381.imageshack.us/img381/4791/busyboxvj3.jpg

Offline

 

#2 2008-12-08 14:04:50

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: ssh problem

you are using the f/w busybox and not the later version in ffp 0.5.  My copy of ffp has busybox 1.10.1

Offline

 

#3 2008-12-08 15:33:51

overrun
New member
Registered: 2008-12-08
Posts: 3

Re: ssh problem

do you know how to update or replace the busybox?

Offline

 

#4 2008-12-08 15:36:21

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: ssh problem

overrun wrote:

do you know how to update or replace the busybox?

http://dns323.kood.org/howto:ffp#the_root_user

Offline

 

#5 2008-12-08 17:01:33

overrun
New member
Registered: 2008-12-08
Posts: 3

Re: ssh problem

thanks fonz... that worked!!!

Last edited by overrun (2008-12-08 17:17:33)

Offline

 

#6 2008-12-10 16:09:58

PeterZ
Member
From: Bratislava, Slovakia
Registered: 2008-11-10
Posts: 10

Re: ssh problem

You can even change shell entry for your user in /etc/passwd file.
By default is there ash shell, which needs activation code 5784468.

I suggest:
0. telnet <your_DNS-323_IP_address>
1. vipw /etc/passwd
2. find user records and change shell
3. :wq!
4. store-passwd.sh


Cheers,
Peter

Last edited by PeterZ (2008-12-10 16:10:39)


DNS-323 • 2x WD RE3 (WD5002ABYS) SATAII 7200RPM 16MB • RAID1 • FW1.10 • ext2

Offline

 

#7 2008-12-10 16:26:48

puterboy
Member
Registered: 2008-09-18
Posts: 306

Re: ssh problem

Is there a user way to change the activation code?
How 'secure' is this code (if kept secret)?

Offline

 

#8 2008-12-11 14:25:33

PeterZ
Member
From: Bratislava, Slovakia
Registered: 2008-11-10
Posts: 10

Re: ssh problem

I suppose it's hardcoded in some piece of code. Source codes are available so can have a look on it.
For me is better to use bash instead of ash.

Cheers,
Peter


DNS-323 • 2x WD RE3 (WD5002ABYS) SATAII 7200RPM 16MB • RAID1 • FW1.10 • ext2

Offline

 

#9 2008-12-15 09:49:12

puterboy
Member
Registered: 2008-09-18
Posts: 306

Re: ssh problem

oh I definitely use bash - just was curious where the code came from and whether it is compiled in or set in a more accessible place.

Offline

 

#10 2009-01-15 09:27:59

Fry
Member
Registered: 2009-01-15
Posts: 6

Re: ssh problem

Hi,
I am having the same issue, I read the docs, but I am a newbie *nix user
Here is what i get
BusyBox v1.00-pre1 (2008.09.02-11:43+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

5784468
# chsh -s /ffp/bin/sh root
chsh: No such file or directory

Which part of the docs are relevent to this?
Why is the chsh command not found?
Thanks

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB