jarrad2
June 15th, 2014, 02:29 PM
Hi guys
After an exhausting amount of time, I decided to write this HowTo seeing as it took me forever and I'm sure there might be others out there who want to know how to achieve this.
I am suspecting as much purely because I found lots of half information out there that didn't work.
So here it is:
Start by installing some required libraries.
sudo apt-get install make libncurses-dev libreadline-dev libgcrypt-dev zlib1g-dev netatalk
Next, obtain Fuse directly from the source here:
http://sourceforge.net/projects/fuse/files/fuse-2.X/
I used wget
Unpack and install fuse
Edit /etc/fuse.conf to uncomment the line user_allow_other
Add your user to the Fuse group
sudo gpasswd -a user fuse
Obtain afpfs-ng 0.8.2 from here:
https://github.com/simonvetter/afpfs-ng
Note: I had some issues with the gzipped tarball that came down and ended up unzipping on another machine and then transferring via wget and http to my Ubuntu box
Unpack and install afpfs
sudo ldconfig (I found a reference to this, not sure if required)
Edit /etc/fstab
afpfs#afp://user:password@ip/share /mnt/mountpoint no auto,user=user,group=fuse 0 0
Yes passwords are unfortunately in the clear :\
The end result however, is that the AFP share will mount by using sudo mount -a at /mnt/mountpoint and your user will be able to add/remove/manipulate files on this share point.
Hopefully this helps someone else out there too.
After an exhausting amount of time, I decided to write this HowTo seeing as it took me forever and I'm sure there might be others out there who want to know how to achieve this.
I am suspecting as much purely because I found lots of half information out there that didn't work.
So here it is:
Start by installing some required libraries.
sudo apt-get install make libncurses-dev libreadline-dev libgcrypt-dev zlib1g-dev netatalk
Next, obtain Fuse directly from the source here:
http://sourceforge.net/projects/fuse/files/fuse-2.X/
I used wget
Unpack and install fuse
Edit /etc/fuse.conf to uncomment the line user_allow_other
Add your user to the Fuse group
sudo gpasswd -a user fuse
Obtain afpfs-ng 0.8.2 from here:
https://github.com/simonvetter/afpfs-ng
Note: I had some issues with the gzipped tarball that came down and ended up unzipping on another machine and then transferring via wget and http to my Ubuntu box
Unpack and install afpfs
sudo ldconfig (I found a reference to this, not sure if required)
Edit /etc/fstab
afpfs#afp://user:password@ip/share /mnt/mountpoint no auto,user=user,group=fuse 0 0
Yes passwords are unfortunately in the clear :\
The end result however, is that the AFP share will mount by using sudo mount -a at /mnt/mountpoint and your user will be able to add/remove/manipulate files on this share point.
Hopefully this helps someone else out there too.