2005/06/17()

Dell Inspiron 700m に debian をいれる。
シーイングモニタのDAQ用パソコンで新しく700mを買ったので、それにdebianをいれる。

●まずはdebianをいれる。フロッピーで起動して、ネットワークインストールをする。

  • debian-31r0a-i386-netinst.isoをダウンロードして、CD-Rに焼く
  • CD起動して、
    boot: linux26
    としてカーネル2.6でインストールする。
●追加のパッケージ
apt-get install freewnn-jserver
apt-get install fvwm
apt-get install xloadimage
apt-get install netselect
apt-get install xine-ui
apt-get install unzip zip

●その後の設定
Dell 700m with Debian Sargeというのがちょうどあったので、これを参考に。

●ワイヤレスの設定
ファームウェアドライバをいれる。
  • カーネルのソースが必要のようなので、
    cd /usr/src
    apt-get install kernel-headers-2.6.8-11
    ln -s kernel-headers-2.6.8-2 linux
    

  • Debian Source Package
    cd /usr/src
    wget http://ftp.jp.debian.org/debian/pool/contrib/i/ipw2200/ipw2200-source_1.0.4-1_all.deb
    
  • ほかにも必要なパッケージをいれる。
    apt-get install module-assistant debhelper html2text debconf-utils po-debconf intltool-debian
    
  • dpkg -i ipw2200-source_1.0.4-1_all.deb
  • module-assistantを実行して、ipw2200をいれる。
  • ちなみに、参考にしたページは
    Y2とか。
  • 再起動して
    modprobe ipw2200
    とすると認識した。
  • dmesgの出力は
    ieee80211_crypt: registered algorithm 'NULL'
    ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.4
    ipw2200: Copyright(c) 2003-2004 Intel Corporation
    
●画面の解像度を1280x800になるように設定。
  • ここからパッチをとってくる。
  • cd /usr/src
    wget http://perso.wanadoo.fr/apoirier/855resolution-0.4.tgz
    tar zxvpf 855resolution-0.4.tgz
    cd 855resolution
    make
    make install
    

    "855resolution -l" を実行すると以下のような出力が。
    Mode 30 : 640x480, 8 bits/pixel
    Mode 32 : 800x600, 8 bits/pixel
    Mode 34 : 1024x768, 8 bits/pixel
    Mode 38 : 1280x1024, 8 bits/pixel
    Mode 3a : 1600x1200, 8 bits/pixel
    Mode 3c : 1920x1440, 8 bits/pixel
    Mode 41 : 640x480, 16 bits/pixel
    Mode 43 : 800x600, 16 bits/pixel
    Mode 45 : 1024x768, 16 bits/pixel
    Mode 49 : 1280x1024, 16 bits/pixel
    Mode 4b : 1600x1200, 16 bits/pixel
    Mode 4d : 1920x1440, 16 bits/pixel
    Mode 50 : 640x480, 32 bits/pixel
    Mode 52 : 800x600, 32 bits/pixel
    Mode 54 : 1024x768, 32 bits/pixel
    Mode 58 : 1280x1024, 32 bits/pixel
    Mode 5a : 1600x1200, 32 bits/pixel
    Mode 5c : 1920x1440, 32 bits/pixel
    Mode 7c : 1280x801, 8 bits/pixel
    Mode 7d : 1280x801, 16 bits/pixel
    Mode 7e : 1280x801, 32 bits/pixel
    

  • "855resolution 5c 1280 800"
    を実行
  • これをinit scriptにいれる。
    echo "#! /bin/sh" > /etc/init.d/lcdresolution
    echo "/usr/sbin/855resolution 5c 1280 800" >> /etc/init.d/lcdresolution
    chmod 755 /etc/init.d/lcdresolution
    update-rc.d lcdresolution defaults 22
    
  • /etc/X11/XF86Config-4 編集
    cp /etc/X11/XF86Config-4~ /etc/X11/XF86Config-4.050617
    
    MonitorとScreenのsectionを以下のようにした。
    Section "Monitor"
            Identifier      "Generic Monitor"
            HorizSync       30-68
            VertRefresh     50-85
            Option          "DPMS"
            Modeline "1280x800_60.00"  83.46  1280 1344 1480 1680  800 801 804 828
            -HSync +Vsync
    EndSection
    
    Section "Screen"
            Identifier      "Default Screen"
            Device          "Generic Video Card"
            Monitor         "Generic Monitor"
            DefaultDepth    24
            SubSection "Display"
                    Depth           24
                    Modes           "1280x800"
            EndSubSection
    EndSection
    
●Acroread
apt-get install acroread
apt-get install mozilla-acroread   acroread-plugins
これだけだと日本語表示ができないので、ここを参考にして
http://debian.fam.cx/index.php?uploaderから acroread-japanesefont_7.0.0-0_i386.deb をダウンロードして
dpkg -i acroread-japanesefont_7.0.0-0_i386.deb
を実行。