Problem in script mounting volume on VPN-server

Hi,
I try to set up the app Chronosync to make a regular backup on a disc volume that is at the University.
Chronosync can be told to backup at certain times, but the folder/volume needs to be mounted.
Chronosync can start an applescript to do this automated.
I made a script that opens the VPN, but I fail to get it to mount the specific volume on the server.
This is what I have so far:
tell application "System Events"
          tell current location of network preferences
                    set VPNservice to service "***"  --replace asterix by name of VPN-server
                    set isConnected to connected of current configuration of VPNservice
                    tell application "System Events" to tell process VPNservice to activate
                    if not isConnected then
  connect VPNservice
                              delay 1
                              tell application "System Events" to tell process VPNservice to keystroke "******" --replace asterix by password
                              tell application "System Events" to tell process VPNservice to keystroke return
                    end if
          end tell
end tell
This opens the vpn connection, and from there it should be just mounting the personal volume on the university's server.
Actually it looks fairly simple to do: Finder > Go > connect to server > click smb://***** and off you are.
But I just don't get this last piece working.
Help is very welcome!

I managed to get a step further and have the script working - that is to say in Applescript. But when I start the script in Chronosync it will not perform the second action, mounting the volume.
Why would that be??
tell application "System Events" 
          tell current location of network preferences
                    set VPNservice to service "VPN***"
                    set isConnected to connected of current configuration of VPNservice
                    tell application "System Events" to tell process VPNservice to activate
                    if not isConnected then
  connect VPNservice
                              delay 1
                              tell application "System Events" to tell process VPNservice to keystroke "--password"
                              tell application "System Events" to tell process VPNservice to keystroke return
                    end if
          end tell
end tell
delay 4
tell application "Finder" to open location "smb://username:password@servername/username"

