From: iarenaza@escomposlinux.org (Iñaki Arenaza)
To: linux-hams@vger.kernel.org
Subject: Re: 6pack query
Date: Mon, 31 Oct 2005 16:10:04 +0100 [thread overview]
Message-ID: <87k6ft3epf.fsf@barad-dur.escomposlinux.org> (raw)
In-Reply-To: <620c90570510301334y5360370bha52b44181717be02@mail.gmail.com> (Chuck Hast's message of "Sun, 30 Oct 2005 17:35:00 -0400")
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Chuck" == Chuck Hast <wchast@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-----
next prev parent reply other threads:[~2005-10-31 15:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-30 2:52 6pack query Ray Wells
2005-10-30 12:37 ` Chuck Hast
2005-10-30 19:54 ` Ray Wells
2005-10-30 21:35 ` Chuck Hast
2005-10-31 15:10 ` Iñaki Arenaza [this message]
2005-10-31 15:56 ` Ralf Baechle
2005-10-31 19:29 ` Iñaki Arenaza
2005-11-01 13:40 ` Ralf Baechle DL5RB
2005-11-01 14:20 ` Chuck Hast
2005-11-01 14:31 ` Ralf Baechle DL5RB
2005-11-01 17:11 ` Chuck Hast
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k6ft3epf.fsf@barad-dur.escomposlinux.org \
--to=iarenaza@escomposlinux.org \
--cc=linux-hams@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.