[FADCA] Fwd: 6pack query
Chuck Hast
wchast at gmail.com
Tue Nov 1 18:45:16 EST 2005
Here is some good news for those of us who are using 6pack, one of
the positive points of 6pack was the ability to talk to multiple TNC's off
of a single serial port, until now we were told that the Linux version did
not yet have the ability to talk to more than one TNC/port, now we have
the fix, as soon as I can free up some time, I will get it tested, this will
allow locations that may be port challenged to have up to 4 tnc's/ port
which makes a laptop or some other one or two port device much more
attractive.
---------- Forwarded message ----------
From: iarenaza at escomposlinux.org <iarenaza at escomposlinux.org>
Date: Oct 31, 2005 11:10 AM
Subject: Re: 6pack query
To: linux-hams at vger.kernel.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Chuck" == Chuck Hast <wchast at gmail.com> writes:
Chuck> I would assume that is the token ring type of operation
Chuck> with multiple TNC's on a single port, which is not
Chuck> implemented. (I wish it was as it sure would make life
Chuck> easier for some of our sites)
In fact, I implemented it years ago in userspace. I don't know why,
but the ax25-utils maintainers never put it on the stock version (even
though I sent them the patch).
Get a copy of ax25-tools-0.0.8 from ax25.sourceforge.net, and save it
somewhere (say /home/myuser/ax25-tools/). Get a copy of my patch from:
http://www.escomposlinux.org/iarenaza/hamradio/m6pack/files/ax25-tools-0.0.8-m6pack.diff.bz2
and save it in the same directory. Now untar the tools and patch them:
cd /home/myuser/ax25-tools
tar xzf ax25-tools-0.0.8.tar.gz
bzip2 -dc ax25-tools-0.0.8-m6pack.diff.bz2 | patch -p0
and build the m6pack binaries (you have to build libax25 previously,
or have it installed somewhere in your system --maybe it's the package
called libax25-dev--):
cd ax25-tools-0.0.8
./configure
cd kiss
make m6pack
now you've got a new executable, called m6pack (and it's associated
manual page).
Now, let's suppose you've got your 6pack TNC ring attached to
/dev/ttyS0 and your TNCs are configured for 19200 bps on the serial
port. You've got 4 TNCs on your ring, so you execute:
m6pack -s 19200 /dev/ttyS0 /dev/ptyq0 /dev/ptyq1 /dev/ptyq2 /dev/ptyq3
This "splits" your 4 TNC ring into 4 separate "pseudo-ports", each one
talking to a different TNC on your ring.
Now you use spattach to attach each one of them. Let's supppose your
radio ports (as configured in axports file) are called 6pack0, 6pack1,
etc:
spattach /dev/ttyq0 6pack0
spattach /dev/ttyq1 6pack1
spattach /dev/ttyq1 6pack2
spattach /dev/ttyq1 6pack3
- From here on, everything works the same as usual.
73's de EB2EBU.
- --
Get PGP/GPG Keys at http://www.escomposlinux.org/iarenaza/pgpkey.php
I use free software / Yo uso software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFDZjO3ZXLnGT1HLgcRAizUAKCP2of5dntxMvQPpNzyMlgK0/iqdwCfZBma
2VCXW39O4VhBeotDqfYS6pk=
=xnN3
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Chuck Hast
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
More information about the FADCA
mailing list