[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I can get anything to talk to anything! :-)



In article <u4gln45jnf4874@corp.supernews.com>, Scott Alfter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I finally succeeded at getting my IIGS to talk to my Linux server.  I think
> the problem I ran into in the past was that netatalk wasn't configured to
> support the types of authentication that GS/OS needs.  Since I wiped the
> server config when I upgraded the hardware, I hadn't yet put netatalk back
> on.  I grabbed v1.4b2 and the Apple II support patch for it.  After much
> editing of patchfiles and header files, I got it to where my Mac would talk
> to it again over Ethernet.  I then went to work on getting the Mac to talk
> to the server through a Cayman GatorBox CS that I had bought a short time
> ago.  I nuked the config on that and got it running as a simple bridge.  I
> think that it needs to be started before netatalk...but while I didn't get
> the Mac to see the server through it (no big deal as the Quadra 610 speaks
> Ethernet natively), I did see that the server was showing up in the
> EtherTalk zone in the GS's AppleTalk cdev.  I tried logging in and mounting
> a share...where this wouldn't work before, it went right through this time!
> 
> No modification to GS/OS was needed.  File sharing works, with some issues:
> 
> 1) Even if a share should be auto-logged-in at restart, it isn't.  You have
>    to go to the AppleTalk cdev and mount the share manually every time.
> 2) The auxiliary-type information seems to be flipped when a file is
>    created.  I tried setting a ShrinkIt archive to the correct types
>    ($E0/$8002); it came up with auxtype $0280 instead.  Telling Davex to set
>    the auxtype to $0280 set it to the proper $8002.  This would appear to be
>    a big-endian/little-endian disagreement someplace.  (The ironic bit is
>    that both machines are little-endian...the server's a homebrew dual
>    P!!!-500 running Linux 2.4.14 or thereabouts.)
> 3) While GS/OS has no problems accessing any file on the server, ProDOS 8
>    will only access stuff that's named in all-uppercase with the same
>    limitations that ProDOS imposes (15-char max, first char alpha,
>    subsequent chars alpha/num/dot).  A file on the server named foo-bar.txt
>    (or even just foo.txt) won't be accessible, but FOO.TXT or FOO.BAR.TXT
>    will work.

I would suggest you try the latest and greatest Netatalk.  Adrian Sun
did a wonderful job of integrating my ProDOS AFP and authentication
patches, and it works "out of the box" for both IIGS and //e +
Workstation cards.  The syntax for setting options in AppleVolumes has
changed subtlely in recent years.  I use this to export my IIe volume:

/server1/netatalk/a2e  a2e  casefold:toupper options:prodos,noadouble

Also, be sure to specify:

-uamlist uams_clrtxt.so,uams_randnum.so

(at a minimum) in /etc/atalk/afpd.conf.  That will let both
workstation cards and IIGS machines authenticate.

I'm pleased to see the ProDOS 8 support is proving useful to folks in
the A2 community.

Steve