• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Two Requests

Bunsen

Admin-Witchfinder-General
Well, I'm not sure if the Apple floppy shipped as standard or as an option with the Pismo, but it was definitely available. Did the Kanga even have a removable drivebay? Wallstreet and Lombard - definitely.

 

insaneboy

Well-known member
IIRC I was running OS 10.2 on my wallstreet when I made disk images of all my old floppies... Definitely had 800k disks in the bunch... But I can't be 100% certan I know 9.2.1 was also installed on it, and that was a good 8+ years ago.

As for apple talk, OS 10.5 does a crap job with AppleTalk for printing, my pb180 can see the printers but it can't seem to print to them (using 10.5 server's print server). Been using FTP to transfer files... Eventually I may try 7.6.1, have CD, just have to work out how to get that installed with out having a CD-ROM drive that'll connect to the PowerBook.

 

Mk.558

Well-known member
^ You're using a SCSI to Ethernet adapter?

For installing 7.6, you can share the CD out from 10.5 and access it through FTP. Better is to get ahold of something like this which is about 10 years old -- and binhex the installer files, then push them out via ftp.

Netatalk -- anybody would like to figure it out? In the upcoming version 3, I've removed the instructions for setting up netatalk under the Linux section for three reasons: 1) the linux version is already going out of date (11.10); 2) once the repositories get updated to netatalk 3.0, it'll be worthless as netatalk 3.0 doesn't have afp support; and 3) because of the highly dynamic nature of Linux, showing the instructions for one distro isn't exactly conclusive because the only way I got it to work was via installing from the repositories.

Installing from source will eventually be the only way forward. I tried looking for clues from the A2 crowd because there is support for net-booting a IIGS from netatalk with the A2BOOT flag.

 

insaneboy

Well-known member
Yup, I have the one Asante mini EN/SC. I'll try binhexing it...

other thing I'd love to have figured out, in classic networking is a MacIP router software that'll work on a moderish(OSX) mac. that way I could use the Appletalk to Ethernet box I've got to get the plus online too. :)

 

protocol7

Well-known member
I found Netatalk to be the best solution for AppleShare. I have 2.1.6 running in a Debian virtual machine and have connected to it with System 6 up to 10.8. I had problems connecting without TCP/IP with 2.2.1 so I've stuck with 2.1.6 ever since.

 

Mk.558

Well-known member
Yup, I have the one Asante mini EN/SC. I'll try binhexing it...
other thing I'd love to have figured out, in classic networking is a MacIP router software that'll work on a moderish(OSX) mac. that way I could use the Appletalk to Ethernet box I've got to get the plus online too. :)
Using MacIP in the TCP/IP control panel is for LocalTalk only and will not work out to TCP/IP. Furthermore, an AFP bridge will only work with AFP over AppleTalk with LocalTalk to AFP over AppleTalk with Ethernet. Only exotic bridges like the Cayman Systems Gatorbox can do like what you're describing. They are also rare-ish and expensive.

I found Netatalk to be the best solution for AppleShare. I have 2.1.6 running in a Debian virtual machine and have connected to it with System 6 up to 10.8. I had problems connecting without TCP/IP with 2.2.1 so I've stuck with 2.1.6 ever since.
Great. Have you tried 2.2.4? It's the last version of version 2, wasn't sure if it would work.

Would you be so kind as to detail the steps? This is what the rest of the internet provides: [&%√˙©ƒ@Ω£]. I can't make any sense of it, and neither do they detail how they compiled it from source. The last time I did it, the Netatalk library was installed in the wrong directory. The official man pages are rather broadly written, and there's probably a dozen gotchas relating to not using a certain flag or something.

I do have a laptop with 9.10 on it, runs "A bit sluggish", probably would run a bit better on 512MB RAM rather than 384 which is has now (XP SP3 runs perfectly fine). I would install Netatalk on it but because it's a pentaboot and reinstalling an OS would be a major irritation, I'll probably test the "Procedure" in a VM first. I'd like to have Netatalk on it because with the Ubuntu distro, there is $ dd, HFS read support and many other neat little things to help grease the wheels.

 

