取消
顯示結果 
搜尋替代 
您的意思是: 

如何讓console opa0:可以自動reply/enable

如何讓console opa0:可以自動reply/enable

每次我重新開機都要去console做reply/enable的動作

這樣我的serial console才能show 出訊息

有其他方法嗎?
1 回覆

如何讓console opa0:可以自動reply/enable

(Extracted from SYS$MANAGER:SYLOGICALS.COM )



$! For all systems except workstations in a OpenVMS Cluster:

$!

$! OPA0: is enabled for all classes.

$! The log file SYS$MANAGER:OPERATOR.LOG is opened for all classes.

$!

$! For workstations in a OpenVMS Cluster:

$!

$! OPA0: is not enabled.

$! No log file is opened.

$! OPA0: will be also be SET TERMINAL/PERMANENT/NOBROADCAST



在 SYS$MANAGER:SYLOGICALS.COM 中加入下兩行, 便可於開機時 enable OPA0 為 Console,



$ define/sys OPC$LOGFILE_ENABLE TRUE



$ define/sys OPC$OPA0_ENABLE TRUE





另外, 若 Alpha-Workstation 的 Console mode 為 graphics Console 時, X-windows startup 亦會將 OPA0 broadcasts disabled.



您可修改 SYS$MANAGER:DECW$PRIVATE_APPS_SETUP.COM (create it from SYS$MANAGER:DECW$PRIVATE_APPS_SETUP.TEMPLATE if it does not exist)



加入以下 global symbol definition:



$ DECW$CONSOLE_SELECTION == "ENABLE"



然後重起 X-Windows,



$ @SYS$MANAGER:DECW$STARTUP RESTART



除了 "ENABLE", 您亦可將 DECW$CONSOLE_ SELECTION 設為 "WINDOW", 則 X-Windows startup 時會開啟 Console Messages 視窗

(similar to xconsole).