Monday, March 16, 2009

Install Driver LAN ABIT I-G31 on Ubuntu 7.10

This is the Linux device driver released for RealTek 8111C ( ABIT I-G31 LAN Driver )
  1. Install g++
    ( g++_4%3a4.1.2-9ubuntu2_i386.deb,
    g++-4.1_4.1.2-16ubuntu2_i386.deb,
    libc6-dev_2.6.1-1ubuntu9_i386.deb,
    libstdc++6-4.1-dev_4.1.2-16ubuntu2_i386.deb,
    linux-libc-dev_2.6.22-14.46_i386.deb )
  2. Extract file r8168-8.005.00.tar.bz2
  3. Open Terminal & Enter to folder r8168-8.005.00
  4. Install driver, code :
    • sudo make
    • sudo mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko.old
    • sudo depmod -a
    • sudo mv /boot/initrd.img-`uname -r` /boot/initrd.img-`uname -r`.old
    • sudo mkinitramfs -o /boot/initrd.img-`uname -r`
  5. Restart Komputer or Network
    code : sudo /etc/init.d/networking restart

Monday, March 9, 2009

Keyboard Shortcuts for Bash

Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let's you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W Delete the word before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + T Swap the last two characters before the cursor
Esc + T Swap the last two words before the cursor
Alt + F Move cursor forward one word on the current line
Alt + B Move cursor backward one word on the current line
Tab Auto-complete files and folder names