protocol7

Well-known member
Great. Have you tried 2.2.4? It's the last version of version 2, wasn't sure if it would work.
Would you be so kind as to detail the steps? This is what the rest of the internet provides: [&%√˙©ƒ@Ω£]. I can't make any sense of it, and neither do they detail how they compiled it from source. The last time I did it, the Netatalk library was installed in the wrong directory. The official man pages are rather broadly written, and there's probably a dozen gotchas relating to not using a certain flag or something.
I haven't tried 2.2.4. I'm working on the if-it-ain't-broken principle. I'm not very linux literate either and had to google up every step of the way so I took notes as I went along. This guide was helpful, particularly with setting up avahi (which enables auto-discovery for OS X). It also details how to add shares etc.

Compiling netatalk (this is for 2.1.6 and debian)

Required dependencies: libavahi-client-dev libcups2-dev libdb-dev libssl-dev (install these first using apt-get or whatever package manager the distro uses)

Configure: ./configure --enable-debian --enable-zeroconf --enable-ddp --enable-cups --enable-ssl --sysconfdir=/etc --with-uams-path=/usr/lib/netatalk

Make it load on startup: update-rc.d netatalk defaults

Installing it in a VM is also handy because it also makes it portable. If you reinstall your system or want to install the server on another machine you just have to install the VM software and import your VM. I'm using VirtualBox here.

 

Mk.558

Well-known member
Since you say that it can be mounted in System 6, that means that your .conf files are at least somewhat correct. Would you be so kind as to upload all the contents (XXXXXXXX out any you'd consider "sensitive") of the afpd.conf, /etc/default/netatalk and /etc/netatalk/AppleVolumes.default files to pastebin?

That kremalicious thing was my source for doing it on the Guide, but that was from repository source, not compiling it manually. Any notes of yours you'd like to share?

EDIT: Did you also load the Berkeley DB libraries? If so, how?

 

protocol7

Well-known member
Here's my conf files. On System 6 the shares were initially mounted read-only. When I updated the AppleShare Client to whatever version would run on System 6 (I can't remember now and those Macs are gone) I was able to write as well.

afpd.conf

Code:
- -transall -uamlist uams_clrtxt.so,uams_dhx.so,uams_dhx2.so -nosavepassword
AppleVolumes.default

Code:
:DEFAULT: options:upriv,usedots

/media/sf_Macintosh	"Macintosh Archive" dbpath:/home/mac/.dbfiles/macintosh options:ro
/media/sf_Shared	"Shared Folder" dbpath:/home/mac/.dbfiles/shared
/software/Essentials	"Essentials"
The media/sf_ folders are folders on the host PC attached using VirtualBox's folder sharing. This is also why I redirected their database files to folders inside the VM. The Essentials share is a folder in the VM.

atalkd.conf

Code:
eth0 -phase 2 -net 0-65534 -addr 65280.163
This was largely (completely?) system-generated. If eth0 is missing from the end of your file just add it and I think it will fill in the rest later.

As for compiling from source, after installing the required dependencies I just downloaded the 2.1.6 tarball, extracted it and ran the configure string in my previous post. Then probably followed up with "make install" (I haven't anything in my notes about this so I'm assuming it was standard operating procedure after configure).

I haven't got any mention of the Berkeley DB libraries in my notes. Are they needed?

 

Mk.558

Well-known member
They say that it's required.

I spoke via email to the gent here on this page and he stated in an email that he "ignored the HOWTO" and instead followed something else online, but didn't state what that article was.

Given that the article was last updated in 2011, and 2.1.6 was around in 2011, I'll be under the assumption that he used the same or similar release.

Edit: I'm going to have to also install the other libraries like lib-dev-ssl via source because 9.10 is beyond the repository maintenance schedule.

 

protocol7

Well-known member
See, I said I wasn't very linux literate. libdb-dev are the Berkeley DB libraries.

Also, I don't know if it has any bearing on the System 6 side of things, but neither of those compacts had ethernet. I had them connected via LocalTalk to a 7500 running LocalTalk Bridge.

 

