On Fri, 19 Feb 1999, Jose Angel Amador Fundora wrote:

> On 19 Feb 99 at 11:36, Heikki Hannikainen wrote:
> 
> > On Thu, 18 Feb 1999, Ronnie Hale wrote:
> > 
> > > I agree with Jose.  This is a "gotcha" for most every newcomer to linux
> > > ax25, and totally unnecessary.  Someone dropped the ball here, and it's time
> > > to fix it.  If ax25 doesn't work without MKISS, why is MKISS an option?
> > 
> >   For the very same reason we have all drivers as options. ax25 works just
> > fine without mkiss, if you happen to run it over, say, the 6pack or BPQ
> > ethernet drivers. Some people might not need KISS and it would be foolish
> > to force them load it in their valuable RAM. It's a hardware driver, just
> > like the hundreds of ethernet, SCSI, mouse drivers.

Just to second Hessu here, what Ronnie suggested above would be just as
foolish as to say "since TCP/IP obviously depends on ethernet, the 3c501
driver should always be included". And everyone should be able to see why
_that_ is foolish...

> Agreed !. I realized that AFTER I wrote the above. But MANY seem to 
> be using KISS and this has kept on happening.

Though I believe it _IS_ explained clearly enough in the HOWTO, it might
not be a bad idea to add some explanations in the ax25-utils code. This
particular problem would be easy to make real clear to everyone:

--- kissattach.c.old    Fri Feb 19 20:48:03 1999
+++ kissattach.c        Fri Feb 19 20:50:31 1999
@@ -237,7 +237,9 @@
                return 1;

        if (ioctl(fd, TIOCSETD, &disc) == -1) {
-               perror("kissattach: TIOCSETD");
+               perror("kissattach: Error setting line discipline: TIOCSETD");
+               fprintf(stderr, "Are you sure you have enabled MKISS support in the 
+kernel\n");
+               fprintf(stderr, "or that the module is loaded?\n");
                return 1;
        }

-- 
--... Tomi Manninen / [EMAIL PROTECTED] / OH2BNS @ OH2RBI.FIN.EU ...--

Reply via email to