User menu

Menu

Main menu

Connect to Lehigh Network Storage from Linux

Linux-based operating systems vary widely in their implementation of network file sharing protocols.  In order to make connections from your Linux-based system to Lehigh's Windows-based file servers, it's often best to simply pull up a terminal window and enter the appropriate command.  To do this at Lehigh requires that you make sure to set a few options correctly in that command.

Step Number: 
1
Action: 

Before you start:  make sure you are connected to the Lehigh campus network, either with an Ethernet cable, via Lehigh wireless ('lehigh' SSID), or via the VPN.

Step Number: 
2
Action: 

Determine your home server. If your username begins with a letter between...

a and h use home10
i and l use home11
m and z use home12

 

Step Number: 
3
Action: 

Next, open a terminal, and change directories to your user's home directory, and create a mount point.  This is just an empty folder that the account you're using has full access to.

$ cd ~
$ mkdir hdrive

Step Number: 
4
Action: 

Next, you'll need to use sudo to run the mount command to attach the share to your mount point.  Note that you need to specify both your Lehigh username and your Linux account name in the command.  You'll also likely get asked for two passwords -- one for the account you're in (for sudo), and one for your Lehigh username:

  $ sudo mount -t cifs -o username=<Lehigh username>,vers=2.0,dom=ad,uid=<linux username> //<Lehigh home server>.cc.lehigh.edu/home/<Lehigh username> hdrive

Step Number: 
5
Action: 

Check your access by changing to the mount point directory, and make sure you can save a file:

$ touch test

Step Number: 
6
Action: 

Step 4 showed connecting to one's Personal Storage space, but the command works the same for Departmental Storage by using the server '//common.cc.lehigh.edu/common'. It's recommended to create and use a different mount point.

sudo mount -t cifs -o username=<Lehigh username>,vers=2.0,dom=ad,uid=<linux username> //common.cc.lehigh.edu/home/common idrive

For additional help, please contact the LTS Help Desk at 610-758-4357 or helpdesk@lehigh.edu