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 2012-05-30 18:08:45

gfadel
Member
Registered: 2012-05-30
Posts: 6

Install guide for vsftpd

Hello,

I have tried to install vsftpd (ffc 0.7 is installed fine) on my DNS-320, using the tutorial from http://dns323.kood.org/howto:vsftpd, but after downloading the package, I got "invalid package name" when running "funpkg -i vsftpd-2.0.7-2.tgz"...

Can someone help me to solve this issue, and maybe point me up to instructions valid for the latest vsftpd (which is 3.0.0, I guess...).

Thanks,

Gustavo

Offline

 

#2 2012-05-30 21:57:28

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Install guide for vsftpd

You are trying to install an FFP 0.5 package on FFP 0.7, and that doesn't work.

Try to run 'slacker -Ui', and when you're ready amazing yourself, try this.

Offline

 

#3 2012-05-30 22:07:58

gfadel
Member
Registered: 2012-05-30
Posts: 6

Re: Install guide for vsftpd

Mijzelf, perfect!

Thanks a lot.

Offline

 

#4 2012-07-03 14:51:52

s4intt
Member
Registered: 2012-07-02
Posts: 7

Re: Install guide for vsftpd

gfadel

Where you able to install vsftpd and run it without problems?
I've installed vsftpd without issues but when I've started it with my config keep getting connection refused when I try to connect.
Same config worked fine with vsftpd 2.0.4 on ffp 0.5.

Is there vsftpd 2.0.4 for ffp 0.7 somewhere??

Thanks
s4intt

Offline

 

#5 2012-07-03 14:57:35

gfadel
Member
Registered: 2012-05-30
Posts: 6

Re: Install guide for vsftpd

s4intt wrote:

gfadel

Where you able to install vsftpd and run it without problems?
I've installed vsftpd without issues but when I've started it with my config keep getting connection refused when I try to connect.
Same config worked fine with vsftpd 2.0.4 on ffp 0.5.

Is there vsftpd 2.0.4 for ffp 0.7 somewhere??

Thanks
s4intt

s4intt,

I have followed the instructions from Mijzelf, in post #2.

cheers,

Gustavo

Offline

 

#6 2012-07-03 18:06:25

s4intt
Member
Registered: 2012-07-02
Posts: 7

Re: Install guide for vsftpd

but where you able successfully run vsftpd and have clients connecting?

when I try to start it with vsftpd.sh


#!/ffp/bin/sh

# PROVIDE: vsftpd
# REQUIRE: LOGIN

. /ffp/etc/ffp.subr

name="vsftpd"
command="/ffp/sbin/vsftpd"
vsftpd_flags="/ffp/etc/vsftpd.conf"
required_files="/ffp/etc/vsftpd.conf"
start_cmd="vsftpd_start"

vsftpd_start()
{
  proc_start_bg "$command"
}

run_rc_command "$1"


I get:

: command not found
: command not found
: No such file or directory/ffp.subr

Any ideas?

Offline

 

#7 2012-07-03 18:28:06

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Install guide for vsftpd

Try to run

Code:

sh -x /ffp/start/vsftpd.sh

Maybe that tells what happens.

Offline

 

#8 2012-07-03 19:53:40

s4intt
Member
Registered: 2012-07-02
Posts: 7

Re: Install guide for vsftpd

Thanks

I'm getting below:

$'\r'
: command not foundh: line 2:
+ $'\r'
: command not foundh: line 5:
+ . $'/ffp/etc/ffp.subr\r'
: No such file or directory6: /ffp/etc/ffp.subr

Offline

 

#9 2012-07-03 20:55:41

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Install guide for vsftpd

I guess the file doesn't have Linux line endings. Did you edit it with some Windows editor?

Offline

 

#10 2012-07-06 12:24:47

s4intt
Member
Registered: 2012-07-02
Posts: 7

Re: Install guide for vsftpd

No I didn't. It was working fine on ffp 0.5. I've only migrated to 0.7 one day, installed vsftpd copied over config and user files and all that errors appeared...

I wonder if I should start from the scratch... without old config files and use

vsftpd /ffp/etc/vsftpd.conf >/dev/null 2>&1 </dev/null &

to start it rather than vsftpd.sh

Thanks

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB