Difference between revisions of "Connect to Filespace - Linux"

From Help Wiki
 
m (subst applied to Template:TwoColumn)
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
#REDIRECT [[Connect to File Space - Linux]]
+
 
 +
<div class="container-fluid">
 +
<div class="row">
 +
<div class="col-md-8">
 +
<div class="lead">
 +
These instructions are for the GNOME desktop.
 +
</div>
 +
 
 +
==On-Campus Access via Samba==
 +
===Via Connect to Server Dialog===
 +
#Open the Nautilus file manager.
 +
#Go to 'Places' , then 'Connect to Server'.
 +
#Select 'Windows share' under 'Service type'.
 +
#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)
 +
#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
 +
#Click Connect!
 +
 
 +
===Via Address Bar===
 +
Type the URL directly into the address bar in the form -> "smb://orca/" or "smb://hurricane" and in the dialog which appears enter your username, password, and "evergreen.edu" in the domain field. From there you can navigate to the folder which is the first letter of your last name, and then to your own directory. Try making a shortcut by dragging your folder into the side-bar.
 +
 
 +
==Off-Campus Access==
 +
===Read Only Access via web browser===
 +
#In a web browser go to the share you want to connect to
 +
#:'''''examples:'''''
 +
#*Hurricane = https://myfiles.evergreen.edu/homes/fac-staff/''first-letter-of-username''/''username''
 +
#*Orca programs = https://myfiles.evergreen.edu/academics/programs/''yourprogramfolder''
 +
#*Orca groups = https://myfiles.evergreen.edu/academics/acadgroups/''yourgroupfolder''
 +
#*Orca research = https://myfiles.evergreen.edu/academics/research/''yourresearchfolder''
 +
#login when prompted using your Evergreen username and password
 +
 
 +
===Read/Write Access via WebDAV===
 +
====Graphical====
 +
Many graphical file-browsers come with built-in support for WebDav, including Nautilus and Thunar.
 +
 
 +
Type the URL directly into the address bar in the form -> "davs://orca/" or "davs://hurricane" and in the dialog which appears enter your username, password, and "evergreen.edu" in the domain field. From there you can navigate to the folder which is the first letter of your last name, and then to your own directory. Try making a shortcut by dragging your folder into the side-bar.
 +
 
 +
 
 +
====Terminal====
 +
#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: <code>sudo apt-get install davfs2</code> into your terminal
 +
#Open a Terminal and become root (<code>sudo -i</code>) for the following commands.
 +
#Create a mount point for the share you want to connect to.
 +
#*Example: <code>mkdir /mnt/my_mount</code>
 +
#In a web browser go to the share you want to connect to
 +
#:'''''examples:'''''
 +
#*Hurricane = https://myfiles.evergreen.edu/homes/fac-staff/''first-letter-of-username''/''username''
 +
#*Orca programs = https://myfiles.evergreen.edu/academics/programs/''yourprogramfolder''
 +
#*Orca groups = https://myfiles.evergreen.edu/academics/acadgroups/''yourgroupfolder''
 +
#*Orca research = https://myfiles.evergreen.edu/academics/research/''yourresearchfolder''
 +
#Right click on the folder that you want and copy the link.
 +
#Type this command into your Terminal:
 +
#*<code>mount.davfs -ouid=username,gid=groupname https://serverpath/folder /mnt/my_mount</code> <br />replacing the following:
 +
#* "username" with your own local username
 +
#* "groupname" with your groupname (find out by typing: <code>id -n -g</code>)
 +
#* "https://serverpath/folder" with the link you copied above
 +
#* and "/mnt/my_mount" with the directory you created as a mount point above
 +
#You will be prompted for a username and password. These will be your evergreen.edu credentials.
 +
#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 <code>/etc/fstab</code> entry to automatically mount at boot or on demand
 +
#**#in a terminal: <code>sudo nano -w /etc/fstab</code>
 +
#**#add an entry like so: <code>https://myfiles.evergreen.edu/homes/students /your/mount/point davfs rw,nosuid,nodev,_netdev,uid={####},gid={####} 0 0</code> 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.
 +
#**#in the terminal: <code>sudo nano -w /etc/davfs2/secrets</code>
 +
#**#Add an entry like so:
 +
#**#*<code>/mnt/evergreen  evergreenid    evergreenpassword</code>
 +
#**#*where <b>evergreenid</b> and <b>evergreenpassword</b> are your Evergreen credentials.
 +
#**# Exit out of nano as above.
 +
#**# 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.'''
 +
 
 +
 
 +
<!-- end col-md-8 -->
 +
</div>
 +
<div class="col-md-1"></div>
 +
<div class="col-md-3 sidebar">
 +
{{GetHelp}}
 +
 
 +
<!-- end col-md-3-->
 +
</div>
 +
<!-- end row-->
 +
</div>
 +
<!-- end container-->
 +
</div>
 +
<!-- Generator=Template:TwoColumn -->
 +
__NOTOC__
 +
__NOEDITSECTION__
 +
 
 +
[[Category:File Space]]

Latest revision as of 16:01, 14 August 2017

These instructions are for the GNOME desktop.

On-Campus Access via Samba

Via Connect to Server Dialog

  1. Open the Nautilus file manager.
  2. Go to 'Places' , then 'Connect to Server'.
  3. Select 'Windows share' under 'Service type'.
  4. 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)
  5. 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
  6. Click Connect!

Via Address Bar

Type the URL directly into the address bar in the form -> "smb://orca/" or "smb://hurricane" and in the dialog which appears enter your username, password, and "evergreen.edu" in the domain field. From there you can navigate to the folder which is the first letter of your last name, and then to your own directory. Try making a shortcut by dragging your folder into the side-bar.

Off-Campus Access

Read Only Access via web browser

  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 via WebDAV

Graphical

Many graphical file-browsers come with built-in support for WebDav, including Nautilus and Thunar.

Type the URL directly into the address bar in the form -> "davs://orca/" or "davs://hurricane" and in the dialog which appears enter your username, password, and "evergreen.edu" in the domain field. From there you can navigate to the folder which is the first letter of your last name, and then to your own directory. Try making a shortcut by dragging your folder into the side-bar.


Terminal

  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.