[Packet] Linux & axports.

Doug Laidlaw [email protected]
Fri, 30 May 2003 19:41:54 +1000


Thanks Shane.  I have linpac running in console mode, and I can initiate =
a=20
contact with it.  GkrellM has a window AX0, and I can see data spikes in =
it,=20
but nothing is getting to the TNC.  If I type connect in Minicom, the PTT=
 LED=20
lights.  I can run startax25 only once.  When I do, I can see the data li=
ghts=20
flash on my inline state indicator plug, but nothing happens on the TNC=20
lights.

Perhaps I should stick to Winpack.

Doug.

On Monday 26 May 2003 2:52 pm, Shane Deering wrote:
> Anyone that would like to try packet on Linux and think it might be too
> hard, skip to the bottom of this message.
>
> On Mon, 26 May 2003 12:45, Doug Laidlaw wrote:
> > On Sunday 25 May 2003 5:47 pm, Shane Deering wrote:
> > > On Sun, 25 May 2003 03:32, Doug Laidlaw wrote:
> > > > Thanks.  I gave you the wrong axports. It must have been the
> > > > precedent in $HOME.  /etc/ax25/axports is
> > > >
> > > > # Axports file
> > > > Port1 =09VK3KDI-1=091200=09255=091=09VHF Port
> > >
> > > Keep in mind that any time you refer to that port you will have to =
call
> > > it Port1. Not port1 or PORT1.
> > > and remember that 1200 is the baud rate between the computer and th=
e
> > > TNC. Not the on air baud rate. Make sure that the TNC is set to tha=
t.
> > > You should get better throughput if you up that speed a bit.
> > >
> > > > The modprobe worked O.K.  I am using Mandrake 9.0 and installed t=
he
> > > > libax25 and libax25-devel RPMs, but I don't seem to have
> > > > /usr/sbin/kisattach.]
> > >
> > > It's in ax25-tools.
> > > Download ax25-tools-0.0.8-3mdk.i586.rpm
> > > and=09=09ax25-apps-0.0.6-1mdk.i586.rpm
> > > as well.
> > > There is also a ax25spyd-0.23-5mdk.i586.rpm that you can look at on=
e
> > > day. For the latest node you can rebuild node-0.3.1-1.src.rpm. Mayb=
e
> > > someone has done an MDK version now.
> > >
> > > > Should I change 192.168.0.10 to 127.0.0.1 for my system, as I don=
't
> > > > have my own domain name?
> > >
> > > That's why I picked 192.168.0.10 (at random). 127.0.0.1 is your
> > > loopback port and should not be uased for anything else. Too many
> > > things would break. Just use a non routable IP address that isn't i=
n
> > > the subnet of anything else on your computer/LAN. To make it easy y=
ou
> > > could use something like 192.168.44.1 if you are already using
> > > 192.168.0.x on your lan.
> >
> > Thanks Shane.  I don't have a lan.  The TNC 9an MFJ1270B TNC-2 clone)=
 is
> > set to 9600 bd  - enough to stop it working.  I thought that you were
> > referring to 9600 bd packet.  My rig doesn't support that.
>
> Here's one I prepared earlier for my MFJ-1270B.
> I operate mine at 4800bd terminal baud rate (2400bd on air) on my 3rd p=
ort.
>
> # MFJ-1270B to KISS mode
> stty -F /dev/ttyS2 speed 4800
> echo -en "KISS ON\015" > /dev/ttyS2
> echo -en "RESTART\015" > /dev/ttyS2
> echo  "MFJ-1270B should be in KISS mode now"
> #
>
> > I had ax25-apps, but ax25-tools-0.0.8 had dependency problems, so I
> > installed the .tar.gz (naughty, I know.)  The port is now listed in
> > xcall.
>
> Good stuff.
> Until MDK9.0 I'd compiled the kernels and all the related stuff (not FB=
B
> though. Mongrel source code).
> Just have to change the baud rate in axports from 1200 to 9600 to match
> what you are using and the TNC should go into KISS mode. You should see=
 STA
> and CON LED's flash three times.
>
> > One last question: I have to run startax25 as root.  Can I configure =
it
> > to start on bootup?
>
> Yep. Stick it in rc.local.
> #This is the last line in my /etc/rc.local
> /etc/ax25/startax25
>
> You can call it anything you like.
> Or even put the lines themselves into rc.local. Not a good idea though.
> I prefer seperate start and stop scripts.
>
> So you should end up with something like the following.
> #/etc/ax25/axports
> Port1 =09VK3KDI-1=099600=09255# Use any 192.168.x.x=091=09VHF Port
>
> And a startup script something like-
>
> #!/bin/sh
> # MFJ-1270B to KISS mode if not already.
> stty -F /dev/ttyS1 speed 9600
> echo -en "KISS ON\015" > /dev/ttyS1
> echo -en "RESTART\015" > /dev/ttyS1
> echo  "MFJ-1270B should be in KISS mode now"
> #
> modprobe mkiss
> # Use any 192.168.x.x
> /usr/sbin/kissattach /dev/ttyS1 Port1 192.168.0.10
> # That should get Linux on air.
>
> > Doug.
> >
> > 73,
> >
> > Doug.
>
> Simple instructions.
> Install Mandrake Linux 9.0. Choose everything. Takes about 1/2 an hour.
> Download the small packet packages off the internet.
> At a prompt type this -
> rpm -ivh *
> in the dir where the downloaded files are.
> Then edit /etc/ax25/axports like that above.
> Back at the prompt type these two lines-
> modprobe mkiss
> /usr/sbin/kissattach /dev/ttyS1 Port1 192.168.0.10
> And you'll have a more powerfull/flexable setup that the windows stuff =
I
> show on my website.

--=20
Linux: in a world without fences, who needs Gates?
--and what's more, it's immune to viruses.