1.5.3


Old Stuff

 www.your-freedom.net
 www.secure-tunnel.com

Ticket #140 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

AFP Drive mounting problems Problems

Reported by: michael@tennes.com Assigned to: andrei
Priority: normal Milestone: AlmostVPN 0.9.14
Component: PreferencePanel Version: 0.9
Severity: normal Keywords:
Cc:

Description

I'm trying to mount a shared drive on my machine at home (asher) that I'm sshing to. My Mac at home is being NATed by the Apple Airport Base Station. It's internal address is 10.0.1.210 (asher.local) it's external address is dynamic (asher.dnsalias.org).

Here my account info: Username: mtennes Host Name: asher.dnsalias.org Private Host Name: 10.0.1.210 (also tried asher.local) Password: *********** Use Password is checked.

Now this works for email access from Apple's mail client (since it doesn't have built in proxy support) and also TImbuktu (Tunneling over port 407). Everything here works as expected.

Using the same account I'm trying to mount my shared drives. Here are my Drives settings: Type: Apple checked (afp) Host Name: asher.local (defined is Server dialog as 10.0.1.210) (Also tried usiing IP address) Path: HardDrive? Username: mtennes Password: *********

Here's the summary information: Current Account: mtennes@asher.dnsalias.org

'AlmostVPN' connections:

smtp.sbcglobal.yahoo.com:smtp pop.cesmail.net:pop3

Tunnels:

localhost:407 -> asher.dnsalias.org:407

Drives:

afp://mtennes@asher.local/mtennes

When I try mounting the above in the finder I get a Connection failed dialog box with the following message, "The server may not exist or it is not operational at this time. Check the server name or IP address and try again."

Both machines are running 10.4.5 Almost VPN 9.12

Any ideas?

Attachments

AlmostVPN1.tiff (76.5 kB) - added by michael@tennes.com on 02/15/06 17:03:17.
Screen Shot
AlmostVPN2.tiff (69.5 kB) - added by michael@tennes.com on 02/15/06 17:04:07.
Screen Shot
almostvpn.log (157.2 kB) - added by michael@tennes.com on 02/16/06 10:58:24.
Log File
launchd.default.plist (2.7 kB) - added by michael@tennes.com on 02/16/06 11:00:02.
launchd plist
Mail Servers.tiff (59.6 kB) - added by michael@tennes.com on 02/16/06 11:42:15.
Mail Servers Setup

Change History

02/15/06 17:03:17 changed by michael@tennes.com

  • attachment AlmostVPN1.tiff added.

Screen Shot

02/15/06 17:04:07 changed by michael@tennes.com

  • attachment AlmostVPN2.tiff added.

Screen Shot

02/15/06 17:27:43 changed by andrei

  • status changed from new to assigned.
  • milestone set to AlmostVPN 0.9.13.

Hi Michel, First of all, try to use the SAME host name for Drive as you are using for Account ( asher.dnsalias.org ). If it will not help, I would like to to do following:

  1. Enable extra logging ( see [ http://www.leapingbytes.com/almostvpn/wiki/AlmostVPN_FAQ#how-can-i-see-almostvpn-logs here] how ),
  2. Start profile which is trying to mount drive
  3. When it's fail to do so, attach following files to this ticket (alternatively you can e-mail these files to support@leapingbytes.com
    ~/Library/Application Support/AlmostVPN/launchd.default.plist
    ~/Library/Application Support/AlmostVPN/almostvpn.log
    

02/16/06 10:58:24 changed by michael@tennes.com

  • attachment almostvpn.log added.

Log File

02/16/06 11:00:02 changed by michael@tennes.com

  • attachment launchd.default.plist added.

launchd plist

02/16/06 11:22:35 changed by michael@tennes.com

The problem appears to be between Almost VPN and the Finder. Sorry for the long log file, but if you look at the bottom of it you'll see the following:

02/16/06 10:55:55[22105] startSession : mtennes@asher.dnsalias.org : 22268
02/16/06 10:55:55[22105] Status : default|Starting|Mounting Drive : afp://mtennes@asher.local/SoftRaid Drive
02/16/06 10:56:02[22105] mountDrives : afp://mtennes@asher.local/SoftRaid Drive mounted as 
02/16/06 10:56:02[22105] Status : default|Running|Running

The Drive is mounted as blank (not mounted at all). Now if I go to the finder and manually mount afp://localhost:60548/SoftRaid Drive it works fine. Many times when I start Almost VPN I'll see the finder trying to connect to a remote volume, but it comes back with the connection failed. From the log file you can see that if I use my home on this drive it works most of the time. I can definitely live with manually mounting the drive, which you'll have to do anyway if you unmount it.

A possible cause for the problem may be the <white space> in the drives name SoftRaid Drive. I have had some success mounting my other drive named HardDrive?'.

I would suggest a FAQ on manually mounting the drives. Maybe there is one, but I couldn't find it.

02/16/06 11:32:08 changed by andrei

Machael, it looks like you still not using "asher.dnsalias.org" as a host name in your drive definition. Have you tried it at all?

I am not sure but <white space> in the name of the drive might be a problem. I will do some more testing and if it is a problem will fix it.

02/16/06 11:41:41 changed by michael@tennes.com

If I use asher.dnsalias.org as my host name then when I try to ssh to asher.dnsalias.org on the command line I ssh into my localhost. Same thing with Timbuktu.

When I use the drives like described above, the mail servers don't work. See attached screen shot.

02/16/06 11:42:15 changed by michael@tennes.com

  • attachment Mail Servers.tiff added.

Mail Servers Setup

02/27/06 14:59:35 changed by andrei

  • milestone changed from AlmostVPN 0.9.13 to AlmostVPN 1.0.

investigating

03/12/06 14:52:48 changed by anonymous

Hi, there, I was finding the same problem with a share that had a space in the name. I was able to work around it by inserting a %20 in place of the space.

03/13/06 07:57:38 changed by anonymous

  • milestone changed from AlmostVPN 1.0 to AlmostVPN 0.9.14.

OK, I will make AlmostVPN to replace spaces with "%20". I guess it is not just spaces. I will just URLEncode the share name.

03/26/06 21:49:21 changed by andrei

  • status changed from assigned to closed.
  • resolution set to fixed.

OK, "path" is now treated with "stringByAddingPercentEscapesUsingEncoding:", so all "suspicious" characters should be replaced with "%xx". Should solve the problem.