Hi Tom

Thanks for the quick answer

2007/11/17, Thomas Sailer <[EMAIL PROTECTED]>:
>
> In C you can use openpty
>
I did not express myself clearly enough in my first post. I have this
problem in connection with the use of mkiss and kissattach. With mkiss
I create one (or more) pseudo ttys:

/usr/local/sbin/mkiss -l -s 115200 /dev/usb/ttyUSB0 /dev/ptmx

This creates a master/slave pair which I want to connect to with kissattach:

/usr/sbin/kissattach $device??? asy 44.145.40.3

The question is "which device?" I have previously found it with:

device=`tail -n 5 /var/log/messages | grep slave | gawk -F\  '{print $10}'`

but apparently mkiss doesn't put the ID of the slave into the system
log any more.

I'm aware of it being possible in C, but I want to do it from the
command line. AT least I prefer that as my first resort. But perhaps I
should write that C program :-)

Best 73 de Bent/OZ6BL
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to