WWW を検索 NOGNOG.COM を検索

WWW.NOGNOG.COM

Last modified: Sat, 29 Dec 2007 15:23:20 +0900
Home   うにっくすさんの覚え書き   プリングルズ   MIDI   ユーザー車検   「小沢昭一の小沢昭一的こころ」のススメ   Blog  

FreeBSD - シリアル制御設定

  • はじめに

    • モニター&キーボードレスといった、主にサーバ用途で使う為のシリアル制御設定について解説します。

  • コンフィグレーション

      % su
      # vi /etc/ttys

        --- /usr/src/etc/etc.i386/ttys  Sat Nov 15 16:55:37 2003
        +++ /etc/ttys   Sat Nov 29 23:53:41 2003
        @@ -30,19 +30,19 @@
         # when going to single-user mode.
         console        none                            unknown off secure
         #
        -ttyv0  "/usr/libexec/getty Pc"         cons25  on  secure
        +ttyv0  "/usr/libexec/getty Pc"         cons25  off secure
         # Virtual terminals
        -ttyv1  "/usr/libexec/getty Pc"         cons25  on  secure
        -ttyv2  "/usr/libexec/getty Pc"         cons25  on  secure
        -ttyv3  "/usr/libexec/getty Pc"         cons25  on  secure
        -ttyv4  "/usr/libexec/getty Pc"         cons25  on  secure
        -ttyv5  "/usr/libexec/getty Pc"         cons25  on  secure
        -ttyv6  "/usr/libexec/getty Pc"         cons25  on  secure
        -ttyv7  "/usr/libexec/getty Pc"         cons25  on  secure
        -ttyv8  "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
        +ttyv1  "/usr/libexec/getty Pc"         cons25  off secure
        +ttyv2  "/usr/libexec/getty Pc"         cons25  off secure
        +ttyv3  "/usr/libexec/getty Pc"         cons25  off secure
        +ttyv4  "/usr/libexec/getty Pc"         cons25  off secure
        +ttyv5  "/usr/libexec/getty Pc"         cons25  off secure
        +ttyv6  "/usr/libexec/getty Pc"         cons25  off secure
        +ttyv7  "/usr/libexec/getty Pc"         cons25  off secure
        +ttyv8  "/usr/X11R6/bin/xdm -nodaemon"  gnome-session   off secure
         # Serial terminals
         # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
        -ttyd0  "/usr/libexec/getty std.9600"   dialup  off secure
        +ttyd0  "/usr/libexec/getty std.9600"   dialup  on  secure
         ttyd1  "/usr/libexec/getty std.9600"   dialup  off secure
         ttyd2  "/usr/libexec/getty std.9600"   dialup  off secure
         ttyd3  "/usr/libexec/getty std.9600"   dialup  off secure
        			
      # echo -P > /boot.config

  • 再起動

      # init 6

    以降から、起動時にキーボードが刺さっていなければシリアル出力になります。

うにっくすさんの覚え書きについて

Home >> うにっくすさんの覚え書き >> FreeBSD - シリアル制御設定