[nos-bbs] PTYs and TTYs

Jose Ng Lee hp2cwb at cwpanama.net
Sat Mar 3 22:48:03 EST 2012


Hi,

Before my old PC crashed, I save some config files to be able to restored in a new PC in case of problems.

In my old PC with Fedora distro of 10+ year setup I have on the following PTYs/TTYs devices to be able to communicate with one program to the other:

rc.ax25 file:

# Radio interfaces:
/usr/sbin/kissattach -m 512 /dev/ttyS0 ax0 44.163.22.3

#AX25 LINK TO KERNEL
/usr/sbin/net2kiss -i ax0 /dev/ptypa &
/usr/sbin/net2kiss -i ax0 /dev/ptypb &

# ONXNOS<->ONXLAN LINK
/usr/sbin/kissattach /dev/ptypf lan 44.163.22.3

# XNET<->ONXLAN LINK
/usr/sbin/kissattach /dev/ptyq0 lan2 44.163.22.3

and in autoexec.nos:

##############################################
# Comandos Attach para el uso de pseudo-ttys #
##############################################

#attach asy ttype - slip sl0 2048 1500 115200
#
# AX25 LINK TO KERNEL
attach asy ttypa - ax25 2m 1500 255 115200
#
# ONXNOS<->ONXLAN link
attach asy ttypf - ax25 lan 1500 1024 115200

Now, on Ubuntu 11.10 I couldn't find the PTYs/TTYs so I created with /sbin/MAKEDEV pty and /sbin/MAKEDEV tty. Then, When I try to access it said:

root at hp2at:/dev# net2kiss: cannot open "/dev/ptypa"

I searched the archives and found a message of Bob about creating in Grub loader the PTYs.

Maybe there is a new way to implement the PTYs/TTYs tunnel.

Does anyone have a new way to implement this?

Thanks,
Jose / HP2AT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20120303/fc739999/attachment.html>


More information about the nos-bbs mailing list