Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: Connecting to AFP shares

  1. #21
    Join Date
    Dec 2008
    Beans
    181
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Connecting to AFP shares

    Ok, ignorant question...

    Does netatalk also work as an AFP client? or just as a server? (in which case I would need both netatalk and afpfs

    (so that my Mac can mount the drives on my Jaunty HTPC and my HTPC can mount the "AirDisk" I have hanging off my Airport Extreme)

    I guess I could just set up the jaunty box to share SMB (for access from the Mac).. any idea of the performance difference?

    thanks,
    Mike

  2. #22
    Join Date
    Dec 2008
    Beans
    181
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Connecting to AFP shares

    1 note and a question

    I installed under Jaunty with
    Code:
    sudo apt-get install netatalk
    and I think it started right up.. it did not restart after a reboot so I had to edit /etc/netatalk/atakd.conf and uncomment eth0.

    I've added a 2nd drive to my Jaunty box... mounted under /media/backups.

    Question: How do I get this volume offered up via netatalk? I only get the 1 main drive.

  3. #23
    Join Date
    Apr 2006
    Beans
    15

    problem with afpfs in fstab

    Hello,

    I'm using afpfs with success
    I can automatically mount afp remote files in ubuntu with this instruction : mount_afp afp://userassword@ipaddress/'Documenti Server' /media/localfilename user=myuser

    but I can't obtain fstab to do it automatically

    afpfs#afp://userassword@ipaddress/'Documenti Server' /media/localfilename fuse user=myuser,group=fuse 0 0

    I obtain : mount point Server does not exists, or, if I do
    sudo mount -a

    invalid line number......

    I believe a problem with the space in 'Documenti Server' but don't know how to solve

    If I use

    afpfs#afp://userassword@ipaddress/Documenti\040Server /media/localfilename fuse user=myuser,group=fuse 0 0

    I get Incorrect permissions on mountpoint Server: No such file or directory

    Paolo
    Last edited by tiepolo; January 21st, 2010 at 11:39 PM.

  4. #24
    Join Date
    Nov 2007
    Location
    Tacloban City Philippines
    Beans
    29
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Connecting to AFP shares

    my wife shares her files folders from her macbook. I can mount the folder in my karmic koala with her credentials but when i use the
    Code:
    ls -l mountpoint
    it comes up with my uid and gid instead of her credentials. i'm having permissions error with a shared file. i want to know how to use the --map <uam> flag. the man page said that it should make the files appear to be owned by the uid and gid of the userid i used to authenticate.

    any help would be great.

  5. #25
    Join Date
    Jan 2009
    Location
    San Francisco, CA
    Beans
    213
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Connecting to AFP shares

    I installed afpfs-ng on two computers.
    On one, I downloaded and compiled it from source code on a Ubuntu 10.04 x64 machine. On another, I downloaded the .deb and installed it on a 32-bit machine.

    When I do the following command:
    Code:
    mount_afp afp://UserName:Password@www.webaddress.com/Folder ~/localfolder
    I get the following:

    Mounting www.webaddress.com from Folder on /home/username/localfolder/
    Could not connect, Connection refused


    What did I do wrong?

    Thanks in advance.


    EDIT: I figured out what was wrong. I typed the wrong web address. HA! How silly. I typed ".org" when it should've been ".net!"
    Last edited by lethalfang; September 28th, 2010 at 07:14 AM.
    There are two sides to every story: my side and the wrong side.

  6. #26
    Join Date
    Jul 2005
    Beans
    5

    Re: Connecting to AFP shares

    I really like the simple access that afpfs gives me in getting to my files.

    It works fine when I mount_afp from the CLI and allows me to mount the target with no issues. Sadly the same cannot be said of the fstab approach which is what I need.

    The CLI entry looks like this:
    Code:
    mount_afp afp://remoteuser:password@remotehost/targetfolder /mount/point
    And results in:
    Code:
    The afpfs daemon does not appear to be running for uid 1000, let me start it for you
    Mounting remotehost from targetfolder on /mount/point
    Mounting of volume Sites of server users MacBook succeeded.
    The fstab entry looks like this:
    Code:
    afpfs#afp://remoteuser:pass@remotehost/targetfolder   /mount/point   fuse    user=localuser,group=fuse       0 0
    But the result is this:
    Code:
    The afpfs daemon does not appear to be running for uid 1000, let me start it for you
    Could not find server (afpfsd)
    Error in starting up afpfsd
    Trying to startup afpfsd: No such file or directory
    The afpfs daemon does not appear to be running for uid 1000, let me start it for you
    Could not find server (afpfsd)
    Error in starting up afpfsd
    Trying to startup afpfsd: No such file or directory
    Trying to startup afpfsd: No such file or directory
    Then it dies. Can someone give me a little heads up on how to fix this if at all possible?

    Forgot to mention that it's afpfs-ng 0.8.1, Ubuntu 10.10 and Mac OS X 10.6
    Last edited by speedwolf; November 20th, 2010 at 11:10 PM. Reason: Added more info

  7. #27
    Join Date
    Nov 2009
    Location
    Greifswald, Pomerania
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy Re: Connecting to AFP shares

    I can't get this to work. I always get this error:

    Code:
    mount_afp afp://wolfo:password@192.168.0.1/UNTITLED /home/wolfo/temporaer
    
    Mounting 192.168.0.1 from UNTITLED on /home/wolfo/temporaer
    Could not connect, Connection refused
    The target server is an Airport Extreme sharing a USB disk (UNTITLED). I am able to connect to that share from other Macs, but not from my linux server.
    Any ideas?

  8. #28
    Join Date
    Apr 2011
    Location
    México
    Beans
    5
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Connecting to AFP shares

    Quote Originally Posted by alexthepuffin View Post
    I wrote afpfs-ng, so I can probably help.

    Building afpfs-ng requires first installing the readline development libraries, you should do that first.

    Did you try the prebuilt afpfs-ng debian package?

    - A
    Hi Alex,

    Thanks for putting afpfs-ng together.

    I keep getting closer to mounting my time capsule's disk, I think.

    I've run into a similar situation as tiepolo above.

    Here's what I'm trying:

    keverage@cuauhtemoc:~$ mount_afp afp://;AUTH=No%20User%20Authent@192.168.1.101/coffre ~/capsule -o volpass=v0lp@SS
    Incorrect permissions on mountpoint (null): No such file or directory
    bash: /home/keverage/capsule: is a directory
    keverage@cuauhtemoc:~$
    Last edited by rkevsmith; April 12th, 2011 at 01:31 AM. Reason: fixed other compiling problem, now have permissions problem

  9. #29
    Join Date
    Apr 2011
    Location
    México
    Beans
    5
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Connecting to AFP shares

    I'm in. I changed configurations on my Time Capsule to allow for accounts, instead of Time Capsule password.

    Thanks for this. All best,
    K

  10. #30
    Join Date
    Jul 2006
    Beans
    1

    Re: Connecting to AFP shares

    I'm a bit of a linux noob but I'm planning to learn a lot more of it. Running 11.04

    I need to share my Drobo which is connected to an Airport Extreme. I had no succes using SMB so nbow I'm trying afp. I tried the afpfs-ng package and I am able to mount my drive using the following command:
    sudo mount_afp afp://rootass@w00p.local/Drobo /media/drobo/

    first I did sudo mkdir /media/drobo
    sudo chown vincent /media/drobo

    The problem though is that the files are only readable when I use sudo. Like sudo ls /media/drobo.

    Trying to access my files in XBMC so this is not working for me

    I"'m also unable to get it mounted through fstab. This is my line but it gives me the error at the end.
    afpfs#afp://rootass@w00p.local/Drobo /media/drobo fuse user=vincent,group=vincent 0 0

    vincent@HTPC:~$ sudo mount -a
    Unknown option dev, skipping
    Unknown option suid, skipping
    The afpfs daemon does not appear to be running for uid 1000, let me start it for you
    Could not find server (afpfsd)
    Error in starting up afpfsd
    Trying to startup afpfsd: No such file or directory
    The afpfs daemon does not appear to be running for uid 1000, let me start it for you
    Could not find server (afpfsd)
    Error in starting up afpfsd
    Trying to startup afpfsd: No such file or directory
    Trying to startup afpfsd: No such file or directory

    For the record, I did the mount -a command after I manually mounted the drobo in media/. So I think the afpfs daemon should be running, no?

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •