Linux-Hams archive - September 1997: kissattach: TIOCSETD problem: a suggestion

kissattach: TIOCSETD problem: a suggestion

John P. Beale (vhd@remarkablehosting.net)
Mon, 1 Sep 1997 23:07:38 -0700 (PDT)


Hello folks:

I just upgraded my Linux packet station and encountered the
kissattach: TIOCSETD problem as described below. Fortunately I
found this discussed on the archives of this list and discovered my
problem (mkiss module not loaded). For some reason I thought that
kerneld automagically loaded modules as needed, but oh well.

SUGGESTION: can some comment about this error be added to AX25-HOWTO ?
That would have helped me greatly. Anyway, thanks to all the helpful people
on the list, HOWTO maintainers, and coders! I still managed to go from
blank hard disk to working AX.25 packet station in less than a day, and to
my mind, that ain't bad.

-john n8juf
sxb.apfidv@mail.dy.fi

----------------------------------------------------
I started with a basic RedHat 4.2 system with kernel 2.0.30.

I patched it with the diff from ax25-module-14c.tar.gz and recompiled and
installed the kernel and modules, as per the AX24-HOWTO instructions. I
then compiled and installed the tools and utils
ax25-utils-2.1.42a, net-tools-1.32-alpha

Now, attempting to set up my system to use a TNC, I try

/usr/sbin/kissattach /dev/ttyS1 radio

and I get kissattach: TIOCSETD: Invalid argument.

This seems like a pretty obscure error message. What does the TIOCSETD
operation do, and what argument is invalid? I wasn't very enlightened by
reading the tty_io.c source from the kernel.

-----------------------

My problem: "mkiss" module not loaded.
My Fix: insmod mkiss

Now everything works :-)