|
NOTE: To connect to your home directory from outside the department you will have to be part of the
PHAS VPN.
Instructions for Windows Users
From a Windows-based computer system in the department you can connect to your
home directory on our linux server, filesvr.phas.ubc.ca, and save files
directly from any Windows application (eg. Netscape, MS-Word, etc.).
Or, conversely, you can save an email attachment with pine
and access it directly with your MS-Office application. This is also a good way
to ensure that files gets backed up regularly.
To connect to your home
directory, open the Windows Explorer.
Go to the Menu Bar and choose Tools -> Map Network Drive.
Set up the connection as follows:
- Drive: is any unused drive (by convention we use H:)
- Set Folder: to \\filesvr.phas.ubc.ca\homes
- to have your H: drive appear every time you log on to this computer - click the Reconnect
at Logon box.
In most cases, that's all there is to it.
Instructions for Mac Users
The following maps your home directory on MacOS X:
Mac OS X 10.4.x Tiger
- Open Finder
- Click on the Go menu
- Select the Connect to Server option
- On the Connect to Server window, in the Address field, type the following: smb://filesvr.phas.ubc.ca/homes
- Click the Connect button
- On the File System Authentication screen, enter your username and password
- Click OK
- The drive icon should then appear on the Desktop
- To disconnect, drag the drive to the Trash.
Mac OS X 10.5.x Leopard
- Login as a normal user
- Open a terminal:
- Open Finder
- Go to Applications
- Select Utilities
- Double-click on Terminal
- Type the following commands inside the Terminal window after making sure you are in your home directory:
mkdir phashome
mount -t smbfs //username@filesvr.phas.ubc.ca/homes phashome
- Enter your password when prompted
- List your files (optional):
ls phashome
Instructions for Linux/Unix Users
Mount Method
You can map your home directory on your linux computer with the command:
mount -t cifs -o username=<username> //filesvr.phas.ubc.ca/homes /mnt/phashome
(the above command should be on one line)
Make sure you have the smbclient package installed and (for ubuntu) the smbfs package.
If the above command fails with an error like
"mount: mount point /mnt/phashome does not exist",
you need to create the phashome directory with the following command:
mkdir /mnt/phashome
You may need to be root in order to execute these commands. If so, just put
"sudo" in front of the commands, for example:
sudo mkdir /mnt/phashome
For Ubuntu, etc you will enter your password. For Redhat, Fedora, Suse, etc. you will
need to use the root password.
For more information type "man smbmount".
Here is an example of a CIFS mount command where you need to specify the authentication
server name (in this case "mercury") as well as the username for authentication:
mount -t cifs -o username=mercury\\username,password=mypwd //saturn.ubc.ca/Apps /mnt/saturn
sshfs Method
As an alternative to mount, you could use sshfs.
To mount your home dir:
sshfs username@hyper.phas.ubc.ca:/home/username /mnt/phashome
To unmount your homedir:
fusermount -u /mnt/phashome
To do this you need to first have installed sshfs. For example on ubuntu, you
would use the following command:
sudo apt-get install sshfs
|