Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Where is my config folder?

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

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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&
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok, I see!

    But I have another question, the Usr name and Password how to get?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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" .
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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