The 1.2.* Linux kernels contain only a partial implimentation of appletalk. You will need to patch your kernel to support the appletalk protocol.
Patch to enable Appletalk in the 1.2.* kernel
- /usr/include/net/route.h - either create this file if it doesn't exist, or make sure it contains the single line:
#include <linux/route.h>
- In your linux source directory, change to the directory:
arch/i386
(Usually it's somthing like
/usr/src/linux/arch/i386
)
- Edit the file
config.in
. Take out the # sign in the line:
#bool 'Appletalk DDP' CONFIG_ATALK n
so it reads:
bool 'Appletalk DDP' CONFIG_ATALK n
- In your linux source directory, change to the directory:
net/inet/sock.h
- Edit the file
sock.h
. Change the line:
#include <linux/atalk.h>
to read
#include "atalk.h"
(it's a ways down in the file, around line 47)
- Make a link from
/usr/include/sys/uio.h
to/usr/src/linux/include/linux/uio.h
Type:
ln -s /usr/include/sys/uio.h /usr/src/linux/include/linux/uio.h
- Grab a copy of the old netatalk-1.3.3b2 source code and decompress it with the command:
gzip -d netatalk-1.3.3b2.tar.gz
and un-tar it with the command:
tar -xvf netatalk-1.3.3b2.tar
- In that old netatalk-1.3.3b2 source distribution, type:
make kinstall
This will install the Linux kernel appletalk code patches in your
/usr/src/linux/net/inet
directory.
- This is all you will be using the old netatalk-1.3.3b2 code for.
- Don't compile your kernel just yet. The
make install
later in the netatalk source directory will make additional modifications to your kernel source. I'll let you know when it's time to compile. ;)