Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

ftpd problem

Altera_Forum
Honored Contributor II
1,349 Views

Hi all, 

 

I'm using the Microtronix uClinux 2.6.5-uc0 release and the 

original ftpd distributed with it. 

 

I can connect & login ok ... but I'm unable to open a data connection. 

I see the following: 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

227 Entering Passive Mode (0, 0, 0, 0, 8, 4) 

ftp: connect: Connection refused[/b] 

--- Quote End ---  

 

Turning off passive mode causes the ftp client to hang. 

 

As I&#39;m not that familiar with the uClinux ftpd ... does anyone have 

any ideas? suggestions? 

 

BTW: I&#39;m using cramfs ... with a ramfs mount for /var/run. telnetd 

& boa work just fine. 

 

Thanks, 

--Scott
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
452 Views

I am new to uClinux and to Linux generally too, I want ask someone experienced how to use ftpd server to be able to upload files into Altera dev. board. I also have the same experience as smcnutt - I can connect, I can download data, but I cannot upload them to the board. I though there would be problem, that filesystems are write protected, but I also tried to upload files into "/var" directory, which is located in ram with attribute "rw" (this info I got using mount command).. 

thanks
0 Kudos
Altera_Forum
Honored Contributor II
452 Views

ok, I solved: 

 

when u try to connect to ftpd server in dev. board just use as the user name "root" instead of "nios" and password remains the same "uClinux". Then u will get rw ftp access to /var and /tmp dirs... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif  

 

I know, it is the only temporary solution, but it works even without any intervention to filesystem configuration..
0 Kudos
Reply