yjl 发表于 2013-01-30 16:18

为何修改/etc/ttys 的ttya(串口)的速率和 type 有问题?请大家帮忙

#       $OpenBSD: ttys,v 1.7 2008/01/09 17:39:42 miod Exp $
#
# namegetty                           type    status          comments
#
console "/usr/libexec/getty std.38400"sun   onsecure
# graphics console
ttyC0   "/usr/libexec/getty std.9600"   sun   off secure
# zs(4)-based
ttya    "/usr/libexec/getty std.9600"   unknown off secure
ttyb    "/usr/libexec/getty std.9600"   unknown off secure


这是我SUN机子的OpenBSD系统/etc/ttys的部分内容

最近机子的显卡坏了,现在只能用“串口”登录管理了。

想把串口的速率调高点,就尝试做下修改就把:

# namegetty                                          type   status          comments
    ttya    "/usr/libexec/getty std.9600"    unknownoff               secure            尝试几次修改,如下:

1,修改速率为std.38400 ,登录没有反应或是乱码
# namegetty                                          type   status          comments
    ttya    "/usr/libexec/getty std.38400"    unknownoff               secure

2,修改了 type的unknown 为 VT220 或是VT100 ,也不可以登录
# namegetty                                          type   status          comments
    ttya    "/usr/libexec/getty std.38400"    VT100    off               secure

3,修改了 status的off为on ,也不可以登录
# namegetty                                          type   status          comments
    ttya    "/usr/libexec/getty std.9600"    unknown    on               secure


请问下大家,这是什么回事呢? 谢谢



xiaoshi20cn 发表于 2013-02-01 18:37

:D)参考
http://blog.chinaunix.net/uid-20438355-id-60875.html
我也没这样试过,一般是系统安装完毕,最后一步直接重定向到com口,不用x,所以拔掉显示器,哈哈

yjl 发表于 2013-02-04 22:01

谢谢支持!!!!!!!!!!!
页: [1]
查看完整版本: 为何修改/etc/ttys 的ttya(串口)的速率和 type 有问题?请大家帮忙