[nos-bbs] PTYs and TTYs
Bob Tenty
bobtenty at gmail.com
Sun Mar 4 02:04:53 EST 2012
Yes, you have to that it in grub as follows:
Open the text file /etc/default/grub with an editor like nano and look
for GRUB_CMDLINE_LINUX_DEFAULT
Add pty.legacy_count=64 to the end of it as follows..
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pty.legacy_count=64"
Run 'update-grub'
Reboot and you will have your legacy devices.
73,
Bob VE3TOK
On 12-03-03 10:48 PM, Jose Ng Lee wrote:
> 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 <mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20120304/150a0687/attachment.html>
More information about the nos-bbs
mailing list