Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Problem Mounting AFP volumes from the terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Problem Mounting AFP volumes from the terminal
Authored by: robleach on Oct 17, '03 05:48:02PM
I have an airport network at home and I want to mount each other's disks on each computer so I can have the webserver on one dole out images from my pictures directory stored on the other computer. I found your tip and figured I'd found the solution. However, I got an error. The following is edited for privacy:
[dsl###-###-###:/home] robleach% sudo mount -t afp afp://me@###.###.###.###:/Volumes/remote_disk_name /home/remote_disk_name
Password:
kextload: /System/Library/Filesystems/AppleShare/asp_tcp.kext loaded successfully
kextload: /System/Library/Filesystems/AppleShare/asp_atp.kext loaded successfully
kextload: /System/Library/Filesystems/AppleShare/afpfs.kext loaded successfully
mount_afp: AFPMountURL returned error -1, errno is -50
[dsl###-###-###:/home] robleach% sudo mount -t afp afp://me:mypassword@###.###.###.###:/Volumes/remote_disk_name /home/remote_disk_name
kextload: extension /System/Library/Filesystems/AppleShare/asp_tcp.kext is already loaded
kextload: extension /System/Library/Filesystems/AppleShare/asp_atp.kext is already loaded
kextload: extension /System/Library/Filesystems/AppleShare/afpfs.kext is already loaded
mount_afp: AFPMountURL returned error -5019, errno is 2
Note, I get a different error depending on how I enter my password. I've mounted nfs volumes successfully on a different computer at work and never ran into this problem. Any ideas?

Thanks, Rob

[ Reply to This | # ]
Problem Mounting AFP volumes from the terminal
Authored by: ibicus on Sep 15, '06 08:26:28AM

I tested this hint to mount AFP Volumes of OS9 Mac via terminal:

% cd ~

% mkdir ~/afptemp

% mount_afp -i afp://at_node@xxx.xxx.xxx.xxx/Volume_name ~/afptemp

at the promt type password, no password type enter; then:

% cd ~/afptemp

% ls

you can see the files of Volume_name, to unmount:

% cd ..

% umount ~/afptemp

Attention: ~/afptemp will be deteted.

Example:

% mount_afp afp://pippo@192.168.0.25/Macintosh%20HD ~/afptemp

where "at_name" can be found with atlookup command:

% atlookup

ff94.f9.30 pippo:Multi-User Client
ff94.f9.04 pippo:Workstation
ff94.f9.04 pippo:ShareWayIP
ff94.f9.f8 pippo:AFPServer





[ Reply to This | # ]