Similar Messages

  • Permissions re: Mount Volume/Connect to Server

    I wrote a simple little AppleScript to automate users' weekly email backup. the script gets triggered by the user's email client (Entourage)... Here's the script:
    tell application "Finder"
    mount volume "afp://SERVER.ADDRESS/USER BACKUP"
    duplicate folder "USER'S EMAIL FOLDER" of startup disk to folder "USER'S BACKUP FOLDER" of disk "USER BACKUP" with replacing
    end tell
    However, I've noticed that this script only works if I have the user's folder permissions set to "read and write" for everyone (I can't set individual user permissions to restrict access)
    How can I run this script in a way that will authenticate on the fly and then restrict access accordingly?
      Mac OS X (10.4.7)  

    Mount volume doesn't have to go through the finder AFAIK. Also, I'd put the username and password in the applescript.
    mount volume "afp://username:[email protected]/somemountpoint"
    Or if you don't want to put the u/name and password, write a script that prompts for them.
    HTH
    edit: but I think you're right going through the finder, otherwise your your duplicate command would probably not work. It would have to be "do shell script cp blah blah" or "do shell script ditto -rsrcFork blah blah"
    Message was edited by: Ang Moh

  • Mount volume with windows server password (not remembering the password)

    Hello,
    I have a setup through "System Preferences" "Users & Groups" "Login Items", wherein there is a volume which is mounted upon login. Set volume is within a Windows Server domain, for which I have credentials to login.
    My question is related, to the fact that OSX (under Snow Leopard nor Lion), seems to remeber the password for said login, even though the checkbox for "remeber this password, etc." is set. So everyday I need to type in my password for it to mount the volume.

    Satellite C875-S7303
    If you have a Microsoft account, you can reset the Windows password easily. So do you have that or a local account?
    -Jerry

  • Mountain Lion VPN server "IPCP maximum config-requests exceeded" error

    I have OS-X Server running on Mountain Lion 10.8.4  I had to reinstall the system due to a hard drive failure and ever since reinstalling OS-X server the VPN service has been driving me mad. Every so often without any obviosu reason the service starts failing and comes up with a "IPCP: Maximum Config-Requests exceeded" error. On the client side it looks like Connecting >> Authenticating >> "You have ben disconnected" message. It seems like this happens every time you restart the machine (so after a fresh restart I can NEVER log in at all and get this error) and switching the VPN service off and back on again in Server app gets rid of the problem every time. Then the problem comes back sometimes after a few minutes, sometimes ater a few hours or days even. I have the exact same settings as I did before where it ran without fault for months and would be back up and running after power failures and automatic restarts. I have not found one single thread anywhere where someone could explain what this is and the best solution I have seen so far was to write a script to turn the VPN server off and back on all the time. Could someone PLEASE help me here. Ay help at geting rid of this problem would b very much appreciated!

    VPN not working:
    vpn:vpnHost = "XX.XXX.XXX.XX"
    vpn:Servers:com.apple.ppp.pptp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.pptp:enabled = yes
    vpn:Servers:com.apple.ppp.pptp:Interface:SubType = "PPTP"
    vpn:Servers:com.apple.ppp.pptp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-RSA"
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize128 = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize40 = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.pptp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPProtocols:_array_index:0 = "MPPE"
    vpn:Servers:com.apple.ppp.pptp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.240"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingAddress = "1.2.3.4"
    vpn:Servers:com.apple.ppp.l2tp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingEnabled = 0
    vpn:Servers:com.apple.ppp.l2tp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.l2tp:enabled = yes
    vpn:Servers:com.apple.ppp.l2tp:Interface:SubType = "L2TP"
    vpn:Servers:com.apple.ppp.l2tp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-KRB"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.l2tp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.l2tp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.l2tp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecretEncryption = "Keychain"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecret = "com.apple.ppp.l2tp"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:AuthenticationMethod = "SharedSecret"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:RemoteIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:IdentifierVerification = "None"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalCertificate = <>
    vpn:Servers:com.apple.ppp.l2tp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.225"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.239"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:L2TP:Transport = "IPSec"
    vpn:Servers:com.apple.ppp.l2tp:L2TP:IPSecSharedSecretValue = "xxxxxxxxxx"
    VPN working:
    vpn:vpnHost = "xx.xxx.xxx.xx"
    vpn:Servers:com.apple.ppp.pptp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.pptp:enabled = yes
    vpn:Servers:com.apple.ppp.pptp:Interface:SubType = "PPTP"
    vpn:Servers:com.apple.ppp.pptp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-RSA"
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize128 = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize40 = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.pptp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPProtocols:_array_index:0 = "MPPE"
    vpn:Servers:com.apple.ppp.pptp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.240"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingAddress = "1.2.3.4"
    vpn:Servers:com.apple.ppp.l2tp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingEnabled = 0
    vpn:Servers:com.apple.ppp.l2tp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.l2tp:enabled = yes
    vpn:Servers:com.apple.ppp.l2tp:Interface:SubType = "L2TP"
    vpn:Servers:com.apple.ppp.l2tp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-KRB"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.l2tp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.l2tp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.l2tp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecretEncryption = "Keychain"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecret = "com.apple.ppp.l2tp"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:AuthenticationMethod = "SharedSecret"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:RemoteIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:IdentifierVerification = "None"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalCertificate = <>
    vpn:Servers:com.apple.ppp.l2tp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.225"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.239"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:L2TP:Transport = "IPSec"
    vpn:Servers:com.apple.ppp.l2tp:L2TP:IPSecSharedSecretValue = "xxxxxxxxxx"

  • OES2sp2 miggui Failed to mount volume

    Trying to migrate NW65SP8 (DS8.8.4) to OES2sp2.
    miggui is running on the OES2sp2 server which is patched up to date using rug.
    Source and target servers are in the came container in the DS.
    I can define the source and target servers and get to the point where I want to configure the migration of volumes, but then I get a failure. The log (minus the timestamps for clarity) reads:
    ERROR - FILESYSTEM:volmount.rb:Command to mount source: ruby /opt/novell/migration/sbin/volmount.rb -s 138.37.100.118 -a "cn=joshua,ou=sys,o=qmw" -c cp437 -f "/var/opt/novell/migration/cc18/fs/mnt/source" -m -t NW65
    INFO - FILESYSTEM:volmount.rb:*****************Command output start**********************************
    INFO - FILESYSTEM:volmount.rb:
    INFO - FILESYSTEM:volmount.rb:Information: ncpmount using code page 437
    INFO - FILESYSTEM:volmount.rb:Information: ncpshell command executed as: LC_ALL=en_US.UTF-8 /opt/novell/ncpserv/sbin/ncpshell --volumes --ip=138.37.100.118 --u="joshua.sys.qmw"
    INFO - FILESYSTEM:volmount.rb:Information: Mounting Volume = _ADMIN
    INFO - FILESYSTEM:volmount.rb:Information: Executing command: /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d /var/opt/novell/migration/cc18/fs/mnt/source/_ADMIN -v _ADMIN
    INFO - FILESYSTEM:volmount.rb:Fatal: Failed to mount volume _ADMIN for server 138.37.100.118
    INFO - FILESYSTEM:volmount.rb:Fatal: SystemCallError, Unknown error 1008 - Failed to mount volume _ADMIN for server 138.37.100.118 .
    I tried executing what appears to be the offending command by hand:
    ruby /opt/novell/migration/sbin/volmount.rb -s 138.37.100.118 -a "cn=joshua,ou=sys,o=qmw" -c cp437 -f "K" -m -t NW65 -p password --debug
    which produces the output:
    Information: ncpmount using code page 437
    Information: ncpshell command executed as: LC_ALL=en_US.UTF-8 /opt/novell/ncpserv/sbin/ncpshell --volumes --ip=138.37.100.118 --u="joshua.sys.qmw"
    Information: Mounting Volume = _ADMIN
    Information: Executing command: /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d K/_ADMIN -v _ADMIN
    Fatal: Failed to mount volume _ADMIN for server 138.37.100.118
    Fatal: SystemCallError, Unknown error 1008 - Failed to mount volume _ADMIN for server 138.37.100.118 .
    Information: File K/_ADMIN/Novell/Cluster/PoolConfig.xml does not exist. No cluster resources attached
    Information: Mounting Volume = SYS
    Information: Executing command: /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d K/SYS -v SYS
    Fatal: Failed to mount volume SYS for server 138.37.100.118
    Information: unmounting all mounted volumes
    Information: Executing command:/opt/novell/ncl/bin/nwlogout -f -s QMWCC18
    Cannot perform logout: Cannot connect to server:[QMWCC18]. Error:NWCCOpenConnByName:
    Information: Command Output:
    Information: Executing command: rm K/*
    rm: cannot remove `K/*': No such file or directory
    Fatal: SystemCallError, Unknown error 1008 - Failed to mount volume SYS for server 138.37.100.118 .
    SLP shows both servers, they are on the same network as each other, and the firewall is turned off.
    Does anyone have any idea what may be causing the mount failure or what error 1008 might be?
    Tim

    cgaa183 wrote:
    > Thankyou all for helpful suggestions, I'll go through them.
    >
    > 1. novfsd
    > /etc/rc.d/novfsd status
    >
    > running
    >
    > /etc/rc.d/novfsd restart
    > Stopping Novell novfs daemon...
    >
    > done
    > Starting Novell novfs daemon...
    >
    > No Config File Found - Using Defaults
    > novfsd: Novell Client for Linux Daemon
    > Copyright 1992-2005, by Novell, Inc. All rights reserved.
    > Version 3.0.1-503
    >
    > done
    >
    > Nothing changes, so I don't think that was the problem in this case.
    >
    did you restart the server after installing OES2 SP2?
    > 2. try using migfiles
    > /opt/novell/migration/sbin/migfiles -s 138.37.100.118 -v APPS -V APPS
    >
    > The result:
    > Error:
    > Error: nbackup: Unable to retrieve the Target Service Name list from
    > 138.37.100.118
    > Error:
    > Fatal: nbackup command failed to execute: nbackup: Connection denied
    >
    migfiles is not able to connect to the TSA on the source server. Either
    TSAFS is not loaded on the source server or not able to locate the TSA
    using SLP.
    > This might be informative to someone who knows a little more than me. I
    > wonder if I can call it with options to get more information. I have
    > just re-checked I can attach and mount volumes with the same username
    > from another system.
    >
    > 3. ruby version
    >
    > rpm -qa |grep ruby
    > ruby-1.8.4-17.20
    > rubygems-0.9.2-4.4
    > rubygem-needle-1.3.0-1.5
    > rubygem-net-sftp-1.1.0-1.5
    > ruby-devel-1.8.4-17.20
    > rubygem-net-ssh-1.0.9-1.5
    >
    > Doesn't appear to be an afflicted version and migfiles --help tells
    > me all about the options available.
    >
    >
    > As #2 looked interesting I thought I'd look at it a bit more. I turned
    > up TID 7001767. The reason migfiles failed for me was that SMDR and
    > TSAFS weren't loaded, at least I don't get the error and file migration
    > appears to start now they are loaded, though it does appear to have
    > ceased copying files rather prematurely....
    >
    > Going back to volmount.rb I now realise its using ncpfs, and not a
    > lightweight Novell client. So I tried mounting a volume by hand:
    >
    > qmwcc28:~ # ncpmount -S 138.37.100.118 -U joshua.sys.qmw K
    > Logging into 138.37.100.118 as JOSHUA.SYS.QMW
    > Password:
    > ncpmount: Server not found (0x8847) when trying to find 138.37.100.118
    >
    > A bit of a giveaway, but why doesn't it work?
    > It seems I need to use -A DNSname -S servername and then it works.
    > The next important bit seems to be
    > /opt/novell/ncpserv/sbin/ncpshell --volumes --ip=138.37.100.118
    > --u="joshua.sys.qmw"
    > which executed by hand lists volumes correctly with the output:
    > Please enter your password ?
    > [0] SYS
    > [1] _ADMIN
    > [2] APPS
    > 3 NCP Volumes Mounted
    >
    > "ncpshell" appears to be from Novell's client for Linux so I don't
    > understand why we'd be trying to use that if we're using ncpfs, and we
    > already know which volumes are mounted by looking in the folder in which
    > we mounted the server using ncpfs. AFAICS is used to invoke NLMs on
    > NetWare remotely using OES so its not testing anything we don't already
    > know.
    >
    > This takes me inevitably to "nwmap". "nwmap" is also from Novell's
    > client for Linux so maybe the ncpfs stuff is unnecessary.
    > /opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d sys -v SYS
    > produces:
    > map: server not Found:138.37.100.118 - drive sys not mapped
    >
    ncpmount uses udp as the default. Add the option -o tcp to the ncpmount
    command then mount should work.
    > nwmap doesn't ask for a username. Maybe I'm wrong, but as far as the
    > Novell client goes I don't think it can have attached or logged into the
    > source server (ncpfs having a different connection table and ncpshell
    > asking the remote server to return the answer). I can't actually see
    > where /volmount.rb is calling nwmap at the moment but the results I get
    > my calling it at the command prompt with the same options given in the
    > log are the same.
    >
    if there is an existing connection to the same tree, nwmap does not ask
    for user name. Use the command "nwconnections" to check the existing
    connections. Use nwlogout to logout the connection. check
    /var/opt/novell/nclmnt/root/ for any stale entries.
    > I've tried logging in using nwlogin, but that fails too saying:
    > Cannot perform login: The system could not log you into the network.
    > Make sure that the name and connection information are correct, then
    > type your password again.
    >
    > ncl_scanner -T does list NDS trees but I suspect its only querying an
    > SLP server and nothing more useful. ncl_scanner -S produces:
    > INFORMATION FOR SERVER [QMWCC18] :
    > Server Name : [QMWCC18]
    > Bindery : [FALSE]
    > eDirectory Context : []
    > should it show a context?
    >
    > Looking at the files of the Novell client on the system, it looks a
    > rather cut down set with no config files. Even having introduced
    > protocol.conf the situation is not improved, but I'm now sure the
    > problem lies in this area. Possibly a full client installation is
    > required, or maybe there is something else wrong which is preventing the
    > client from working correctly. namcd is looking suspect.
    >
    >
    You do not need all files for Novel Client. If you want
    You can logout all connections using the command "nwlogout -a" and try
    the nwmap command again.
    "/opt/novell/ncl/bin/nwmap -s 138.37.100.118 -d
    /var/opt/novell/migration/cc18/fs/mnt/source/SYS -v SYS"
    Looks like the novell client is failed to resolve the IP address. You
    can do the following to configure different name resolution methods in
    the following way:
    Create a file: /etc/opt/novell/ncl/protocol.conf with data.
    Name_Resolution_Providers=NCP,SLP,DNS
    then restart rcnovfsd deamon using the command "rcnovfsd restart"
    do you see any NCP errors in the network packet trace?
    regards
    Praveen

  • Finder throwing error -1401 when attempting to open files on mounted volume

    Alright, this is driving me nuts. At random, Finder will refuse to open files on a mounted volume on my server. It throws the error "The application can't be opened. -1401" and then "The operation can’t be completed. An unexpected error occurred (error code -1401)." back to back. It doesn't matter what the file type is, as far as I can tell (.jpg, .xlsx and .pdf are on there).
    From that point on, I can navigate those volumes to the point that I have navigated them since the volume was mounted at start up, but can't go any deeper into the directories or open anything. Finder also won't eject the volume. I can't open files from within applications, either.
    I have to reboot for it to work again.
    However, if I jump into Parallels I can open anything on the server. Even Acrobat files, which open in the Mac environment and not within the virtual machine.
    Does anyone have any insight to what might be causing this? I searched and can't find anything.
    Thanks,
    Brian

    Restart your computer with the Shift key held down,
    and then open the Startup Items folder inside the
    System Folder. Throw away all of the aliases you find
    in this folder and then empty the trash.
    To quit AppleWorks or another application when it
    won't respond, hold down the Option, Command, and Esc
    keys, and then click the Force Quit button. You
    should also use the Disk First Aid application in the
    Applications (Mac OS 9):Utilities folder to verify
    your hard disk, as something may have been damaged
    when you shut the machine down using that method.
    (11882)

  • IVPN on non OSX Server, can't mount volumes remotely via VPN

    I recently got iPVN to create a VPN to my home network. My router simply couldn't be used as an end-point.
    I have successfully installed it, and it does allow me to connect to my home network remotely. The problem is, whenever I try to mount a volume from a machine within my home network, I am prompted for a userid/password. My userid/password doesn't work.
    Setup:
    Home network using private Class C (192.168.1.x). 2009 MacMini is VPN server, and address is manually assigned for this machine (other machines within home network use router as DHCP server). I have forwarded ports 1701, 4500 and 500 (per iVPN instructions) for an L2TP VPN. UDP packets only, and all of these ports are forwarded to the MacMini and it's manually assigned address. My router is configured to use DynDNS if it's address changes, and that works successfully as well (using other services directly to the same MacMini, etc. that DO NOT rely on the VPN).
    I can successfully connect to the VPN, and ping machines within the home network successfully. However, I do not see any of the machines via Bonjour (I understand this is an issue with Bonjour and generally all VPNs). So, once connected to the VPN, I try to mount a volume that is shared on the MacMini. I can do this with either form:
    afp://192.168.1.x/<volumename> or afp://<machinename>/<volumename> (after setting machine name up in /etc/hosts).
    I'm fairly certain I'm getting through, and a mount is attempted, and asks for a userid/password. Same as normal. However, entering my username/password won't let me mount the drive. I keep getting errors indicating the username/password is incorrect, which I know is not the case.
    I have tried this with the MacMini firewall on (allowing shared service), and I have tried it with the MacMini firewall off.
    What am I missing here? Some additional port that should be forwarded? Open it up for TCP as well as UDP?

    I have found a work around that meets my imediate needs, though it doesn't allow me to use autofs functionality.
    The work around uses the traditional Unix/Linux approach of automatically mounting a file system or NFS share via fstab at boot time. OS X 10.8 still supports fstab, even though the file is not included in the default installation.
    Once mounted, the NFS share appears as if it is part of the normal file system.
    The following is only intended for people confident in Unix or Linux systems administration and in using a shell environment via the command line. Do not attempt this if you do not have these skills.
    To set up for fstab, do the following within a terminal session:
    create an empty directory in your file system that you can use as your mount point for your NFS share:
    sudo mkdir /data/share
    sudo chown root:wheel /data/share
    using your favourite editor, create the fstab file (in a terminal type 'man fstab' for details)
    sudo vi /etc/fstab
    add similar to the following to /etc/fstab and then save and exit, substituting your own values where appropriate
    # My NFS share
    <your-server>:/<your-share> /data/share nfs  resvport,rw,hard,intr 0 0
    sudo chown root:wheel /etc/fstab
    Please note: you may not need the resvport option in the fstab line above. It will depend on your NFS server's requirements.
    Once you have done this, reboot your Mac and your NFS share should be mounted at the mount point that you defined.
    If not, check your logs to see what went wrong.

  • Problems mounting volumes without dialogue

    I'm trying to cobble together a script that will mount a network volume that I want to use for unattended scheduled backups, and I've run into a hitch I can't seem to get around....
    I want the script to use the Keychain entry for the server in question, so that I don't have to encode usernames or passwords into it. However, I also want it to be able to mount the volume without bringing up the "Select which volumes you wish to mount" dialogue every time it gets run
    Here is my script (courtesy of a number of other submitters here)
    set server_name to "MyServerName" -- change this to the server name listed in Keychain Access for the server entry you want to use
    tell application "Keychain Scripting" to launch
    set _processes to ""
    repeat until _processes contains "Keychain Scripting" -- this repeat is to work around a known bug
    tell application "System Events" to set _processes to name of processes
    delay 1 -- this makes sure "Keychain Scripting" is running
    end repeat
    tell application "Keychain Scripting"
    set key_count to count of keys of current keychain
    repeat with i from 1 to key_count
    try
    if protocol of key i of current keychain is AFP and server of key i of current keychain is server_name then
    set _password to password of key i of current keychain
    set _username to account of key i of current keychain
    set _address to address of key i of current keychain
    set _volume to volume of key i of current keychain
    exit repeat
    end if
    end try
    end repeat
    end tell
    set intad to "afp://" & _address & "/" & _volume
    tell application "Keychain Access"
    mount volume intad as user name _username with password _password
    end tell
    The PROBLEM is, if I run this script using the password provided by Keychain Access, the "Select which volumes you wish to mount" dialogue appears and waits for me to hit OK (not very good if this is supposed to be unattended). If I instead put the password directly into the file (set _password to "blah", for example), the volume mounts without that dialogue BUT my password lives in the file... Not very desirable, especially if I want to give this script out as an application to other users who want to do the same thing..... Does anyone know any ways around this?

    Whoo HOOO, I solved it!!!
    Or at least worked around it.... thanks again to you wonderful posters on this forum!!
    I inserted a
    tell application "System Events" to keystroke return
    step JUST BEFORE issuing the
    mount volume intad as user name _username with password _password
    step in my script.... The dialogue comes up, then disappears....
    YAY!
    If anyone else has any suggestions, I'm open to them!!!

  • Mount volume script doesn't work after upgrading to Yoesmite

    I just upgrade my Mac OS to Yosemite and the boot up mount script doesn't work again.
    try
    mount volume "afp://admin:[email protected]/Multimedia/Music"
    mount volume "afp://admin:[email protected]/workspace"
    end try
    Should I modify the mount script and how to do that?
    Thank you so much.
    Matthew Ho

    I am having the exact same problem. I just did a complete re-install of max os x and did all of the updates..my hard drive had crashed so i had to replace it. lot's of fun.. and after the last upgrade i can't use my sound at all.. the sound shows that it's all the way up but it has the "no Smoking" sign as well..
    i have tried to restart.. change options and whatever else i could .. i did notice that when i enable the option to show the sound icon on the main bar that there is just a blank spot where it should be.. and i can't change it form there either because it just doesn't show..
    any one seen this before.. ?
    all my other Mac's work fine..
    please help..

  • Windows Server 2012R2 Failover Cluster error with mounted volumes

    Hi all,
    I've a problem with mounted volume on a WSFC build on top of Windows Server 2012R2, the situation is:
    M: is the volume hosting mounting points
    disk-1, disk-2, disk-3 are volume mounted on M:\SomeFolder
    Theese volumes are used by a SQL Server Failover Cluster Instance, but my problem is related to WSFC. I've set dependencies so disk-1, disk-2, disk-3 depend upon H:
    If I try a failover of the role "SQL Server" I observe that when the disk come online in the other node they fail with this error:
    Cluster resource 'disk-1' of type 'Physical Disk' in clustered role 'SQL Server (ISQL2014A)' failed. The error code was '0xaa' ('The requested resource is in use.').
    Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster
    Manager or the Get-ClusterResource Windows PowerShell cmdlet.
    If I manually take offline H: and than bring it online and then manually take online all disk (1 to 3) they come online with no error.
    I'm going crazy!

    I've found the root of the problem: the servers are virtual machine on a VMware ESX 5.5 infrastructure, VMware claims that on 5.5 multipath is supported for raw device mapping disks but disabling multipath (I've set to fixed path) the Windows Server Failover
    Cluster stops to get problems.
    Now we have opened a support call with VMware.

  • Volume mounting, but missing from Server app

    After reconfiguring my MDC (which had something screwed up in OD), I'm having an issue with my Xsan volume listing in Server app. It shows that Xsan is up and running, but the volumes window is blank. I was able to successfully add a backup MDC and they both are able to find each other without issue, however neither the MDC or backup MDC show the volume in the window. They do, however, both mount the volume without issue.
    There is one issue, that I know of, that I'm pretty sure this is causing an issue for. Whenever I add the profile to a new client machine the volume does not mount without forcing a mount using "xsanctl mount Media". Once mounted, there are no problems that I can tell, however I haven't used it with this issue long enough to tell. Essentially it seems like it can find the volume, it just doesn't know that it's available without telling it to look for it. I've searched for a long time to try to find a config file that may control this behavior, but I can't identify anything yet. If anyone knows what file controls the display of the volumes or how to fix this issue I would appreciate the help. Also, I already have 25TB on this volume so destroying/recreating it is not really an option I would like to explore.

    It would seem that the Xsan configuration stored in LDAP does not include your volume. You could try these steps to resync the configuration files stored in /Library/Preferences/Xsan and the configuration in LDAP:
    Important: Make a backup copy of the /Library/Preferences/Xsan directory on each MDC.
    If I'm right about LDAP not including your volume, the secondary won't have any .cfgp file in its /Library/Preferences/Xsan directory--unless you put it there.
    Remove the secondary MDC from the SAN.
    On the primary MDC:
    Check that your volume name appears in /Library/Preferences/Xsan/fsmlist. See the fsmlist(4) man page for details. You will have to use the full path to that man page, e.g. "man /System/Library/Filesystems/acfs.fs/Contents/man/man4/fsmlist.4".
    Update the LDAP configuration with: "sudo xsanctl pushConfigUpdate". See the xsanctl(8) man page for more information. ("man xsanctl")
    Your existing volumes should reappear in Server app when you do this. You may need to do command-R to refresh the view. If you don't see your volume, review the output of "xsanctl pushConfigUpdate" to see if it explains what failed.
    Add the secondary MDC back to the SAN.
    Assuming pushConfigUpdate worked, the secondary MDC should automatically mount your volume when you add it. The same should happen for any additional clients you add to the SAN.

  • Mount volume script

    I try to mount some remote volume on a MAC PRO using the following script:
    t+ell application "Finder"+
    + mount volume "smb://vikyi:@192.168.0.15/public"+
    + +
    +end tell+
    and I get the following error :
    +tell application "loginwindow"+
    + mount volume "smb://vikyi:@192.168.0.15/public"+
    + «event ascrgdut»+
    + mount volume "smb://vikyi:@192.168.0.15/public"+
    + "Finder got an error: \"smb://vikyi:@192.168.0.15/public\" doesn't understand the mount volume message."+
    My problem occurs only on this MAC PRO, while on other does not. Should I change something ?
    Thank you.

    the following script should do it
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set diskname to "name of disk"
    tell application "Finder"
    if (exists disk diskname) then
    do shell script "diskutil unmount /Volumes/" & quoted form of diskname & "> /dev/null &"
    else
    set devnumber to do shell script "diskutil list |grep " & diskname & " |awk '{print $6}'"
    do shell script "diskutil mount " & devnumber
    end if
    end tell</pre>
    paste it into Script Editor, put the name of the disk in question in the first line and save the script as an application. if the disk is mounted, the script will unmount it. if it's unmounted it will mount it.

  • Mounting remote AFP volumes on Panther Server from Tiger client.

    Has anyone else had this problem....
    When connecting to a remote AFP share hosted on a Mac OS X 10.3.9 server I receive a message "Mount Failed, Could not mount volume “sharename.”. This happens when I enter the FQDN followed by the share name, for example "afp://servername.domain.co.uk/sharepoint". The client is part of an Open Directory domain and automounts work fine during boot as the home directory sharepoint works with local and remote homes. I have setup many 10.3.9 servers and have never encountered this issue on a Panther client.
    Any help would be much appreciated and its driving me to distraction!
    Regards
    James.

    We are not using the server for users' home directories, but thanks for that tip.
    Today we have also started having issues at another site with a 10.3.8 server and Tiger clients. The behavior is a little different: when connecting to the Pather server with Tiger clients using a keychain-saved password, the client machine will freeze and must be rebooted. The server is showing no process crashes. Deleting the keychain and entering the password each time fixes the problem.
    At the other site, the server is 10.3.9 and when Tiger clients tried to connect using a keychain password, their machine would get a spinning beach ball, but they could get out of it.

  • Problems Connecting to VPN Server ( Mac OS X Server 10.6.2

    Hi
    We are using Mac OS X Server 10.6.2 ( Snow Leopard Server). I have set it up as a VPN server. When I connect to it from my Macbook Pro ( Snow Leopard ), the logs in Server Admin shows,
    2010-01-05 10:45:35 SGT Incoming call... Address given to client = 10.10.10.8
    Tue Jan 5 10:45:35 2010 : Directory Services Authentication plugin initialized
    Tue Jan 5 10:45:35 2010 : Directory Services Authorization plugin initialized
    Tue Jan 5 10:45:35 2010 : L2TP incoming call in progress from '119.234.0.27'...
    Tue Jan 5 10:45:35 2010 : L2TP received SCCRQ
    Tue Jan 5 10:45:35 2010 : L2TP sent SCCRP
    Tue Jan 5 10:45:36 2010 : L2TP received SCCCN
    Tue Jan 5 10:45:36 2010 : L2TP received ICRQ
    Tue Jan 5 10:45:36 2010 : L2TP sent ICRP
    Tue Jan 5 10:45:36 2010 : L2TP received ICCN
    Tue Jan 5 10:45:36 2010 : L2TP connection established.
    Tue Jan 5 10:45:36 2010 : using link 0
    Tue Jan 5 10:45:36 2010 : Using interface ppp0
    Tue Jan 5 10:45:36 2010 : Connect: ppp0 <--> socket[34:18]
    Tue Jan 5 10:45:36 2010 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x65f87f32> <pcomp> <accomp>]
    Tue Jan 5 10:45:36 2010 : rcvd [LCP ConfRej id=0x1 <auth chap MS-v2>]
    Tue Jan 5 10:45:36 2010 : sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x65f87f32> <pcomp> <accomp>]
    Tue Jan 5 10:45:37 2010 : rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x65f87f32> <pcomp> <accomp>]
    Tue Jan 5 10:45:39 2010 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x313e74f9> <pcomp> <accomp>]
    Tue Jan 5 10:45:39 2010 : lcp_reqci: returning CONFACK.
    Tue Jan 5 10:45:39 2010 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x313e74f9> <pcomp> <accomp>]
    Tue Jan 5 10:45:39 2010 : sent [LCP EchoReq id=0x0 magic=0x65f87f32]
    Tue Jan 5 10:45:39 2010 : peer refused to authenticate: terminating link
    Tue Jan 5 10:45:39 2010 : sent [LCP TermReq id=0x3 "peer refused to authenticate"]
    Tue Jan 5 10:45:39 2010 : Connection terminated.
    Tue Jan 5 10:45:39 2010 : L2TP disconnecting...
    Tue Jan 5 10:45:39 2010 : L2TP sent CDN
    Tue Jan 5 10:45:39 2010 : L2TP sent StopCCN
    Tue Jan 5 10:45:39 2010 : L2TP disconnected
    2010-01-05 10:45:39 SGT --> Client with address = 10.10.10.8 has hungup
    Any help is deeply appreciated. Thanks!
    David

    HI All ( again )
    I managed to get pass the authentication problem, but something else comes up...
    Tue Jan 5 16:30:53 2010 : CHAP peer authentication succeeded for xyz
    Tue Jan 5 16:30:53 2010 : DSAccessControl plugin: User 'xyz' authorized for access
    Tue Jan 5 16:30:53 2010 : sent [IPCP ConfReq id=0x1 <addr 10.10.10.203>]
    Tue Jan 5 16:30:53 2010 : sent [ACSCP ConfReq id=0x1]
    Tue Jan 5 16:30:53 2010 : rcvd [LCP ProtRej id=0x2 80 21 01 01 00 0a 03 06 0a 0a 0a cb]
    Tue Jan 5 16:30:53 2010 : rcvd [ACSCP ConfReq id=0x1 <ms-dns1 0.0.0.1> <ms-dns1 0.0.0.1>]
    Tue Jan 5 16:30:53 2010 : sent [ACSCP ConfRej id=0x1 <ms-dns1 0.0.0.1> <ms-dns1 0.0.0.1>]
    Tue Jan 5 16:30:53 2010 : rcvd [ACSCP ConfAck id=0x1]
    Tue Jan 5 16:30:53 2010 : rcvd [ACSCP ConfReq id=0x2]
    Tue Jan 5 16:30:53 2010 : sent [ACSCP ConfAck id=0x2]
    Tue Jan 5 16:31:13 2010 : rcvd [LCP EchoReq id=0x1 magic=0x7f467f40]
    Tue Jan 5 16:31:13 2010 : sent [LCP EchoRep id=0x1 magic=0x102c8c28]
    Tue Jan 5 16:31:33 2010 : rcvd [LCP EchoReq id=0x2 magic=0x7f467f40]
    Tue Jan 5 16:31:33 2010 : sent [LCP EchoRep id=0x2 magic=0x102c8c28]
    Tue Jan 5 16:31:53 2010 : sent [LCP EchoReq id=0x1 magic=0x102c8c28]
    Tue Jan 5 16:31:53 2010 : rcvd [LCP EchoRep id=0x1 magic=0x7f467f40]
    Tue Jan 5 16:31:54 2010 : rcvd [LCP EchoReq id=0x3 magic=0x7f467f40]
    Tue Jan 5 16:31:54 2010 : sent [LCP EchoRep id=0x3 magic=0x102c8c28]
    LCP EchoRep continues to repeat endlessly while my Macbook shows VPN connection status as "Authenticating....."
    Any ideas anyone?
    David

  • Problems w/ VPN Server & Cisco VPN Client on same machine

    I really wish that I read about how the developer of the program iVPN no longer supports his work BEFORE I paid for it. It's a great, simple, GUI frontend to the existing Leopard VPN server built in to regular (non-server) OSX...
    Anyway, on my Mac that stays @ home:
    (1) - I have the iVPN server set up & running to allow me to connect (from my iphone or another computer on the road) to my Mac @ home using L2TP.
    (2) - When I'm @ home and need to connect to my company's network, I need to use the Cisco VPN Client (which uses IPSec etc).
    So, I found out that when I need to use my Mac to connect to work, I first have to open up the iVPN server to click "Stop Server" (which has me enter my password twice sometimes). Now I close iVPN until I'm done, then open up Activity Monitor for the purpose of finding the still-running process "racoon". I realized this not because it's published info, but because if I don't do this, and try to connect to work using the Cisco VPN Client, it simply will not connect. So, I quit the process "racoon" (which also has me enter my password because it's running as root yada yada). NOW, I can load Cisco VPN Client and successfully connect to my company's network. When I'm finished here, I disconnect the C.V.C., then reopen iVPN Server and restart my server (enter password again).
    Is there any way I can make the process "racoon" quit automatically when I turn off the iVPN server? I'd email the developer but I guess that's a lost cause now. It's a shame because he did a fabulous job making iVPN & gave the less computer-networking-literate-user the ability to create their own VPN server without using Terminal.
    I thought about the possibility of using iVPN to create a PPTP connection instead of L2TP - thinking that would allow me to keep my iVPN PPTP server running at all times, even when I wanted to use the CVC to connect OUT to work - but:
    (1) - I would like the increased security of L2TP.
    (2) - When I tried running a PPTP server, and connecting to it from iPhone or other computer, I was NOT able to access the other devices on my network, or the internet. I couldn't even open up a webpage to check whatismyip.com (while sending all traffic over VPN). And yes, the IP Address Range that I have iVPN handing out is within my normal home network's range.
    My end goal for all of this when using my Mac is to be able to leave my iVPN server running at all times, while still being able to run the Cisco VPN CLIENT to connect to my company's network.
    Or, at least not having to open up Activity Monitor to quit the process racoon... let alone having to enter my password 3 times after opening up iVPN, again to stop the server, again to quit the process racoon. Then a forth when I'm all done and need to start the iVPN server again.
    Am I going about this the wrong way? Is there an easier way to accomplish these secure connections? There is a slight possibility of me upgrading and running a dedicated Mac Mini server of some sort perhaps with the real OSX Server. But not right now. I think I'm over complicating this. I mean, my needs are pretty simple:
    (1) - Need to connect TO my Mac from IPhone / someone else's Mac or PC for: VNC over SSH, SSH/SFTP file level access, in the future shared network volumes (time capsule). I'd use Back To My Mac for all of this but I don't always connect FROM a Mac.
    (2) - Need to connect FROM my Mac to work VPN for: VNC to my work PC to access our company's Windows-only program (dual booting into boot camp or using a virtual machine is out of the question), using Mocha for AS400 access, thinking about using file sharing on work PC but not needed so far.
    So it's really just VNC and sometimes SFTP. The "S" being important to me. That's why I don't like the idea of doing away with my iVPN server and just forwarding the outside ports. I use the Vine VNC Server which when checked, only allows access over SSH. The only other remote-logins are used from my iphone using an app called BriefCase (SSH to browse files on remote machine), or using an SFTP client on a computer.
    Thank you for reading all of this, and in advance for any insight you can offer.

    If the two servers need the same ports, then hosting two different VPN packages on the same box usually won't work.
    A firewall-based VPN service can be an option; that external box can deal with NAT and routing and other such and can field incoming or LAN-to-LAN VPNs, and your internal Mac boxes located "behind" that box can be free to initiate outbound VPNs.

Maybe you are looking for

  • ESata shows freeze

    We have QIP 7216 dvr and western digital 1T eSata drive (I can't quickly find the model number but it was one on the Verizon recommended list). The eSata is about 50 percent full. Some of the shows we recorded we can't seem to play. When we click on

  • Incoming Payment - Deposit function

    Hi All, My customer have a scenario whereby when received cheques from customer, it will bank into their account only after few days but however, other departments that is in charge of chasing payment, wanted customer balance to be clear so that they

  • Confirmation Message in apex

    Hi Guys, I'm using apex 4.1 and so new to apex technology. Is there any way to implement a pop up message to get user input in apex ? I know we can use Java Script for pop up. But what i want to know is, Is there any built in apex control for this pu

  • Issue with Report to Report Interface

    Hi,   I had interfaced Query 1 and Query 2.Query has char like Calmonth, Plant and Plant Platform in the mentioned sequence.When I click on Calmonth-> goto>Query 2 ,it is displaying all the details for that month.Its fine upto here.But when I click o

  • (PProCS4/CS4 Production Premium) Dual Screens Cutting Out

    AAbout a month ago I got a new computer with Windows 8.1 (64 bit).  I've loaded Production Premium CS4, but about 50% of the time my monitors will cut out (and bring up NO SIGNAL, and shove everything back to one monitor) and then come back on, and i