免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2161 | 回复: 2
打印 上一主题 下一主题

[OpenBSD] 为何修改/etc/ttys 的ttya(串口)的速率和 type 有问题?请大家帮忙 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-01-30 16:18 |只看该作者 |倒序浏览
#       $OpenBSD: ttys,v 1.7 2008/01/09 17:39:42 miod Exp $
#
# name  getty                           type    status          comments
#
console "/usr/libexec/getty std.38400"  sun     on  secure
# 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的部分内容

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

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

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

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

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

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


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



论坛徽章:
0
2 [报告]
发表于 2013-02-01 18:37 |只看该作者
参考
http://blog.chinaunix.net/uid-20438355-id-60875.html
我也没这样试过,一般是系统安装完毕,最后一步直接重定向到com口,不用x,所以拔掉显示器,哈哈

论坛徽章:
0
3 [报告]
发表于 2013-02-04 22:01 |只看该作者
谢谢支持!!!!!!!!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP