Jump to content
Byte Knight

Netatalk SD Card Image?

Recommended Posts

Does anyone have a ready-to-use SD card image of Netatalk for the RPi that works with OS 7.5-9.2?  I have not had any luck getting it set up properly...

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Have a look here:

 

 

While I don't have a RPi or SD image, I do have netatalk running on Lubuntu and all of my macs running OS 6-9 can connect to it.

Edited by Von
typo

Share this post


Link to post
Share on other sites

Worth looking at A2Server - it's designed for explicitly this task, just, with AppleTalk-equipped Apple IIe/c and IIgs computers in mind.

 

What are you looking to do in particular? VTools may be another option if you have ethernet and 7.5+ with all the relevant opentransport and appleshare updates.

 

1 hour ago, Von said:

I do have netatalk running on Lubuntu and all of my macs running OS 6-9 can connect to it.

Which version, of both Ubuntu/Lubuntu and Netatalk?

 

Around ten years ago, you could "apt-get install netatalk" on a debian system and it would work pretty much out of the box, but I don't believe Netatalk 3 supports all the same stuff Netatalk 2 did.

Share this post


Link to post
Share on other sites

Thanks for the info.  I've got a RPi running TCP'ser to emulate a Hayes modem for my BBS, and I figured that it could also be used as a backup server for my old Macs, and possibly link to it for the Mac download section of the BBS in the future.

 

The applefool site looks quite daunting - that's why I was hoping somebody had a prebuilt image...

 

I've tried to get A2Server up and running but get the "Apple II clients cannot connect because Appletalk networking is unavailable..." message.  I'm using Raspbian and it's supposed to automatically install Appletalk for you, but this does not appear to be the case.

 

I already have an account on VTools, but I was looking to set up something more local.

 

Edited by Byte Knight

Share this post


Link to post
Share on other sites
1 hour ago, Cory5412 said:

Which version, of both Ubuntu/Lubuntu and Netatalk?

 

Around ten years ago, you could "apt-get install netatalk" on a debian system and it would work pretty much out of the box, but I don't believe Netatalk 3 supports all the same stuff Netatalk 2 did.

 

Lubuntu 17.10

I started with this and have not updated it as I don't want anything to break

 

Netatalk 2.2.6

You are correct, Netatalk 3.0 dropped support for old Macs so I went with the last 2.x available.  Running this didn't work with OS X so I added Samba.

 

Samba 2:4.6.7 -- not sure if that is visible in the screen below.

Very open Samba settings pointing to the same folder allows OS X and Windows, DOS, OS/2, BeOS as well as Mac OS 6-9 to access and share files.  Very helpful in moving stuff around.

 

Below show it running as VMware Fusion VM. I also have this same setup on an old IBM X31 laptop.

 

I have been meaning to build a version of this VM to share here but there has been no time...

 

842845330_Screenshot2019-07-1121_51_16.thumb.png.35ef81322dab27fbf931dd768c83dd20.png

 

 

Edited by Von
wrong version edited

Share this post


Link to post
Share on other sites

A2Server works fine with classic MacOS machines as well since the Apple IIgs and IIe Appletalk stacks are from the same era (AppleShare 3.0), A2Server also includes Samba so Windows machines can access the shares as well.

Share this post


Link to post
Share on other sites

I can vouch for using A2server, as NJRoadfan said it is not just for Apple 2's and is a great solution for connecting older Macs.

 

You may also want to look at MaciPpi.  It is another great pre-configured Netatalk solution.  

 

 

Share this post


Link to post
Share on other sites

If anyone is interested in signing on to my Pi server with your old Mac, log on to my BBS for instructions (click on link in my signature).  I've only got B&W Mac games up on there now but will be adding much more in the near future...

Share this post


Link to post
Share on other sites

I'm playing around with a2server now.  I have it running as a virtualbox VM at the moment and can see it from my Mojave Mac and a 9.2.2 Mac (so far). 

 

http://ivanx.com/a2server/a2server_virtualbox.html

 

I created a separate Mac share as follows:  

 

In /etc/netatalk, edited AppleVolumes.default and added:

 

/media/A2SHARED/MAC MAC ea:ad

 

You can either restart the VM / appliance for it to take effect or execute:

 

netatalk-stop

netatalk-start

 

One quirk I ran into is that once you start copying things to the partition with resource forks, it creates some directories to store them, but the permissions are wrong.  Here is how I fixed them:

 

The .AppleDouble and .AppleDesktop files did not have the correct user and group, probably created when I first tried to copy something with a resource fork.  Changing them to the default user "user1" and to 777 permissions fixed the problem.   For good measure I applied those permissions to everything in /media/A2SHARED.  Yea, it is pretty permissive, but this is on a home network, so I am not worried. 

 

