[nos-bbs] PTYs and TTYs
Paul Delaney - K6HR
paul.hamradio at verizon.net
Sat Mar 3 23:00:05 EST 2012
You need to compile a custom kernel and INCLUDE "Legacy pty support"
Paul Delaney - K6HR
paul.hamradio at verizon.net
http://k6hr.dyndns.org:8080
> -----Original Message-----
> From: nos-bbs-bounces at tapr.org [mailto:nos-bbs-bounces at tapr.org] On Behalf
> Of Jose Ng Lee
> Sent: Saturday, March 03, 2012 19:48
> To: TAPR xNOS Mailing List
> Subject: [nos-bbs] PTYs and TTYs
>
> 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
More information about the nos-bbs
mailing list