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 2009-02-14 09:59:47

nakareo
New member
Registered: 2009-02-13
Posts: 3

-sh: not found and ssh user

Hi,

I'm getting errors about -sh: not found

Where could I start looking for the problem?

I've installed for example irssi. Irssi worked fine, but after restart irssi didn't start. Now it gives me:
-sh: irssi: not found

Another issue is that every time I reboot the DNS-323 I have to run as root:
chsh -s /ffp/bin/sh username

If I don't do that, my login with "username" doesn't start but leaves me with some ?busybox-space?.

I'm grateful for hints and answers!

Thanks in advance!

Offline

 

#2 2009-02-14 12:16:10

nakareo
New member
Registered: 2009-02-13
Posts: 3

Re: -sh: not found and ssh user

I got irssi working by

mkdir -p /opt
mount --bind /mnt/HD_a2/ipkg/opt /opt
export PATH=/opt/bin:/opt/sbin:$PATH

Don't know what I did big_smile

Offline

 

#3 2009-02-16 03:22:49

lambretta
Member
Registered: 2009-01-07
Posts: 27

Re: -sh: not found and ssh user

Unless you mod your Funplug script to put the /opt/bin and /opt/sbin in your PATH then after each reboot you will need to do what you have just done.

You will also need to automate the creation and mounting of the /opt directory as well.  The forums have this somewhere already.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB