Accessing DFS

From RHLUG Wiki
Revision as of 12:51, 12 July 2020 by AlphaCubed (talk | contribs)
Jump to navigation Jump to search

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)