And FYI, when you log into AppleShare, you use the same default user / pass as you do for the VM: user1 / apple2. 

 

I also expanded the main partition to be larger to allow for more storage.  Here are the instructions I fallowed:

 

https://linuxhint.com/increase-virtualbox-disk-size/

 

I think I am likely going to opt to go with a VM vs running it on a Raspberry Pi.  I have a pretty beefy 2019 Mac Mini to run it on with plenty of memory and RAID storage that is automatically backed up via time machine.  And I think performance will likely be better than on a Raspberry Pi.  And I already have it working on a VM. :)

Share this post


Link to post
Share on other sites

Another tip.  Under 9.2.2 on my Lombard, it would not browse to the a2server in the Chooser, so I had to connect via IP address.  So I gave the VM a static IP address.  This involved editing /etc/network/interfaces (via sudo) and changing this:

    iface eth0 inet dhcp

to something like this:

    iface eth0 inet static
        address 192.0.2.7/24
        gateway 192.0.2.254

and rebooting the VM.  Now it works like a champ. 

Share this post


Link to post
Share on other sites

Okay, I ran into a bit of a problem.  With the new "Mac" share I created, I can no longer write to it, at least from Mojave. 

 

1247114335_ScreenShot2019-12-02at8_39_16AM.png.bf119287fbf29210d414561c3c802e25.png

 

I checked and double checked all the permissions and everything is wide open.

 

I can write just fine to the out-of-the-box GSFILES share.  For kicks, I swapped the folder names between GSFILES and MAC and that made no difference, which tells me that this isn't an issue with the file system permissions. 

 

I've looked and looked through everything that seems associated with netatalk:

 

/etc/netatalk/

/usr/local/etc/netatalk/

/media/A2FILES/

 

There are very few places where the GSFILES name appears, making it seem unlikely that I simply missed a configuration for GSFILES that I should have copied for the MAC share. 

 

I also tried this from two different Mojave machines with no luck on either. 

 

Anyone come across this issue?

 

 

Share this post


Link to post
Share on other sites

Been reading and trying to get this working well. I have a few questions:

 

1. - Is there any way for the virtual machine to use my RAID drive attached to my Mac Mini (the host machine) as the directory hosted over Netatalk? Possibly map the drive as a virtual drive on the virtual machine or something?

 

2. - It looks like you found a way to set a static IP; I will try that out. Have you been able to connect to this from System 6 all the way up through OS X?

Share this post


Link to post
Share on other sites
42 minutes ago, LaPorta said:

 

1. - Is there any way for the virtual machine to use my RAID drive attached to my Mac Mini (the host machine) as the directory hosted over Netatalk? Possibly map the drive as a virtual drive on the virtual machine or something?

I don't see why not.  You just have to point Netatalk to the proper path, wherever it is in the file system. 

42 minutes ago, LaPorta said:

2. - It looks like you found a way to set a static IP; I will try that out. Have you been able to connect to this from System 6 all the way up through OS X?

I haven't tried System 6, but if it works System 7 I don't see why it wouldn't work for 6.  And it definitely works for Mojave and Catalina too. 

 

I was having major problems last week and thought something had blown up, and then realized, in my zeal to clean up my IP range and create more DHCP addresses, I put another device on the same IP as the a2server, my Time Capsule. 

Share this post


Link to post
Share on other sites

I am uncertain where it would be in the file system. I think that I may have to somehow link it through the virtual box application itself first to be "seen" as a drive. I'll let you know how it goes. This thing is so cool!

Share this post


Link to post
Share on other sites

Ok, so I mapped a shared folder in the Virtual Box settings. Where are the drives accessed via the command line? There's no "volumes" folder like in OS X.

Share this post


Link to post
Share on other sites

Try opening them in the editor with the "sudo " prefix.  If I don't do that it is a read only file. 

 

Like

 

sudo vi /etc/network/interfaces

 

Share this post


Link to post
Share on other sites

Got it, thanks. I am one of those guys who grew up on Macs (and still uses them exclusively), so command line is like the first day in Spanish class for me.

Share this post


Link to post
Share on other sites

Yea, I understand.  I was lucky to get familiar with Unix in college and never quite stopped using it.  I know just enough to be dangerous.

 

 

Share this post


Link to post
Share on other sites

I'm trying to read a vi tutorial....I'm liable to burst an aneurysm with this stuff. This is where I wish I could just open said file with TextEdit on the Mac, and then save it back!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×