Connect to Filespace - Linux

From Help Wiki
Revision as of 14:15, 7 October 2010 by Greenea (Talk | contribs)

These instructions are for the GNOME desktop.

On-Campus Access

  1. Go to 'Places' , then 'Connect to Server'.
  2. Select 'Windows share' under 'Service type'.
  3. Type in the name of the server you want to connect to in the 'Server:' field
    • examples:
    • smb://hurricane for faculty and staff file server
    • smb://orca for students and academic file shares (programs, groups, research, student)
  4. Type in the name of the share or folder in the 'Share' field
    • examples:
    • Hurricane users: select the first letter of your last name, or workgroup share
    • Orca users: select programs (for academic programs), groups, research or students
  5. Click Connect!

Off-Campus Access

Read Only Access

  1. In a web browser go to the share you want to connect to
    examples:
  2. login when prompted using your Evergreen username and password

Read/Write Access

  1. Install davfs2, either through your package manager or by building from the source found at http://sourceforge.net/projects/dav/files/
    • (For Ubuntu/Debian, use Synaptic, or simply type: sudo apt-get install davfs2 into your terminal
  2. Open a Terminal and become root (sudo -i) for the following commands.
  3. Create a mount point for the share you want to connect to.
    • Example: mkdir /mnt/my_mount
  4. In a web browser go to the share you want to connect to
    examples:
  5. Right click on the folder that you want and copy the link.
  6. Type this command into your Terminal:
    • mount.davfs -ouid=username,gid=groupname https://serverpath/folder /mnt/my_mount
      replacing the following:
    • "username" with your own local username
    • "groupname" with your groupname (find out by typing: id -n -g)
    • "https://serverpath/folder" with the link you copied above
    • and "/mnt/my_mount" with the directory you created as a mount point above
  7. You will be prompted for a username and password. These will be your evergreen.edu credentials.
  8. Once this is done, you'll have read and write access to your share
    • This is not a permanent mount.
    • You have several options if you'd like your Linux installation to permanently recognize your Evergreen file space.
      • Make an /etc/fstab entry to automatically mount at boot or on demand
        1. in a terminal: sudo nano -w /etc/fstab
        2. add an entry like so: https://myfiles.evergreen.edu/homes/students /your/mount/point davfs rw,nosuid,nodev,_netdev,uid={####},gid={####} 0 0 where uid and gid are the user and group numbers from /etc/group, and /your/mount/point is the mount point you chose above...more on that later. Exit nano with ctrl-X, and 'y' to save.
        3. in the terminal: sudo nano -w /etc/davfs2/secrets
        4. Add an entry like so:
          • /mnt/evergreen evergreenid evergreenpassword
          • where evergreenid and evergreenpassword are your Evergreen credentials.
        5. Exit out of nano as above.
        6. Every time you boot, your evergreen share will be mounted.
      • Use your Desktop Environment's (Gnome, KDE, etc.) tools to mount as a network share
      • more detail to come...


Note: Your firewall software might block the connection to the remote fileshare. If you can't connect to the filespace and have double-checked the instructions, you might need to add a firewall exemption for the fileshare.