Difference between revisions of "Accessing DFS"

From RHLUG Wiki
Jump to navigation Jump to search
(Created page with "Sometimes you will need to access DFS (Distributed File System) to install software or upload files to a class's "dropbox". You can connect to Rose-Hulman DFS through sftp or...")
 
Line 1: Line 1:
Sometimes you will need to access DFS (Distributed File System) to install software or upload files to a class's "dropbox".
Sometimes you will need to access DFS (Distributed File System) to install software or upload files to a class's "dropbox".


You can connect to Rose-Hulman DFS through sftp or samba (smb). Both methods are listed in case one would stop working, or one is more reliable than the other.
You can connect to Rose-Hulman DFS through samba (smb). (As of July 10, 2020, sftp no longer works, so you will have to use smb.)


To access the Rose-Hulman DFS, you will need to be on campus. If you are off campus, you will need to use the '''Pulse Secure VPN via OpenConnect'''. Please see that page (Pulse Secure VPN.mediawiki) for more details.
To access the Rose-Hulman DFS, you will need to be on campus. If you are off campus, you will need to use the '''GlobalProtect VPN via OpenConnect'''. Please see [[Accessing the Off-Campus VPN]] for more details.
 
= SFTP =
We will be using the "sftp" utility to download from the dfs server. This is a command line utility.
 
Type the following command into a terminal and press enter. Substitute ROSE-USERNAME with your username.
 
<code>sftp -o "HostKeyAlgorithms ssh-dss" [email protected] </code>


= Samba =
= Samba =

Revision as of 12:51, 12 July 2020

Sometimes you will need to access DFS (Distributed File System) to install software or upload files to a class's "dropbox".

You can connect to Rose-Hulman DFS through samba (smb). (As of July 10, 2020, sftp no longer works, so you will have to use smb.)

To access the Rose-Hulman DFS, you will need to be on campus. If you are off campus, you will need to use the GlobalProtect VPN via OpenConnect. Please see Accessing the Off-Campus VPN for more details.

Samba

You will need to have smbclient installed in your repo's packages.

Through the terminal

Open a terminal and type:

/usr/bin/smbclient //rose-hulman.edu/DFS -U [Your RHIT network user name]@rose-hulman.edu (you must type in your full email here!)

Note the forward slashes instead of the backslashes. In the terminal, the backslash (\) is an escape character. To type one backslash (which you can also do), type \\. To type two, type \\\\.

Also, we are typing /usr/bin/smbclient to avoid possible mistakes due to backslashes.

If you get a message saying /usr/bin/smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it, run sudo touch /etc/samba/smb.conf in a terminal to create an empty SMB configuration. Usually this is not needed, but sometimes smbclient is finicky.

If this doesn't let you type in your password, there may be an issue with a connection method not reaching their servers. Try an alternate connection method.

Then type in your password and press ENTER.

Once you're connected, you can type help and get a list of commands to use.

Source: Ubuntu Samba Client Guide

Troubleshooting

Make sure you are on the latest stable version of smbclient (install updates) first. (In the link, don't look for rc releases, just the samba-... ones)

No password prompt comes up

Try typing in:

  • /usr/bin/smbclient //rose-hulman.edu/DFS -U ROSE-HULMAN\\[Your RHIT network user name] (or ROSE-HULMAN/[Your RHIT network user name])

This is because ROSE-HULMAN is the "domain" on Windows computers that connects to the internal network.

See also

In case you have any issues, please refer to the following pages. This tutorial may be updated depending on user demand.

SMB - ArchWiki (relevant sections: 2, 2.5 for specific desktop environment integration e.g. Gnome/KDE/XFCE)