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-01-05 14:41:03

audrik
Member
Registered: 2009-01-05
Posts: 8

Fun_Plug Ftp fix for DNS-313 ?

Hello
I've installed Fun plug 0.5 on my DNS-313, but FTP server rejected all my password account when trying connect.
I saw there's a bug with fun_plug and DNS-313 FTP server, so I want to know if there is a fix for that?
Thx a lot

PS: I tried to add account in telnet with adduser but can't make it R/W just Read.

Thx a lot for all explication or tips

Offline

 

#2 2009-01-06 11:39:21

sigh
Member
Registered: 2008-12-31
Posts: 9

Re: Fun_Plug Ftp fix for DNS-313 ?

I have the same problem too.  After adduser, you can go to the web interface to change it to R/W.

But the moment you restart, the settings are lost.

Offline

 

#3 2009-01-09 01:16:26

mirecekd
New member
Registered: 2009-01-01
Posts: 2

Re: Fun_Plug Ftp fix for DNS-313 ?

Hello audrik, sigh,

the configuration file for user RO/RW FTP is /etc/ftp_tbl

user2,1 - 1 means user2 "can write" to FTP (RW)
user3,0 - 0 means user3 "cann't write" to FTP (RO)

store-passwd.sh which is in fun_plug 0.5 does not backup this file. only thing you must do is uncomment lines:

#cp -f /etc/ftp_tbl /sys/mtd1/.

and

#cp -f /etc/ftp_tbl /sys/mtd2/.

in /ffp/sbin/store-passwd.sh and run it again. Now ftp RO/RW settings are stored in flash and copied to system after every start. Of course, the user must be added using the adduser command not by web administration

MirecekD

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB