Results 1 to 6 of 6

Thread: VSFTPD is not working ! need help

  1. #1

    Arrow VSFTPD is not working ! need help

    Hi
    have done all the guide said, here and madcast , but get error :
    I get this error when i try connect ::

    >ftp 192.168.82.1
    Connected to 192.168.82.1.
    500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp
    Connection closed by remote host.
    I have add users , admin works , share works via ssl but no ftp
    I now that from http://www.nslu2-linux.org/wiki/Unslung/Vsftpdthat


    * Problem: When trying to ftp into the slug, it gives a message 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp""

    Solution: Change the echo line in /unslung/rc.xinetd to: echo "ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf" >>/etc/inetd.conf
    But how we do in a WL500GP ?! there is no /unslung/rc.xinetd ... help please
    Last edited by sivan_ms; 18-11-2006 at 17:36. Reason: Its workin bot not 100%

  2. #2
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    add user ftp to /etc/passwd. For example with:
    Code:
    echo "ftp:x:99:99:nobody:/:/sbin/nologin" >> /etc/passwd
    Last edited by oleo; 15-11-2006 at 12:48.

  3. #3
    Quote Originally Posted by oleo View Post
    add user ftp to /etc/passwd. For example with:
    Code:
    echo "ftp:x:99:99:nobody:/:/sbin/nologin" > /etc/passwd
    Thanks Oleg
    I got problems now, I cant login because user admin dose not accept passwrod admin anymore .
    login as: admin
    admin@192.168.82.1's password:
    Access denied
    admin@192.168.82.1's password:
    My Samba share dosnt work and ... not the ftp .. i got thi in web iterface
    Dec 31 13:00:09 xinetd[146]: Unknown user: admin [file=/opt/etc/xinetd.d/vsftp] [line=7]
    Dec 31 13:00:09 xinetd[146]: Error parsing attribute user - DISABLING SERVICE [file=/opt/etc/xinetd.d/vsftp] [line=7]
    Dec 31 13:00:09 xinetd[146]: 146 {init_services} no services. Exiting...
    Dec 31 13:00:11 kernel: HTB: quantum of class 10117 is big. Consider r2q change.
    Dec 31 13:00:12 kernel: HTB init, kernel part version 3.16

  4. #4

    Reflashed but

    Hi
    I reflashed router and installed all programs again
    now vsftpd works i steel dont have ftp as user but i will maybe

    more editing
    I have ftp as user now
    i hade enabled the (user_local=yes ) then i didnt need to have ftp , but to have anonymous access i needed the ftp (standard ) or another that will bo in 'ftp_username' as anonymous user ...

    Yes MMCM it vas problem whith >
    but i am a new linux user, all i can i learnd by Wl-500gp
    Last edited by sivan_ms; 18-11-2006 at 12:00.

  5. #5
    Join Date
    Apr 2005
    Location
    Vienna, Austria
    Posts
    191
    Quote Originally Posted by oleo View Post
    add user ftp to /etc/passwd. For example with:
    Code:
    echo "ftp:x:99:99:nobody:/:/sbin/nologin" > /etc/passwd
    Ooooops!

    No wonder sivan_ms could not login with admin anymore, since he did overwrite the original passwd file with your command :-(

    Use ">>" instead of ">" to append text!

  6. #6

    Arrow VSFTPD From WAN , some problem

    Hi again
    VSFTPD works in LAN i have enabled anonymous access because i need to stream video ( i use VLC media player) it works fine inside LAN
    - I have anonymous access to my ftp from LAN whit IS , Firefox , CMD , Smartftp , VLC mm
    - I have anonymous access just via CMD and Smartftp from WAN !no access by IE , Firefox , VLC mm
    - when i use www.web2ftp.com/ it has access too

    i can a lot now about vsftpd.conf and other stuffs in VSFTPD but steel cant understand why ?
    Am i missing something .... ??

    --
    Is there any good media server who can stream my files to a PC outside LAN also the WAN ?

Similar Threads

  1. DHCP not working after firmware upgrade?
    By denny in forum WL-500g Q&A
    Replies: 0
    Last Post: 11-04-2006, 08:52
  2. Replies: 1
    Last Post: 09-12-2005, 22:29
  3. Trying to get IDE working on Oleg's Firmware
    By hugo in forum WL-HDD Custom Development
    Replies: 34
    Last Post: 01-11-2004, 18:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •