Re: netatalk problem and MOL questions


Subject: Re: netatalk problem and MOL questions
From: Derrik Pates (dpates@andromeda.dsdk12.net)
Date: Sun Jan 14 2001 - 22:25:31 MST


On Sun, 14 Jan 2001, Tom Greene wrote:

> When I start netatalk I get this error:
>
> [root@porky init.d]# /etc/rc.d/init.d/atalk start
> Starting AppleTalk services: socket: Invalid argument
> socket: Invalid argument
> atalkd: can't get interfaces, exiting.

You don't have Appletalk protocol support in your kernel. Enable
"Appletalk protocol support" under "Networking options" in your kernel,
and rebuild your kernel (if you build it in) or rebuild and install
modules, run 'depmod -a' and 'modprobe appletalk' (if you build it as a
module). afpd can run by itself, however, to do AFP over TCP (read the
netatalk docs for more info on how to do this).

> I have another question about netatalk. Is it possible to set it up so
> that the Mac system does not leave resource information on the shared
> Linux file system? How? I'd like to use the shared files in both OSes and
> to keep the clutter down as seen from the Linux side.

Check the docs - I believe there's an option that can be set in afpd.conf
to only generate the AppleDouble file (which contains the resource fork,
and creator and type IDs) when an AFP client sets non-default resource
info or creator/type IDs.

> Is it possible to set up netatalk to do filesharing over IP? how?

As I mentioned above, you can do AFP over TCP, but you won't be able to
use PAP (Printer Access Protocol) from the MacOS side to the Linux side.
Don't know if that's an issue for you, though. I'd be _very_ careful about
using ipchains or iptables to secure access to the afpovertcp port (TCP
port 548) if I were you - maybe limit it only to the IP address of the
MacOS session within MoL.

> This next question is mostly about MOL. Once I get it going, do I have to
> use Appleshare over IP on the Mac when running MOL to see the Linux file
> system? Is this possible to do with MacOS 8.6 or do I need 9.X? If it can
> be done in 8.6, I'd appreciate some tips as to how.

I believe 8.5 and 8.6 have the ability to use AFP over TCP - just pull up
the Chooser, and there should be a field to type the IP address of the AFP
over TCP server into, and a login window should pop up when you hit Enter.

Derrik Pates | Sysadmin, Douglas School| _ #linuxOS on EFnet
dpates@dsdk12.net | District (dsdk12.net) | | | and now OPN too!
   Student @ South Dakota School of Mines | __| |___ _ _ _ ___ _ _ ____
       & Technology (www.sdsmt.edu) |/ _ / -_) ' \ '\/ _ \ ' \ (____)
UNIX: Because you want to USE your computer.|\___,\___|_||_||_\___/_||_|



This archive was generated by hypermail 2a24 : Sun Jan 14 2001 - 22:25:59 MST