• IT Home
  • KB Home
  • Advanced Search
  • User Menu
  • Browse

IT Knowledge Base

 
Tools

Accessing MyFiles from Linux: davfs2 [MOVED]

Author: Ken Johnson Reference Number: AA-00547 Views: 1578 Created: 05-15-2012 11:51 am Last Updated: 05-15-2013 03:05 pm 0 Voters

Thanks to Brandon Tanner for the steps for this instruction page. 

Requirements: 
  • Linux
  • Neon Client Library - 2.4, 2.5, or 2.6 (ldconfig -v | grep libneon)
  • FUSE or Coda support - Either one enabled in your Kernel (less /usr/src/linux/.config | grep -i fuse)
  • DavFS2 - Install from Source
  • OpenSSL or GnuTLS - Should already have it (locate openssl or gnutls)
Conventions: 
  • USERNAME - Your Local Linux Username (use whoami if unsure)
  • LETU_USER - Your LetNet Account Name (without the @letu.edu)
  • # - Command is executed as "root"
  • $ - Command is executed as USERNAME
Instructions:
  1. Do a Test Mount 
    # mkdir -p /mnt/tmp
    # mount -t davfs https://myfiles.letu.edu/students/users/LETU_USER /mnt/tmp/
    • You will be asked for your LETU_USER and password, and to accept its certificate. If it all works right, the contents of /mnt/tmp will now be your LeTourneau MyFiles.
    • Since using root to access our files is a bad habit, lets umount it and move on.
      # cd /
      # umount /mnt/tmp

  2. Setup the davfs2 Group 
    In order to be able to mount davfs2 file systems using your USERNAME, we have to add your USERNAME to the davfs2 group. It is assumed that installation of the davfs2 software involved creating of the davfs user and group.
    # usermod -a -G davfs2 USERNAME

  3. Setup /etc/fstab 
    Now we can add a line to the /etc/fstab file so that we can mount our network files in our home directory. As root, append the following line to your /etc/fstab file.
    https://myfiles.letu.edu/students/users/LETU_USER /home/USERNAME/letu davfs defaults,rw,user,noauto 0 0

  4. Mount your MyFiles 
    $ cd ~
    $ mkdir letu
    $ mount letu
    • The server asks for your LETU_USER and password, and possibly, to accept the server certificate. ~/letu now contains the contents of your LeTourneau MyFiles. 

  5. To Un-Mount your MyFiles
    $ cd ~; umount letu
    The output will look like the following: 
    /sbin/umount.davfs: waiting while mount.davfs (pid ###) synchronizes the cache .. OK
 
Rss Comments
  • There are no comments for this article.
 

Future Students  |  Current Students  |  Adult Students  |  Alumni  |  Community  |  Donors  |  Parents

 
PO Box 7001, Longview TX, 75607-7001
1-800-759-8811
admissions@letu.edu