The article gives instructions on how to connect to the N and K drives using a Ubuntu Linux distribution running the GNOME desktop.

Work Anywhere

When working away from the University campus staff and students can access their N & K drives in the same way as they do when on campus if they first setup a Virtual Private Network (VPN) connection. This article provides instructions on setting up VPN: Setting up the VPN for remote access on Linux

Note: The connection to N and K drives will fail at startup if you are working remotely and the VPN is not connected.

Accessing N & K drives

It is possible to use the in-built 'Connect to Server...' function to connect to your N drive and the K drives. This has been tested on Ubuntu but should work on any distribution using the GNOME desktop. Some steps may vary depending on version.

First identify your N and K drive addresses:

N Drive

Use the 'Find my N Drive' tool. Note: You need to connect the VPN to use this tool when off campus.

K Drive

The address is smb://sp1/public

Connect to your N drive and the K drive

Using the Graphical User Interface,

1. Using the File Browser, select File and Connect to Server (or select 'Connect to Server' in the navigator sidebar).

2. Enter the N drive address in the 'Server Address' field:

Linux Connect to Server 

3. Click on 'Connect' 

4. When prompted enter your university network credentials. Enter uni for the domain.

Make the appropriate selection for storing the password.

Linux password 

5. Click on 'Connect'

The contents of your N drive should now be accessible

The connection address will be saved for future use but you may have to re-enter you password if you chose not to allow it to be saved locally.

Repeat steps 2 to 5 to connect to you K drive The server address is smb://sp1/public

Using the Command Line Interface (e.g. Terminal)

Enter the following command in a terminal: sudo mount -t cifs //.uni.ds.port.ac.uk// /mnt/ -o username=,rw,sec=ntlm,vers=3.0,uid=,gid=

is the first part of the drive address e.g 'su2'; is the middle part of the drive address e.g. 'u-'; the is the final part of the drive address e.g. 'pottsd'
and are your linux userid and group. These may be the same as your network userid.

e.g. sudo mount -t cifs //su2.uni.ds.port.ac.uk/u-/pottsd /mnt/pottsd -o username=pottsd,rw,sec=ntlm,vers=3.0,uid=pottsd,gid=pottsd

The mount point (specifiued as '/mnt/') can be difefrent but should exist before entering the command.
This will give read-write access via the specified mount point.

Known error

Problem: Error message when connecting that says Cannot display location"sftp://~@myfiles.port.ac.uk/home/local/UNI/~" Host key verification fails

Possible fix: remove the host key from the file ~/.ssh/known_hosts

Problems

If you have any problems connecting using the method above please contact the Servicedesk.

For further information please see the related articles, Your N drive information guide, Connect to N and K drives (MacOSX), Setiing up the VPN for remote access on the Linux operating system, Connect to N and K drives (Windows), K drive location.

 

 


Share
Email
Facebook
Twitter
Reddit
Subscribe
Enter your email address to receive a notification when the article is updated
Email Address
Subscribe
Unsubscribe
Share
To
Subject
Message
Send

Was this article helpful
Thank you for your feedback
How can we improve?