
Here my debugged version of the ax25 for the linux kernel witch Allen Cox
has ported to Linux.

Most bugs are fixed in the timers

The ax25 works here fine with the DK5SG mailbox on my 1200 and 9600b/s port.
I have ported the DK5SK bbs to work with the ax25 in the linux kernel and
works here perfect 24hour/24hour a day with bbs store&forward. 

you have also to make a change in de file
/usr/src/linux/driver/net/slip.c otherwise linux wil stript
portions of the ax25 frames when the MTU is less then 270 !!!!!

/* Encapsulate one IP datagram and stuff into a TTY queue. */
static void
sl_encaps(struct slip *sl, unsigned char *icp, int len)
{
  unsigned char *p;
  int actual, count;

  
  if(sl->mtu != sl->dev->mtu)	/* Someone has been ifconfigging */
  	sl_changedmtu(sl);
  
/*  if(len>sl->mtu)*/		/* Sigh, shouldn't occur BUT ... */  <-----
/*  {                                                                <-----
  	len=sl->mtu;                                                 <-----
  	printk("slip: truncating oversized transmit packet!\n");     <-----  
  }*/                                                                <-----

  p = icp;
#ifdef CONFIG_INET  
===========================================================================

After these changes you have to 
unpack the ax25kerndebugged.tgz file 

      /usr/include/linux/ax25.h
      /usr/src/linux/net/inet/ax25.h
      /usr/src/linux/net/inet/ax25.c        36212 Sep 13 16:22
      /usr/src/linux/net/inet/ax25.h         8528 Sep  5 11:45
      /usr/src/linux/net/inet/ax25_in.c     18487 Sep  5 00:22
      /usr/src/linux/net/inet/ax25_out.c     7181 Sep 13 16:14 
      /usr/src/linux/net/inet/ax25_route.c   3139 Sep  4 15:57
      /usr/src/linux/net/inet/ax25_subr.c    9441 Sep  4 15:57
      /usr/src/linux/net/inet/ax25_timer.c   5474 Sep  5 11:46
      /usr/src/linux/net/inet/ax25call.h      110 Sep  4 15:57


add SLIP and AX25 in your config.in
then make config ;make dep ;make zlilo or zdisk

PS for scc15b users (like me :-)  )
   /usr/sbin/axattach -s 9600 /dev/sc1 PE1AYX
   /usr/sbin/axattach -s 1200 /dev/sc1 PE1AYX-1
   works

Next time i wil upload my axdrvd ,this deamon gives incoming
ax25 connects the login prompt and after login the user wil get
a unix shell :-)

Please send me bug reports if you find one !!

73's de Hans pe1ayx@pi8hrl  ,pe1ayx@pe1ayx.knoware.nl

