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

Ftp setup

Discussion in 'Tomato Firmware' started by itresearcher, Nov 5, 2013.

  1. itresearcher

    itresearcher Reformed Router Member

    Hi all,

    I am new and would like to say hello to all community members. I am having issues with my FTP setup. For some reason I cannot get it to work consistently. I am using shibby's 114 firmware for asus ac66u. I have been trying to get the ftp setup now for over a month without success. Does anyone have screenshots of there working setup are can instruct me how to get this working properly?
     
  2. kthaddock

    kthaddock Network Guru Member

    What do you want to do ?
     
  3. itresearcher

    itresearcher Reformed Router Member

    I would like to access my ftp internally on my mac and pc's but also externally. Seems like some of my issues would have been permission issues for folders. I created a anonymous folder, public folder, and a private folder. I set these folders up through the sharing smb option. I got all my files moved over using the sharing option. I then try to access the content through the two accounts I setup and I get errors from finder when trying to move files from ftp folders to my desktop.
     
  4. kthaddock

    kthaddock Network Guru Member

    I get errors from finder when trying to move files from ftp folders to my desktop
    Have you set Read/write accesss and have you specify root directory ?

    How do you have setup this directorys?

    Anonymous Root Directory* (for anonymous connections)
    Public Root Directory* (for authenticated users access, if not specified for the user)
    Private Root Directory** (for authenticated users access in private mode)
    Directory Listings
     
  5. itresearcher

    itresearcher Reformed Router Member

    This is what my setup looks like (See image Below). I am obviously doing something wrong I am just not sure what. The permissions is probably the issue. I am just trying to figure out where I am going wrong. Are these folders you listed suppose be set on the root directory? Ex. /mnt/sda1/Anonymous etc...? I am asking this because this could be where I am going wrong. I am setting them up as /mnt/sda1/PotGo/Anonymous For sharing I am using authentication, I am (smb)ing to the drive then creating the folders using this sharing authenticated account.

    I have also posted the error that finder gives when transferring files from the drive to the desktop using one of the two ftp accounts you can see in the second screenshot. If you need other images please let me know.
     

    Attached Files:

  6. kthaddock

    kthaddock Network Guru Member

    I have mine like you: /mnt/mountname/public I think you have problem with your rights my folder have 0755
    Try to make your folder in FTP. Where do you have set permissions read/write, Samba or FTP ?
    What formay have your drive, ext2-3 ntfs fat?
     
    Last edited: Nov 5, 2013
  7. itresearcher

    itresearcher Reformed Router Member

    Does the sharing page have anything to do with ftp? I have permissions set on ftp side. My drive is formatted ext3. I might be setting things up wrong on the sharing side and have permission issues. I will try to check on both of these. Is ftp rock solid on tomato in general or is it shaky?
     
  8. kthaddock

    kthaddock Network Guru Member

    Does any of this folders work, anonymous, public, private folder ? Note that is special setup when you use private-folder. I have used FTP for years and have no problem. Folder can shares from either ftp or samba. If I wore you I should set up WinScp and check folder permission.
    Do you use usb memory and is't any security or other software on it?
     
  9. itresearcher

    itresearcher Reformed Router Member

    I noticed you said you have your folders setup 0755, why the 0 before 775? From ftp on my mac side when I login with one of my two accounts sometimes my folder directory does not show up, I get a blank folder with no subdirectories. When I do get to see the folders I can navigate through. Once I get to the file that I want to transfer from my ftp to my mac desktop I get the finder error 36. If I try this from my windows (logging into the ftp) with either account I can see and transfer files without issue. And this is with the default folder permissions. Seems everything is wonky on the mac side and fine on the windows side. Now I notice the folders I have when I list the permissions they (anonymous, public, private) all have the root user and root group. When you had setup your ftp did you have to do anything special. Do you usually have to change folder permissions when setting up ftp or is it like plug and play and you shouldn't have to do all these back end changes? Should the folders I created through smb for ftp need to have the permissions changed? I am creating the folders with my authenticated smb account.

    If I could be walked through the setup I might be able to point out where I am going wrong. Should finder be worries about the permissions on this volume, why does windows seem to not have the issue?

    Should I setup this ftp share under smb as a shared folder? I am just connecting to the smb using authenticated account then I create the folders from finder. Should these folders be actually be "shared folders" and not be folders created using the smb authenticated account to do so?
     

    Attached Files:

    Last edited: Nov 7, 2013
  10. koitsu

    koitsu Network Guru Member

    Pure habit. There are those of us familiar with UNIX who know what 1xxx and 2xxx and 4xxx are for (answer: sticky bit, setgid bit, setuid bit). But there is no functional difference between chmod 755 and chmod 0755.
     
    dc361 likes this.
  11. itresearcher

    itresearcher Reformed Router Member

    Hi thank you all for your assistance it seems my issue is not with the tomato firmware but with finder on my mac. Seems to be a known issue for older operating systems other than Maverick. I am using Maverick and experiencing the same issue so I hope with the next update apple addresses this. So all the back end nonsense I was doing was not needed. Ftp setup is as simple as it looks just issues with os handling of ftp file transfer seem to be my issue and being new to tomato...great firmware.
     

Share This Page