Google
  Web www.spinics.net

Re: mkiss in ubuntu kernels?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, Sep 11, 2009 at 01:10:01AM -0400, Collin Hockey wrote:
> Hi Curt,
> 
> Yes, I did go through that tutorial. It got me going to the point
> where I am now :)
> 
> I think I understand how mkiss works, but my problem is with the newer
> linux kernel pseudo tty setup. Mkiss doesn't report which slave tty it
> has connected each port to because it was designed at a time when
> there were a bunch of matched pairs (ptm0 and pts0 for instance, m
> being for master and s being for slave), whereas now, a program opens
> the single master pseudo tty and it gets a new slave tty from the OS.
> I'm trying to find a reliable way to figure out which tty mkiss has
> connected each port to.
> 
> Perhaps I'm barking completely up the wrong tree, but that's my
> understanding of it anyway.
> 
> Thanks a lot for your answers, they're definitely helping me get
> closer to a solution.

You are not at wrong tree, that program is from era before present
pseudo-tty system, when the stupid way it does things did work.

mkiss users are very rare indeed...


I have rewritten mkiss a bit to use modern pty:s, and it is in this
package:

  http://ham.zmailer.org/oh2mqk/libax25/ax25-tools-0.0.9-3.tar.gz

but to use it, you will need also my  libax25  from same directory.
After you take it into use, the information on HOWTO is plain wrong.
See  "man mkiss".   The mkiss will also need associated kissattach.

I did also rework the  kissattach   so that you do not need to set
IP address on AX.25 interface.

My libax25 changes have made it to  cvs@xxxxxxxxxxxxxxxxxx:/home/ax25-cvs
but tools changes are still in the pipeline..  Apparently I have to push
at them again.

> Collin Hockey

   73 de Matti, OH2MQK


> On Thu, Sep 10, 2009 at 11:51 PM, Curt, WE7U <archer@xxxxxxxxxx> wrote:
> > On Thu, 10 Sep 2009, Collin Hockey wrote:
> >
> >> I was looking at the information in the mkiss man page
> >> (http://linux.die.net/man/8/mkiss), it seems to claim to be the one
> >> attached to the physical serial port, routing KISS frames through two
> >> or more pseudo ttys whose slave ends are attached with kissattach to
> >> separate ax.25 network interfaces.
> >
> > Did you look up the Linux AX.25 HOWTO document?  That may give you
> > additional practical info for setting up MKISS.
> >
> > --
> > Curt, WE7U.                         <http://www.eskimo.com/~archer>
> >   APRS:  Where it's at!                    <http://www.xastir.org>
> >  Lotto:  A tax on people who are bad at math. - unknown
> > Windows:  Microsoft's tax on computer illiterates. - WE7U.
> > The world DOES revolve around me:  I picked the coordinate system!"
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Site Home]     [Linux Newbie]     [Kernel Newbies]     [Memory]     [Git]     [Security]     [Netfilter]     [Linux Admin]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [ARM Linux Kernel]     [Linux Networking]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]


Add to Google Powered by Linux