I ran into the exactly same thing. And if I remember correctly, I think the
ftpd port per default expects the presence of a /etc/passwd file in your
filesystem. To take that behavior out would require some hacking into the
ftpd sources.

I ended up putting a pre-generated passwd file into my romfs. Since it is a
textfile containing the ciphertext of the password, I ended up configuring
uClinux with 'passwd' command, generate a password and put this into
/etc/passwd romfs. Then ftp works fine using the username/password you
picked.

Harry

On Thu, Feb 14, 2008 at 9:42 AM, <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I am using ucLinux-dist, compiled by me, using kernel 2.6. and the
> defaults settings, plus network driver, and ftpd.
>
> The image is OK, and I can use telnet and http server (boa) is OK, the
> problem is the ftpd ...
>
> I establish an connection to ftpd and always return Login Failed (503),
> and don't ask password, an example :
>
> ~$ ftp 172.18.200.112
> Connected to 172.18.200.112.
> 220 uClinux FTP server (GNU inetutils 1.4.1) ready.
> Name (172.18.200.112:ubuntu): anonymous
> 530 User anonymous unknown.
> Login failed.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> open 172.18.200.112
> Already connected to 172.18.200.112, use close first.
> ftp> close
> 221 Goodbye.
> ftp> open 172.18.200.112
> Connected to 172.18.200.112.
> 220 uClinux FTP server (GNU inetutils 1.4.1) ready.
> Name (172.18.200.112:ubuntu): ftp
> 530 User ftp unknown.
> Login failed.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> close
> 221 Goodbye.
> ftp> quit
> ~$
>
> The only thing that I thinks is strange is all file system is read only,
> except /var/tmp, can be that ftpd tries to create an file, and fails and
> says that login failed (shot in the dark) ???
>
> --
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to