Linux and AppleTalk

Linux and AppleTalk

Post by Peter Anders » Thu, 30 Jan 1997 04:00:00



Can anyone point me towards some documentation on settingup AppleTalk on
a Linux box?  I just installed Red Hat 4.0 and it had an AppleTalk option
which I installed, but I can't find a reference to it in the man pages or
in the HOWTO section.  I want my Linux box to appear in the AppleTalk
zones of my users (on Macs) and I want them to connect (with limited
access similar to Anonymous FTP) as "guest" and "put" things on the server.

Thanks for the help,

Peter Anderson

 
 
 

Linux and AppleTalk

Post by Nik Langrin » Thu, 30 Jan 1997 04:00:00


Look for programs atalkd, afpd, papd on your machine. If you find them
then your distribution came w/ netatalk.  Do man on these things, and
on nbp_name, and you will find out what to do.

If these things are not present, then your distribution only came with
kernel support for appletalk (AARP, DDP). I think this is more likely.
In this case, do as suggested below.




> > Can anyone point me towards some documentation on settingup AppleTalk on
> > a Linux box?

> Install netatalk (http://www.umich.edu/~rsug/netatalk). It gives you file
> and printing services.

> --
> Sak Wathanasin
> Network Analysis Limited
> 178 Wainbody Ave South, Coventry CV3 6BX, UK


> uucp:     ...!britain.eu.net!nan!sw
> Phone: (+44) 1203 419996                              Fax: (+44) 1203 690690

--


 
 
 

Linux and AppleTalk

Post by Sak Wathanas » Thu, 30 Jan 1997 04:00:00




> Can anyone point me towards some documentation on settingup AppleTalk on
> a Linux box?

Install netatalk (http://www.umich.edu/~rsug/netatalk). It gives you file
and printing services.

--
Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK


uucp:     ...!britain.eu.net!nan!sw
Phone: (+44) 1203 419996                              Fax: (+44) 1203 690690

 
 
 

Linux and AppleTalk

Post by Mark Tille » Fri, 31 Jan 1997 04:00:00


Try http://thehamptons.com/anders/netatalk/

I got it working on Slakware 3.1, though haven't really tested it yet.



> Can anyone point me towards some documentation on settingup AppleTalk on
> a Linux box?  I just installed Red Hat 4.0 and it had an AppleTalk option

> Peter Anderson


 
 
 

Linux and AppleTalk

Post by Lynn Hol » Fri, 31 Jan 1997 04:00:00




> >Can anyone point me towards some documentation on settingup AppleTalk on
> >a Linux box?  I just installed Red Hat 4.0 and it had an AppleTalk option
> >which I installed, but I can't find a reference to it in the man pages or
> >in the HOWTO section.  I want my Linux box to appear in the AppleTalk
> >zones of my users (on Macs) and I want them to connect (with limited
> >access similar to Anonymous FTP) as "guest" and "put" things on the server.

> Get the netatalk-1.3.3.-7.i386.rpm from ftp.redhat.com:/pub/contrib
> directory, and install it.

> Hope this helps,
> -- Elliot                                 http://www.veryComputer.com/

Good advice. I got it and installed it and it worked fine. For a while.
Then it hung and wouldn't respond to Mac requests. In order to re-start
it you have to reboot unless you put the kernel portion in as a module.
I forgot the name of the kernel portion, but it's the only thing with a
"apple" label in the kernel config. I put mine in my kernel at first and
it seemed to hang once or twice a day. Re-boot was the only way to clear
it. I re-compiled with the "apple" thing as a module and it has worked
fine ever since. Don't know why it hung before, don't know why it works
now. Go figure.
It really does work nice and my Mac users are clapping their *
little hands!
--
Lynn Holt

Running Linux on the Big Island of Hawaii, and I like it!!
 
 
 

Linux and AppleTalk

Post by Alex Chamberla » Mon, 03 Feb 1997 04:00:00


As long as we're talking about Netatalk--I don't have an ethernet card in
my Linux machine, nor do I have an Ethernet-capable Mac.  Is there a way to
set up Netatalk to use the PC serial port and Phonenet connectors like a
Mac network?  (Before anyone says RTFM, I read the source for the Netatalk
drivers and couldn't figure it out...)

TIA,

Alex Chamberlain

 
 
 

Linux and AppleTalk

Post by Ashok Aiy » Mon, 03 Feb 1997 04:00:00



Quote:>As long as we're talking about Netatalk--I don't have an ethernet card in
>my Linux machine, nor do I have an Ethernet-capable Mac.  Is there a way to
>set up Netatalk to use the PC serial port and Phonenet connectors like a
>Mac network?  (Before anyone says RTFM, I read the source for the Netatalk
>drivers and couldn't figure it out...)

No.

Later,
Ashok
--
Ashok Aiyar, Ph.D.
McArdle Laboratory for Cancer Research

 
 
 

Linux and AppleTalk

Post by Preston F. Cr » Mon, 03 Feb 1997 04:00:00



Quote:>As long as we're talking about Netatalk--I don't have an ethernet card in
>my Linux machine, nor do I have an Ethernet-capable Mac.  Is there a way to
>set up Netatalk to use the PC serial port and Phonenet connectors like a
>Mac network?  (Before anyone says RTFM, I read the source for the Netatalk
>drivers and couldn't figure it out...)

I've been wondering the same thing.  You should at the very least be
able to string a serial cable between the two machines and run ppp.

--PC
--
$ "If a man has recently married, he must not be sent to war or have any     $
$ other duty laid on him.  For one year he is to be free to stay at home and $
$ bring happiness to the wife he has married."  --Deuteronomy 24:5           $
$ So that's why people get divorced--nobody can afford a decent honeymoon.   $

 
 
 

Linux and AppleTalk

Post by Ashok Aiy » Mon, 03 Feb 1997 04:00:00




>I've been wondering the same thing.  You should at the very least be
>able to string a serial cable between the two machines and run ppp.

My understanding is the netatalk doesn't currently work over PPP.

Later,
Ashok
--
Ashok Aiyar, Ph.D.
McArdle Laboratory for Cancer Research

 
 
 

Linux and AppleTalk

Post by Robert Kneus » Wed, 05 Feb 1997 04:00:00





>>I've been wondering the same thing.  You should at the very least be
>>able to string a serial cable between the two machines and run ppp.
>My understanding is the netatalk doesn't currently work over PPP.
>Later,
>Ashok

I wrote the netatalk folks about this very thing, and the response I
got was that it could not and would not work over a SLIP/PPP link
unless I "wanted to write a lot of code".

I have set up MacTCP / dip CSLIP connection... I have a bunch of high
desinsity Mac disks I want to use on my Mac II-- so now I use executor
to create a mac cpt archive (binhexed) and then I use Fetch (ftp) on
the mac to retreive these files.  Somewhat cumbersome- but it's the
best I could come up with.  I'd *like* to share printers but I suppose
that's too much to hope for... ?

- Bob

--

 
 
 

Linux and AppleTalk

Post by William M Steven » Mon, 10 Feb 1997 04:00:00




> >As long as we're talking about Netatalk--I don't have an ethernet card in
> >my Linux machine, nor do I have an Ethernet-capable Mac.  Is there a way to
> >set up Netatalk to use the PC serial port and Phonenet connectors like a
> >Mac network?  (Before anyone says RTFM, I read the source for the Netatalk
> >drivers and couldn't figure it out...)

> I've been wondering the same thing.  You should at the very least be
> able to string a serial cable between the two machines and run ppp.

> --PC
> --
> $ "If a man has recently married, he must not be sent to war or have any     $
> $ other duty laid on him.  For one year he is to be free to stay at home and $
> $ bring happiness to the wife he has married."  --Deuteronomy 24:5           $
> $ So that's why people get divorced--nobody can afford a decent honeymoon.   $

Here's a (hopefully) definitive answer on connecting Macs to PCs using
Apple's LocalTalk technology.  First, LocalTalk is the (new) name for
the low-speed version of AppleTalk that can operate over PhoneNet.  It
has a (reported) speed of 230.4 kbit/sec.  In actuality, many Macs (if
not all) operate at about 229.5 kbit/sec (some LocalTalk trivia fer
ya).  The 230.4 kbit/sec speed is a legacy of previous versions of the
technology (known as AppleBus, I think), which were invented in the Lisa
era.  The two speeds are compatible, as the receiver uses a digital
phase lock loop (DPLL) to recover the clocking info embedded in the data
stream.

LocalTalk is NOT compatible with PC serial ports, nor will it ever be.
The serial chips used in PCs are of the National Semiconductor 8250
legacy.  The 8250 is an async only chip, as are all of its successors
(16450, 16550, 16650, etc...)  LocalTalk was developed around the Zilog
8530, which is a multiprotocol chip.  For LocalTalk operation, the 8530
is programmed for FM0 (bi-phase space) signaling, and communicates
frames using bit-oriented (a la HDLC) framing.  Neither of these
functions are available in 8530 and subsequent chips.  

The only practical method I know of to get a PC to talk LocalTalk
directly is to purchase a LocalTalk PC card from Farallon Systems (do
they still sell them?).  The card was originally developed and sold by
Apple, but they sold off the entire product to Farallon a long time ago
(i.e. at least 5 years).  The card uses a Zilog 8530 chip, plus a Z80
compatible microprocessor to implement LocalTalk with minimal overhead
on the PC.  

I have one of the LocalTalk PC cards, and have used it in the past with
Windows 3.1.  I just saw a posting that indicated that a future version
of the Linux kernel may include support for the LocalTalk PC card.
Luckily, I hadn't sent the card to the trash heap yet.  I'm looking
forward to being able to connect my LaserWriter II directly to Linux via
LocalTalk using this card.

Finally, in case you're interested, PhoneNet is a really simple
technology.  If you crack open a PhoneNet module, all you'll find is a
transformer.  Apple's original equivalent product contains - yep - a
transformer!  I'm at a loss as to the technical difference in
implementations, but I suspect that it's not much more than Apple being
too conservative to risk EMI complaints from emissions from (unshielded)
telephone wiring, whereas Farallon (being at the time, much smaller and
hungrier) didn't find such concerns too daunting.