Japanese Version UK mirror

Kernel 1.2.* Setup

Last updated: December 18, 1996
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

  1. /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>

  2. In your linux source directory, change to the directory:

    arch/i386

    (Usually it's somthing like /usr/src/linux/arch/i386)

  3. 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

  4. In your linux source directory, change to the directory:

    net/inet/sock.h

  5. 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)

  6. 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

  7. 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

  8. 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.

  9. This is all you will be using the old netatalk-1.3.3b2 code for.

  10. 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. ;)


This page mantained by Anders Brownworth. Copyright © 1997