Linux-Hams archive - September 1999: Re: ax25ipd errors out

Re: ax25ipd errors out

Peter Grace (qsnliljv@rele.tunk.net)
Fri, 03 Sep 1999 10:25:55 -0400


Tomi and Bob-
Thanks for your help with this.
I have ax25ipd running now.

I have sym links setup as:
lrwxrwxrwx 1 root root 10 Sep 3 08:24 axip ->
/dev/ttyS0
lrwxrwxrwx 1 root root 10 Sep 3 08:24 axipd ->
/dev/ptyp0

with the following in rc.local

/usr/sbin/kissattach -i 44.56.20.25 -m 512 /dev/axip radio

and

in ax25ipd.conf

device /dev/axipd

Thank you both!
73,
Peter Grace KB1CVH ytojhx.wcnluvisyp@varanger-kraft.no (inet) terhi.victor@logonet.com
(packet)

Tomi Manninen OH2BNS wrote:
>
> On Thu, 2 Sep 1999, Peter Grace wrote:
>
> > device /dev/ttyS0 (error was 'fetching tty device parameters: Invalid
> > argument')
>
> Don't know whats wrong here. Oh, except in the script below you have
> already used ttyS0 for kissattach. You can't of course have two processes
> use the same serial port at once.
>
> > device /dev/ttyp0 (I/o error)
> > and also /dev/ttyq0 (i/o error)
>
> These are both slave ends of a pty/tty pair. I guess you don't have
> anything in the master end (I don't see anything in the script below).
> That would cause exactly the error message you get.
>
> In case you didn't know the pty/tty pair (or pipe) has two ends that are
> not quite equal. The pty one (eg. /dev/ptyp0) is the master and it needs
> to always be opened first. Also if the process that opened the master end
> dies or otherwise closes the master end, the slave end will instantly get
> an I/O error.
>
> So what you seem to miss is a kissattach process opening and doing the
> kiss stuff at the master end. After that you can start ax25ipd.
>
.. stuff deleted.