免费注册 查看新帖 |

Chinaunix

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

每次关闭控制台,sun 880就到了ok状态 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-18 09:13 |只看该作者 |倒序浏览
sun blade 150控制台用串口连接到sun 880服务器上,过去关闭控制台没有什么问题,现在若要关闭控制台,服务起也跟着到了ok状态了,这是什么原因呢?

论坛徽章:
0
2 [报告]
发表于 2009-09-18 09:21 |只看该作者
grep ^[^#$] /etc/default/kbd

结果贴出来

论坛徽章:
0
3 [报告]
发表于 2009-09-18 09:25 |只看该作者
vi  /etc/default/kbd

把串口那个给注释掉。

然后kbd -i

论坛徽章:
0
4 [报告]
发表于 2009-09-18 09:37 |只看该作者
/etc/default/kbd
#
# kbd default settings processed via kbd(1).
#
# KEYBOARD_ABORT affects the default behavior of the keyboard abort
# sequence, see kbd(1) for details.  The default value is "enable". The
# optional values are "disable" or "alternate". Any other value is ignored.
# If you choose "alternate" it will affect the serial console drivers  ONLY.
# The keyboard BREAK (sequence and plug/unplug) won't be affected by this.
# If "alternate" is in effect any protocol (PPP, SLIP... etc) should not be
# run over the serial console port.
#
# KEYCLICK affects the default keyclick behavior. Possible values are
# 'on' and 'off'.  Any other value is ignored. The default behavior is
# to leave the current keyclick setting unchanged.
#
# Uncomment the following line to disable keyboard or serial device
# abort sequences:
#KEYBOARD_ABORT=disable

# Uncomment the following line to enable a non-BREAK alternate
# serial input device abort sequence:
#KEYBOARD_ABORT=alternate

# Uncomment the following line to change the keyclick behavior:
#KEYCLICK=off

论坛徽章:
0
5 [报告]
发表于 2009-09-18 09:39 |只看该作者
留名

论坛徽章:
0
6 [报告]
发表于 2009-09-18 10:12 |只看该作者

回复 #4 hechen 的帖子

/etc/default/kbd
#
# kbd default settings processed via kbd(1).
#
# KEYBOARD_ABORT affects the default behavior of the keyboard abort
# sequence, see kbd(1) for details.  The default value is "enable". The
# optional values are "disable" or "alternate". Any other value is ignored.
# If you choose "alternate" it will affect the serial console drivers  ONLY.
# The keyboard BREAK (sequence and plug/unplug) won't be affected by this.
# If "alternate" is in effect any protocol (PPP, SLIP... etc) should not be
# run over the serial console port.
#
# KEYCLICK affects the default keyclick behavior. Possible values are
# 'on' and 'off'.  Any other value is ignored. The default behavior is
# to leave the current keyclick setting unchanged.
#
# Uncomment the following line to disable keyboard or serial device
# abort sequences:
KEYBOARD_ABORT=disable

# Uncomment the following line to enable a non-BREAK alternate
# serial input device abort sequence:
KEYBOARD_ABORT=alternate

# Uncomment the following line to change the keyclick behavior:
#KEYCLICK=off




改成上面这个样子,然后kbd -i

论坛徽章:
0
7 [报告]
发表于 2009-09-18 14:40 |只看该作者
路过 顶一下

论坛徽章:
0
8 [报告]
发表于 2009-09-18 22:10 |只看该作者
把钥匙打到安全模式
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP