• Netatalk

    From nelsonse48@gmail.com@3:770/3 to All on Sun Mar 28 09:20:48 2021
    I am trying to setup afp file saring from a raspberrypi (2b) running the latest buster. I need to setup password using afppasswd, but afppasswd does not exist on my pi. I installed netatalk using 'sudo apt install netatalk'. And multiple times using '
    sudo apt install --reinstall netatalk' to no avail. afppasswd does not exist in any bin/sbin file. In stretch it existed in /usr/local/bin, but buster doesn't have anything in /usr/local. In any event where would the password file be if I ever get
    netatalk working?

    I need to use uams_randnum.so which needs a password text file.

    --Steven

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to nelso...@gmail.com on Sun Mar 28 16:57:31 2021
    On 2021-03-28, nelso...@gmail.com <nelsonse48@gmail.com> wrote:
    I am trying to setup afp file saring from a raspberrypi (2b) running
    the latest buster. I need to setup password using afppasswd, but
    afppasswd does not exist on my pi. I installed netatalk using 'sudo
    apt install netatalk'. And multiple times using 'sudo apt install --reinstall netatalk' to no avail. afppasswd does not exist in any
    bin/sbin file. In stretch it existed in /usr/local/bin, but buster

    AFAIK nothing from any of the packages should ever getting stalled into /usr/local

    So if you had stuff there it wasn't loaded by the package manager apt,
    apt-get etc.

    "apt-file find afppasswd" on a few debian based systems only seems to find /usr/share/man/ja/man1/afppasswd.1.gz - no executable found.

    Have toy tried to do an internet search to find which package it should
    be in?

    doesn't have anything in /usr/local. In any event where would the
    password file be if I ever get netatalk working?

    I need to use uams_randnum.so which needs a password text file.

    --Steven

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to nelso...@gmail.com on Sun Mar 28 17:34:41 2021
    On Sun, 28 Mar 2021 09:20:48 -0700, nelso...@gmail.com wrote:

    I am trying to setup afp file saring from a raspberrypi (2b) running the latest buster. I need to setup password using afppasswd, but afppasswd
    does not exist on my pi. I installed netatalk using 'sudo apt install netatalk'. And multiple times using 'sudo apt install --reinstall
    netatalk' to no avail. afppasswd does not exist in any bin/sbin file.
    In stretch it existed in /usr/local/bin, but buster doesn't have
    anything in /usr/local. In any event where would the password file be
    if I ever get netatalk working?

    I need to use uams_randnum.so which needs a password text file.

    --Steven

    Remember that 'man' is your friend - in this case reading "man apt" and
    then using "apt search' followed by "apt show" a few times would have
    saved you a lot of time and reinstalls which, BTW, seldom do any good but
    do waste time and bandwidth.

    Did you run an apt search such as "sudo apt search netatalk"
    followed by "sudo apt show packagename" to find out about the other
    packages it lists?

    "apt show" tells you what a package does before you install it and should
    list its dependencies, which it doesn't for netatalk. Since it didn't,
    the netatalk package description is evidently missing a dependency list
    and then telling porkies about it because you've found it has undeclared dependencies. However, if you had run "apt search netatalk" you'd have
    seen them.


    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to nelso...@gmail.com on Sun Mar 28 19:20:31 2021
    nelso...@gmail.com <nelsonse48@gmail.com> wrote:
    I am trying to setup afp file saring from a raspberrypi (2b) running the latest buster. I need to setup password using afppasswd, but afppasswd
    does not exist on my pi. I installed netatalk using 'sudo apt install netatalk'. And multiple times using 'sudo apt install --reinstall
    netatalk' to no avail. afppasswd does not exist in any bin/sbin file. In stretch it existed in /usr/local/bin, but buster doesn't have anything in /usr/local. In any event where would the password file be if I ever get netatalk working?

    It's not in any package:

    <quote>
    You have searched for paths that end with afppasswd in suite buster, all sections, and all architectures.

    Sorry, your search gave no results
    </quote> https://packages.debian.org/search?searchon=contents&keywords=afppasswd&mode=path&suite=stable&arch=any

    so I suppose you'll have to compile it yourself: http://netatalk.sourceforge.net/
    https://github.com/Netatalk/Netatalk

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Theo on Sun Mar 28 18:57:33 2021
    On Sun, 28 Mar 2021 19:20:31 +0100, Theo wrote:

    nelso...@gmail.com <nelsonse48@gmail.com> wrote:
    I am trying to setup afp file saring from a raspberrypi (2b) running
    the latest buster. I need to setup password using afppasswd, but
    afppasswd does not exist on my pi. I installed netatalk using 'sudo
    apt install netatalk'. And multiple times using 'sudo apt install
    --reinstall netatalk' to no avail. afppasswd does not exist in any
    bin/sbin file. In stretch it existed in /usr/local/bin, but buster
    doesn't have anything in /usr/local. In any event where would the
    password file be if I ever get netatalk working?

    It's not in any package:

    <quote>
    You have searched for paths that end with afppasswd in suite buster, all sections, and all architectures.

    Sorry, your search gave no results </quote> https://packages.debian.org/search?
    searchon=contents&keywords=afppasswd&mode=path&suite=stable&arch=any

    so I suppose you'll have to compile it yourself: http://netatalk.sourceforge.net/
    https://github.com/Netatalk/Netatalk

    ... and probably to install the two afpfs* packages before doing so.

    I suppose its just about reasonable on the part of the netatalk
    developers to not have made the dependencies in their package explicit
    and usable by apt since its not being distributed via a 3rd party
    repository, but I think not naming them in the package description was a
    major oversight unless its documented somewhere so obvious that OP should
    not have overlooked it.


    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to nelso...@gmail.com on Thu Apr 1 16:04:24 2021
    nelso...@gmail.com <nelsonse48@gmail.com> wrote:
    Has anyone sucessfully compiled netatalk for a raspberrypi? Any hints on what to try? I am using instructions from
    "agrlh/install_netatalk_debian.md" for a RaspberryPi TimeCapsule.

    No idea about netatalk, but if you want to make a Time Capsule to support modern Macs I suggest using SMB not afp. Apple have deprecated afp - it
    still works, but who know for how much longer.

    https://mudge.name/2019/11/12/using-a-raspberry-pi-for-time-machine/ https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X

    Of course this may not apply if you're targeting vintage Macs.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nelsonse48@gmail.com@3:770/3 to All on Thu Apr 1 07:32:07 2021
    Thanks to all who responded about netatalk on rpi buster. It turns out that I need random number exchange (uams-randnum.so) which isn't supported in the buster repo of netatalk. So I need to build/compile netatalk from debian source. No luck yet. '
    sudo checkinstall --fstrans=no' fails at the following line:

    ar: /home/pi/netatalk-3.1.12~ds/libatalk/acl/.libs/libacl.a: No such file or directory

    It looks like an archive file is missing. libacl.a does exist in /home/pi/netatalk-3.1.12~ds/libatalk/acl/.libs/libacl.lax/libacl.a but is empty/null/0 bytes. [Note the extra directory level libacl.lax] Copying the directory up one level to .libs does
    not help and is deleted on the next execution of checkinstall.

    Has anyone sucessfully compiled netatalk for a raspberrypi? Any hints on what to try? I am using instructions from "agrlh/install_netatalk_debian.md" for a RaspberryPi TimeCapsule.

    --Steven

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Theo on Thu Apr 1 16:19:21 2021
    On 01/04/2021 16:04, Theo wrote:
    nelso...@gmail.com <nelsonse48@gmail.com> wrote:
    Has anyone sucessfully compiled netatalk for a raspberrypi? Any hints on
    what to try? I am using instructions from
    "agrlh/install_netatalk_debian.md" for a RaspberryPi TimeCapsule.

    No idea about netatalk, but if you want to make a Time Capsule to support modern Macs I suggest using SMB not afp. Apple have deprecated afp - it still works, but who know for how much longer.

    https://mudge.name/2019/11/12/using-a-raspberry-pi-for-time-machine/ https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X

    Of course this may not apply if you're targeting vintage Macs.

    Theo

    And this is why netatalk support is up the creek. I cant remember the
    last version of MAC OS to need AFP support but I think it was OS-9.,
    OS-10 has always supported SMB.

    But I might be wrong there...

    --
    New Socialism consists essentially in being seen to have your heart in
    the right place whilst your head is in the clouds and your hand is in
    someone else's pocket.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nelsonse48@gmail.com@3:770/3 to The Natural Philosopher on Thu Apr 1 09:55:55 2021
    On Thursday, April 1, 2021 at 10:19:22 AM UTC-5, The Natural Philosopher wrote:
    On 01/04/2021 16:04, Theo wrote:
    nelso...@gmail.com <nelso...@gmail.com> wrote:
    Has anyone sucessfully compiled netatalk for a raspberrypi? Any hints on >> what to try? I am using instructions from
    "agrlh/install_netatalk_debian.md" for a RaspberryPi TimeCapsule.

    No idea about netatalk, but if you want to make a Time Capsule to support modern Macs I suggest using SMB not afp. Apple have deprecated afp - it still works, but who know for how much longer.

    https://mudge.name/2019/11/12/using-a-raspberry-pi-for-time-machine/ https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X

    Of course this may not apply if you're targeting vintage Macs.

    Theo

    And this is why netatalk support is up the creek. I cant remember the
    last version of MAC OS to need AFP support but I think it was OS-9.,
    OS-10 has always supported SMB.

    But I might be wrong there...

    --
    New Socialism consists essentially in being seen to have your heart in
    the right place whilst your head is in the clouds and your hand is in someone else's pocket.

    I am trying to get afp working with AppleIIGS system 6.0.x. using AFPBridge. This works fine with Netatalk 2, but has issues connecting with Netatalk 3. It needs to use randnum exchange which is enabled in the buster version of netatalk 3. Stretch and
    earlier worked. Time capsule support isn't needed. I am retro - Apple2 4ever.

    --Steven

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Scott Alfter@3:770/3 to nelso...@gmail.com on Thu Apr 1 18:25:03 2021
    In article <c0bf88c1-2081-46dd-8b9a-e977495a68f3n@googlegroups.com>, nelso...@gmail.com <nelsonse48@gmail.com> wrote:
    I am trying to get afp working with AppleIIGS system 6.0.x. using
    AFPBridge. This works fine with Netatalk 2, but has issues connecting
    with Netatalk 3. It needs to use randnum exchange which is enabled in
    the buster version of netatalk 3. Stretch and earlier worked. Time
    capsule support isn't needed. I am retro - Apple2 4ever.

    I have an ebuild for netatalk 2.2.5 in my Gentoo overlay...but checking just now, it looks like it's not building properly. It's complaining about
    multiple definitions of some functions.

    It worked just fine with my IIGS a few years back, at least. Hopefully I
    can figure out what's going sideways and fix it. I see there was also a
    2.2.6 release back in 2017; maybe that has fixes for newer systems.

    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)