[nos-bbs] PTYs and TTYs

Bob Tenty bobtenty at gmail.com
Sun Mar 4 02:09:45 EST 2012


No need to to that anymore with the modern kernels.
See my message before this.

Bob VE3TOK


On 12-03-03 11:00 PM, Paul Delaney - K6HR wrote:
> 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
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs





More information about the nos-bbs mailing list