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++

Where is my config folder?

Altera_Forum
Honored Contributor II
1,258 Views

I want to add ftp service in nios2 with DE II board, so I read the documention --Adding User Applications to the uClinux Distribution, I find there may have the config folder in uClinux-dist-test, but now, in my system, under uClinux-dist-test folder, there have "COPYING , freeswan , lib , Makefile, README , tools , user, Documentation , include, linux-2.6.x ,openswan,SOURCE ,uClibc ,vendors", I couldn't do my work now? 

how could Ito no next? 

THX
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
502 Views

 

--- Quote Start ---  

originally posted by goral@Apr 14 2006, 03:01 PM 

i want to add ftp service in nios2 with de ii board, so i read the documention --adding user applications to the uclinux distribution, i find there may have the config folder in uclinux-dist-test, but now, in my system, under uclinux-dist-test folder, there have "copying ,  freeswan , lib  ,  makefile, readme , tools , user, documentation , include,  linux-2.6.x ,openswan,source ,uclibc ,vendors", i couldn't do my work now? 

how could ito no next? 

thx 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14362) 

--- quote end ---  

 

--- Quote End ---  

 

Please use ~/apps/ftpd 

cd ~/apps/inetd make make install cd ~/apps/ftpd make make install echo "ftp  stream tcp nowait root /bin/ftpd" >>~/rootfs/etc/inetd.conf 

 

rebuild zImage for initramfs, boot nios uclinux, and run, 

inetd&
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

Thanks for your suggestion, I make and generate zImage, and then download it in my board, when I typed inetd&, 30 was appear in terminal screen, why?

0 Kudos
Altera_Forum
Honored Contributor II
502 Views

Ok, I see! 

But I have another question, the Usr name and Password how to get?
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

 

--- Quote Start ---  

originally posted by goral@Apr 14 2006, 03:47 PM 

ok, i see! 

but i have another question, the usr name and password how to get? 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14366) 

--- quote end ---  

 

--- Quote End ---  

 

You have to read "man ftpd" . 

And some google search like "how to setup ftpd" .
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

to use anonymous ftp user, 

add "ftp:x:14:50:FTP User:/home/ftp:" to etc/passwd 

add "ftp:x:50:" to etc/group 

make dir home/ftp 

add ftp contents to home/ftp
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

 

--- Quote Start ---  

originally posted by goral@Apr 14 2006, 03:01 PM 

i want to add ftp service in nios2 with de ii board, so i read the documention --adding user applications to the uclinux distribution, i find there may have the config folder in uclinux-dist-test, but now, in my system, under uclinux-dist-test folder, there have "copying ,  freeswan , lib  ,  makefile, readme , tools , user, documentation , include,  linux-2.6.x ,openswan,source ,uclibc ,vendors", i couldn&#39;t do my work now? 

how could ito no next? 

thx 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14362) 

--- quote end ---  

 

--- Quote End ---  

 

 

for uClinux-dist-test, you should remove the old dir, look at the build script and untar, patch.
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

THX for your reply! 

Now I can using FTP service now! 

Thanks for your help! 

 

--- Quote Start ---  

originally posted by hippo+apr 14 2006, 09:31 pm--><div class='quotetop'>quote (hippo @ apr 14 2006, 09:31 pm)</div> 

--- quote start ---  

<!--quotebegin-goral@Apr 14 2006, 03:01 PM 

i want to add ftp service in nios2 with de ii board, so i read the documention --adding user applications to the uclinux distribution, i find there may have the config folder in uclinux-dist-test, but now, in my system, under uclinux-dist-test folder, there have "copying ,  freeswan , lib  ,  makefile,   readme , tools , user, documentation , include,  linux-2.6.x ,openswan,source ,uclibc ,vendors", i couldn&#39;t do my work now? 

how could ito no next? 

thx 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14362) 

--- quote end ---  

 

--- Quote End ---  

 

 

for uClinux-dist-test, you should remove the old dir, look at the build script and untar, patch. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14374)</div> 

[/b] 

--- Quote End ---  

0 Kudos
Reply