Mounting AFP Share (hosted on Mac) to a Raspberry Pi

2 posts / 0 new
Last post
doug-doug the mighty's picture
Offline
Last seen: 19 hours 48 min ago
Joined: Apr 14 2004 - 17:52
Posts: 1401
Mounting AFP Share (hosted on Mac) to a Raspberry Pi

I am setting up a media server on an older Mac.   I have the drive set up and it is accessible across my entire (Mac) network via AFP. 

 

I have a Raspberry Pi running Buster and will be running Plex Media Server on it.   I want to connect to the AFP Share from my Pi and mount it at boot up.  I can see the Pi's shared folders from the Mac side.  I can Connect to Server from the Pi and see my shared Mac folders.   So I can verify that yes, I can connect bi-directionally bit as a manual connection - I need it to be automatic.

 

I have tried mount_afp, mount, mount.cifs and a variety of other commands, switches, options, variations, and utilities.   At best I get "Authetication failed".   At worst, I get "bad UNC".   For fun (for the Pi, not for me), it will tell me "Incorrect server:volume specification" - I swear I heard it snickering at me as tears of frustration began to well up and the f-bomb echoes across my apartment.   I have spent weeks digging through Google and various forums and cannot get past this issue I have.

 

TIA for any help.

doug-doug the mighty's picture
Offline
Last seen: 19 hours 48 min ago
Joined: Apr 14 2004 - 17:52
Posts: 1401
I found the answer (finally).

I found the answer (finally)...

 

I needed to use the follwoing syntax:

mount_afp afp://username:userpass@server.company.com/volumename/ /Volumes/mntpnt

 

Not sure why this did not work the first time I tried it but it is working now.

Log in or register to post comments