You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Mapping a drive across VPN

Author (Read 5157 times)

0 Members and 1 Guest are viewing this topic.

Re: Mapping a drive across VPN
« Reply #4 on: April 15, 2015, 04:42:46 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
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: [Select]
sudo mount -t cifs -o username=youruniusername,password=yourunipassword,uid=llusername,gid=users //aavpn.london.ac.uk/nfc456ghi/squid /home/llusername/uni-drive

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


Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Mapping a drive across VPN
« Reply #3 on: April 15, 2015, 03:25:39 PM »
 

Spillen

  • New to Forums
  • *
  • 2
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
Thanks avj.  I gave it a go but still no luck.
 

Re: Mapping a drive across VPN
« Reply #2 on: April 12, 2015, 10:33:47 AM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
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
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Mapping a drive across VPN
« Reply #1 on: April 12, 2015, 09:10:25 AM »
 

Spillen

  • New to Forums
  • *
  • 2
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
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



 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section