Loading ...
Sorry, an error occurred while loading the content.

Re: FTP problems

Expand Messages
  • paul518869
    ... Slug ... website ... instead of ... out. ... any ... package. ... Unless you really, really need ftp, why not just use sftp from windows using winscp?
    Message 1 of 4 , Sep 29, 2008
      --- In nslu2-linux@yahoogroups.com, Robert Hammond <rob.hammond@...>
      > In message <1222633104.5551.35.camel@kw-ws>, Kirk Wallace
      > <kwallace@...> writes
      > >On Sun, 2008-09-28 at 17:15 +0000, newbie2linux wrote:
      > >> Hi,
      > >>
      > >> Apologies for being a little ignorant but can anyone on here advise
      > >> why I'm unable to use an FTP client to FTP to the 'website' folder
      > >> that I've added on my Slug?
      > >>
      > >> Do I need to add any additional packages in order to be able to FTP?
      > >>
      > >> I've had a web-site up and running on my Slug for about 5-6 weeks now
      > >> and in fairness it's working flawlessly however .html files are being
      > >> copies onto my Slug via the drive letter that I've used to map my
      > >> against. However I'd like to be able to FTP using an FTP client.
      > >>
      > >> Tried entering the IP address of my Slug along with username
      > >> and the password configured via the administration page on my Slug
      > >> however I cannot successfully establish an FTP connection.
      > >>
      > >> Any suggestions would be much appreciated.
      > >
      > >You might check to see if the ftpd server is running on your NSLU2. Use
      > >"ps -e | grep ftp" as root.
      > >
      > >If you have nmap installed on a LAN PC, you can see if the FTP port is
      > >open with "nmap 111.222.333.444" (of course use the slug's IP
      instead of
      > >111.222...). "man nmap" may be useful.
      > >
      > >Also, see if your routing setup on the slug is blocking FTP. You can
      > >check your routing table on the NSLU2 by using "iptables -L" and
      > >"iptables -t nat -L". This may print out a bunch of stuff that is hard
      > >to interpret. I use a short cut for testing by using "iptables -P INPUT
      > >ACCEPT", "iptables -P OUTPUT ACCEPT", "iptables -P FORWARD ACCEPT";
      > >which should open up all access. If your FTP works after this, you
      > >should set the policies back the way they where ("iptables -P OUTPUT
      > >DROP") and figure out which iptables rule to add, delete, or change. Be
      > >careful with setting iptables, because you can easily lock yourself
      > >I know just enough to be dangerous, so maybe others here can help if
      > >needed.
      > >
      > >I believe, by default, the FTP server only allows users to log into
      > >their own home directory. Root logins may not be allowed(?). Try
      > >connecting to the NSLU2 with "ftp 111.222.333.444" so that you only use
      > >the IP of the slug, or "ftp -l username 111.222.333.444" which allows
      > >you to login as "username". You can ftp from a PC on the LAN or
      > >"locally" from a ssh connection to the slug.
      > >
      > If you are using the standard NSLU2 firmware or the latest Unslung then
      > you may need to turn on the built in ftpd server using the management
      > web pages.
      > Alternatively you could install one of the many ftpd servers in the
      > optware feed (obviously you would need to disable the built in ftpd
      > server).
      > I personally use proftpd because it can be configured with secure data
      > transfer using SSL/TLS, this will encrypt user names, passwords and
      > transferred, but there are many others to choose from. If you do
      > choose proftpd then I suggest that you first install the xinetd
      > It allows proftpd to only be loaded into memory when needed.
      > --
      > Robert Hammond
      > PGP:0x154144DA

      Unless you really, really need ftp, why not just use sftp from windows
      using winscp? Nothing needed to install on the slug and the data
      transfers are encrypted.
    Your message has been successfully submitted and would be delivered to recipients shortly.