Sunday, October 14, 2007

Setting up ubuntu 7.10 Release Candidate

Setting up network. One annoyance with my computer setup is that it has a dual ports Gigabit Ethernet card instead of a Gigabit switch/router. It was cheaper solution to connect two computers however I'm paying for it every time I setup the computer.

Here are the steps to setup static IP address in Ubuntu

  1. Edit /etc/network/interfaces.
  2. Add the following lines
    auto eth0
    iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    gateway 192.168.1.1

    auto eth1
    iface eth1 inet static
    address 192.168.20.1
    netmask 255.255.255.0
    mtu 9600

    auto eth2
    iface eth2 inet static
    address 192.168.30.1
    netmask 255.255.255.0
    mtu 9600
  3. Restart network sudo /etc/init.d/networking restart

Setting up 5-buttons mouse.

  1. Backup /etc/X11/xorg.conf
  2. Change to
    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    # Option "Protocol" "ImPS/2"
    # Option "ZAxisMapping" "4 5"
    # Option "Emulate3Buttons" "true"

    Option "Protocol" "auto"
    Option "Buttons" "7"
    Option "ZAxisMapping" "4 5"
    Option "ButtonMapping" "1 2 3 6 7 4 5"

    EndSection

Setting up display. I have old IBM T545 LCD. The old version of Fedora (or was it RedHat) Linux actually asked for the floppy disk that came with the monitor to setup. Later version including Ubuntu actually correctly detect and setup without the floppy disk. But recent Linux distribution messing up the maximum resolution supported and refreshing rate.

Correct configuration for monitor section in /etc/X11/xorg.conf is

    Section "Monitor"
Identifier "IBM T545"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

No comments:

Post a Comment