- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif
my board is based on 1c12, i have made a successful zImage according to the steps described in wikinios.jot.com. and i can telnet to my board from pc . now i want to have a ftp server on my board: what i have dones is fowllowing: (1) when "make menuconfig" i select "ftpd" in "network application" and select "chroot" in "busybox" and select "adduser , addgroup , passwd" in " tinylogin" (2) then : make clean make romfs make create two empty files in romfs/etc: passwd group make romfs make linux image (3) then download the zImage to my board. (4) add a user in board using "adduser ftptest", but i get "adduser: Cannot determine your user name." messge but it seems that a new user has been added because then content of the file etc/passwd becomes "ftptest:x:500:500::/home/ftptest:/bin/sh" and the etc/group is: "ftptest:x:500:" (5) then try to test ftp serve with the "ftptest" username ftp 192.168.0.202 (192.168.0.202 is my board ip) then i got the following message: Connected to 192.168.0.202. 220 uClinux FTP server (GNU inetutils 1.4.1) ready.zj2 Name (192.168.0.202:none): ftptest 500 'USER ftptest': command not understood. Login failed. ftp> (6) there are no choices for me instead of "bye" i have do some more efforts, such as change the ftpd.c , but i have the same result " command not understood"!! if anyone can tell me what's the problem?Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I will try telnet to my board from my PC, But it seems that I count't use telnet and telnetd in my uClinux. pls give me some advice.THANKS i HAVE PORTED UCLINUX ON MY BOARD.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
is there a solution for the "command not understood"-Problem? I get exakt the same message. Thanx Marco --- Quote Start --- originally posted by fbc99@Jun 7 2006, 11:47 PM http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/cool.gifmy board is based on 1c12, i have made a successful zimage according to the steps described in wikinios.jot.com. and i can telnet to my board from pc .
now i want to have a ftp server on my board:
what i have dones is fowllowing:
(1)
when "make menuconfig"
i select "ftpd" in "network application" and select "chroot" in "busybox" and select "adduser , addgroup , passwd" in " tinylogin"
(2)
then :
make clean
make romfs
make
create two empty files in romfs/etc: passwd group
make romfs
make linux image
(3)
then download the zimage to my board.
(4)
add a user in board using "adduser ftptest", but i get "adduser: cannot determine your user name." messge
but it seems that a new user has been added because then content of the file etc/passwd becomes "ftptest:x:500:500::/home/ftptest:/bin/sh"
and the etc/group is: "ftptest:x:500:"
(5) then try to test ftp serve with the "ftptest" username
ftp 192.168.0.202 (192.168.0.202 is my board ip)
then i got the following message:
connected to 192.168.0.202.
220 uclinux ftp server (gnu inetutils 1.4.1) ready.zj2
name (192.168.0.202:none): ftptest
500 'user ftptest': command not understood.
login failed.
ftp>
(6) there are no choices for me instead of "bye"
i have do some more efforts, such as change the ftpd.c , but i have the same result " command not understood"!!
if anyone can tell me what's the problem?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16017)
--- quote end ---
--- Quote End ---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem
Hein- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by heing@Oct 27 2006, 11:09 PM i have the same problem
hein
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18960)
--- quote end ---
--- Quote End --- ftpd-new from netkit 0.17 added to uClinux-dist, should work with ftp anonymous now. http://forum.niosforum.com/forum/index.php?showtopic=4927 (http://forum.niosforum.com/forum/index.php?showtopic=4927) user: ftp pass: anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo+oct 30 2006, 09:53 am--><div class='quotetop'>quote (hippo @ oct 30 2006, 09:53 am)</div>
--- quote start ---
<!--quotebegin-heing@Oct 27 2006, 11:09 PM i have the same problem
hein
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18960)
--- quote end ---
--- Quote End --- ftpd-new from netkit 0.17 added to uClinux-dist, should work with ftp anonymous now. http://forum.niosforum.com/forum/index.php?showtopic=4927 (http://forum.niosforum.com/forum/index.php?showtopic=4927) user: ftp pass: anything <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19006)</div> [/b] --- Quote End --- Works great. Thank you. Hein
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page