Hardware - Support > Network

Mapping a drive across VPN

(1/1)

Wirezfree:
Hi,

I remember I had issues mapping drives, I only have my notes now, but you could try this...
Firstly you need to create a directory to where you will "mount" you Windows share to.

So for example in your /home/llusername/ dir create a folder for example: uni-drive

Now from my notes, and trying to transpose your details, you would need to execute, after you have opened your vpn:

--- Code: ---sudo mount -t cifs -o username=youruniusername,password=yourunipassword,uid=llusername,gid=users //aavpn.london.ac.uk/nfc456ghi/squid /home/llusername/uni-drive

--- End code ---

See what happens, if it works.?, your folders/docs should be in/mapped to uni-drive
It is possible, but the whole username/password/permissions in a mixed Linux/Windows environment can get confusing...

Dave


Spillen:
Thanks avj.  I gave it a go but still no luck.

avj:
I have never tried this but I found this link that may be helpful. 
http://superuser.com/questions/145191/how-do-i-map-a-drive-network-share-using-the-linux-terminal

Spillen:
Hi
I am after help with mapping a drive at a university please.  VPN connection has been established however the instructions to map the drive are for Windows, using 'NET USE' command.

The instructions that we have been given are:

Access to SHFC Department Folders (The N Drive)
1. Press the windows start button (located bottom left).
2. Select the Run command, a dialogue box will open entitled “Run”.
3. Type the following :
NET USE N: \\nfc456gh\squid$
4. Press the enter button.
5. A window will open asking for your username (use the username and
password you use for accessing email or outweb), type the following:
Enterprise\your username
Example : enter\addv606
6. You will now be prompted for a password; enter your current password.
7. The N Drive will now be mapped.
domain = aavpn.london.ac.uk

The terminal command I have been messing about with, based on these instructions is:
sudo mount.cifs //aavpn.london.ac.uk/nfc456ghi/squid$ ~/drive-N -o username=enter\addv606,password=orange

The error I get is:
mount error(115):  Operation now in progress. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

What on gods earth am I doing wrong.  Help will be hugely appreciated.
Spillen



Navigation

[0] Message Index

Go to full version