1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Setting up your NSLU2 for FTP Access - A Tutorial

Discussion in 'Cisco/Linksys Network Storage Devices' started by swambast, Mar 9, 2006.

  1. swambast

    swambast Network Guru Member

    Does anyone have a tutorial, or for those that have successfully set up their NSLU2 for FTP access, be interested in creating such a tutorial?

    I have tried so many times now to get FTP working, and still have not had any luck. I can access the NSLU2 publicly over the internet, but for some reason FTP NEVER works. I am using port 8000 and port 21, and forward them to the NAS at the default .77 using ext3 format - but it just never even connects. Any ideas....or help would be so greatly appreciated.... :sadbye:
     
  2. d__l

    d__l Network Guru Member

    I think your first step would be to be able to FTP access the NSLU2 from the LAN side. Once you can do that, then tackle the potential problems incurred during internet access.
     
  3. swambast

    swambast Network Guru Member

    Yep

    Yea, yea, D_L, I already got that - but you're right, that IS the first step.
     
  4. d__l

    d__l Network Guru Member

    What router is forwarding the FTP requests? Are you forwarding port 21 requests to the NSLU2 or some other port number to port 21 on the NSLU2? Does your ISP allow or block port 21 requests?

    What FTP client are you using? Does it list all the steps as it makes an FTP connection? How do those compare when a connection is completed through the LAN as compared to a connection attempt from the internet?
     
  5. swambast

    swambast Network Guru Member

    What router is forwarding the FTP requests? Are you forwarding port 21 requests to the NSLU2 or some other port number to port 21 on the NSLU2? Does your ISP allow or block port 21 requests?

    - I am using a Linksys BEFS11S4, forwarding ports 20-21 to 192.168.1.77 (default NAS). ISP allows requests.

    What FTP client are you using? Does it list all the steps as it makes an FTP connection? How do those compare when a connection is completed through the LAN as compared to a connection attempt from the internet?

    Here is the wacky thing, I made port changes with my router after fiddling with this for a few days. I CAN SUCCESSFULLY connect using my old DOS FTP knowledge, but cannot get a software FTP client to successfully connect yet. I am sure it must be something to do with the way the FTP software is resolving the ports / PASV mode...?

    Here is a log excerpt:
    [09:39:24] PWD
    [09:39:24] 257 "/DISK 1" is the current working directory.
    [09:39:24] TYPE A
    [09:39:24] 200 Transfer type changed to ASCII
    [09:39:24] PASV
    [09:39:24] 227 Entering Passive Mode (192,168,1,77,5,10)
    [09:39:24] Opening data connection to 192.168.1.77 Port: 1290
    [09:39:24] LIST -aL
    [09:39:45] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    [09:40:25] Timeout (40s).
    [09:40:25] Active Help: http://www.smartftp.com/support/kb/index.php/74
    [09:40:25] Client closed the connection.
     
  6. swambast

    swambast Network Guru Member

    Well I'll be...

    Well I'll be darned...just for kicks I tried another FTP software client, FTP Voyager - and now everything is working just dog gone perfectly!!! Amazing! :cheering:
     
  7. d__l

    d__l Network Guru Member

    It looks as though the connection was mostly completed, but for some reason the NSLU2 quit responding. What does the log look like at the [09:39:45] point when you succesfully connect from the LAN side?

    Maybe this is a quirky problem between SmartFTP, your router and the NSLU2? You might try a different "major-brand" FTP program on a trial basis to see if it will get through the connection.
     

Share This Page