Mk.558

Well-known member
This is getting real nerdy. First berkeleydb won't install because G++ isn't working. So in Typical Linux Fashion there's a big round-robin going around where this needs that and that needs that other thing which first requires this which ... :disapprove:

I have never felt the feeling, but I wonder what it's like to be an über Linux geek and just have Terminal commands and all that with a massive outflowing of superknowledge.

 

protocol7

Well-known member
apt-get build-dep g++ should take care of that (according to this).

build-dep causes apt-get to install/remove packages in an attempt to satisfy the build dependencies for a source package.
For example if you want to compile gcc you will need all the build dependencies for successfully compiling gcc. So you use sudo apt-get build-dep gcc. This will install all the packages required to build gcc from source.
 

Mk.558

Well-known member
yeah

I was using Ubuntu 9.10, to see if it can be done in a 7 year old operating system without any issues. The answer is no. :) No repository support = you're on your own, just like the old days of writing your own BASIC programs because nothing was available.

I put Debian 6.0.7 Squeeze on a VM last night. That, should work fine. I'll have to lookup in the manual how to work with the shared folders in the VB. Another annoyance is the Guest Additions don't work under Debian. I'll update to the lastest version of VB and see what happens.

 

skodises

Member
For what it is worth, AFP-over-Ethernet does indeed work for file transfer right up through Snow Leopard, although somewhat awkwardly. My IIci running 7.5.5/OT1.3/SharewayIP is mountable by my 10.6.8 desktop here: it can be a client to the very old server provided by the IIci. The old machine cannot see the new machines at all- Chooser sees nothing. The modern machine doesn't *see* the old machine in a browsing sense, either. But by using the Finder "Go>Connect to Server" mechanism in OS X, connection can be made to the old machine by manually specifying its AFP servername or IP address. You can then move files up and down, albeit horrifically slowly. It does work, and is my "backup backup" mechanism. I periodically stuff and binhex everything important, and then slurp the binhexed archive up onto the modern machines for safekeeping (an overnight or even multiday process), in addition to keeping a couple of up-to-date clones of the data on drives attached to the IIci.

I have been sporadically trying to get this to work under Lion as well. Apple killed off support for the oldest versions of the AFP protocol by default in 10.7 and up (for security reasons, apparently), but supposedly it is possible to restore access by munging the com.apple.AppleShareClient plist via defaults write: http://support.apple.com/kb/ht4700 . However, I haven't been able to make this work just yet. For some utterly perverse reason, the defaults write process doesn't seem to stick (even running logged in as root), and the plist reverts to its initial default state as soon as a connection attempt is made. Haven't had time to debug that yet, but someday I'll get around to it. Since I'm not currently planning on upgrading my desktop here beyond Snow Leopard, it hasn't become germane yet.

 

protocol7

Well-known member
Yeah I'm on Squeeze here too. The VBox Additions do work (I'm using them), but you need to compile them (yay linux!) from the additions CD. Instructions are here. But here's how I did it (this is what I have in my notes):

remove virtualbox-ose-guest-x11 (this removes old 3.x additions)
dependencies: bzip2, linux-headers-$(uname -r), make

mount /media/cdrom

sh /media/cdrom/VBoxLinuxAdditions.run
Also I found out the version number of the AppleShare update to get System 6 write support. It's AppleShare Client 3.5.

 

Mk.558

Well-known member
I have got shared folders to work before without a hitch in VB but this time it's especially difficult.

I made a duplicate of the VM just before I ran ./configure so I can test out both 2.1.6 and 2.2.4 and report back.

 

protocol7

Well-known member
I just added the folders in the Shared Folder section of the VM, set whether I wanted them readable or not and set them to automount. They then show up in the emulated Debian in the /media folder.

I have one folder (Shared Folder) that is writable but I can't overwrite or delete files from the Mac side. I get an error -50 every time. I don't know how to fix that. I just delete the files on the PC afterwards. I have no problem deleting files in the Essentials share which is in the VM so I guess it's related to VB's folder sharing.

 
Top