| Home | | |


Thursday, August 10, 2006

Install dan upgrade kernel 2.4.xx to 2.6.17.1

Untuk menginstal tool yang diperlukan dalam melakukan compilasi,
sebelumnya edit sumber dari miror lokal(Indonesia);
# vi /etc/apt/sources.list
deb ftp://kambing.vlsm.org/debian/ stable main contrib non-frees
deb ftp://kambing.vlsm.org/debian/ testing main contrib non-free
deb ftp://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb ftp://kambing.vlsm.org/debian-security/ stable/updates non-free
deb-src ftp://kambing.vlsm.org/debian/ stable main contrib non-free
deb-src ftp://kambing.vlsm.org/debian/ testing main contrib non-free
deb-src ftp://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb-src ftp://kambing.vlsm.org/debian-security/ stable/updates non-free

Simpan dan update source list kemudian upgrade bila diperlukan;
# apt-get update
# apt-get upgrade

Instal paket-paket berikut untuk kebutuhan compilasi;
# apt-get install kernel-package
# apt-get install initrd-tools
# apt-get install libncurses5-dev

Download file kernel source-nya;
/usr/src# wget -c ftp://kambing.vlsm.org/kernel-linux/v2.6/linux-2.6.17.1.tar.bz2

/usr/src# tar -xvzf linux-2.6.17.1.tar.bz2

# cd /usr/src/linux-2.6.17.1

Copy file kernel sebelumnya (config-2.4.25-1-386), kemudian rename menjadi .config
# cp /boot/config-2.4.25-1-386 .
# mv config-2.4.25-1-386 .config

Edit file Config bisa dilakukan secara manual dengan memilih module-module yang
dibutuhkan, atau memakai konfigurasi kernel sebelumnya (.config)
Edit file Config bisa dilakukan secara manual dengan memilih module-module yang
dibutuhkan, atau memakai konfigurasi kernel sebelumnya (.config)
# make menuconfig
----
Load an Alternate Configuration File >> .config >> Ok
Save Configuration to an Alternate File >> .config >> Ok
++++
ENABLE (Y):
I.Device Drivers ->
Plug and Play support --->
[*]Plug and Play support
[*]ISA Plug and Play support
Network device support --->
[*]Network device support
Wireless LAN (non-hamradio) --->
[*]Wireless LAN drivers (non-hamradio) & Wireless Extensions
USB support --->
<*> Support for Host-side USB
<*> USB Human Interface Device (full HID) support
<*> EHCI HCD (USB 2.0) support
Graphics support --->
<*> Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)

II.Cryptographic options ->
<*> Michael MIC keyed digest algorithm
<*> AES cipher algorithms (i586)

DISABLED/NOT ENABLE (N):
I.Device Drivers ->
Wireless LAN (non-hamradio) ->
<> Intel PRO/Wireless 2200BG and 2915ABG Network Connection

II.Networking ->
<> Generic IEEE 802.11 Networking Stack
++++
Exit
Do you wish to save your new kernel configuration? Yes
----
;Karena sebelumnya menggunakan kernel 2.4.xx sehingga perlu penambahan include driver dan
;modul-modul yang dibutuhkan sesuai dengan specs komputer kita.
;List diatas merupakan sebagian konfigurasi yang saya butuhkan. Saya menggunakan Laptop
;Axioo A-100 series, yang dilengkapi wi-fi internal dan saya mencoba melakukan installasi
;driver wi-fi manual dan terpisah.

Membangun paket Kernel Debian dari source kernel linux,Anda bisa menunggu
dengan sarapan pagi sambil minum kopi;
# cd /usr/src/linux-2.6.17.1
# make-kpkg kernel-image
# cd ..

Instal paket file;
# dpkg -i kernel-image-2.6.17.1_10.00.Custom_i386.deb

Membuat initrd menjadi file keluaran berupa image;
# cd /boot
# mkinitrd -o initrd.img-2.6.17.1 2.6.17.1

Update Grub, akan otomatis mengkonfigurasi pada /boot/grub/menu.lst
# update-grub

Pastikan grub sudah siap di booting;
# vi /boot/grub/menu.lst
----
title Debian GNU/Linux, kernel 2.6.17.1
root (hd0,7)
kernel /boot/vmlinuz-2.6.17.1 root=/dev/hda8 ro
initrd /boot/initrd.img-2.6.17.1
savedefault
boot

title Debian GNU/Linux, kernel 2.6.17.1 (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.17.1 root=/dev/hda8 ro single
initrd /boot/initrd.img-2.6.17.1
savedefault
boot
----

Restart Linux dan masuk kedalam kernel baru;
# shutdown -r now

Selamat Anda telah berhasil melakukan Upgrade kernel!

--------------------------------------------------------------------
Install "Network controller: Intel Corporation PRO/Wireless 2200BG"
di kernel 2.6.17.1 Laptop : Axioo A-100 series.
--------------------------------------------------------------------
I. Download ipw2200-1.1.2.tgz
:/usr/src$ wget -c [url file ipw2200-1.1.2.tgz]

II. Ekstrak
:/usr/src# tar -xvvzf ipw2200-1.1.2.tgz

III. Download ieee80211-1.1.14.tgz
:/usr/src$ wget -c [url file ieee80211-1.1.14.tgz]

IV. Ekstrak
:/usr/src# tar -xvvzf ieee80211-1.1.14.tgz

V. :/usr/src/ieee80211-1.1.14# make

VI. :/usr/src/ieee80211-1.1.14# make install

VII. :/usr/src/ieee80211-1.1.14# make IEEE80211_INC=/lib/modules/`uname -r`/build/include install

VIII. :/usr/lib/hotplug/firmware#tar -xvvzf ipw2200-fw-3.0.tgz #/usr/lib/hotplug/firmware#mv ipw2200-fw-3.0/*.* .

IX. :/usr/src/ipw2200-1.1.2# make

X. :/usr/src/ipw2200-1.1.2# make install

XI. Tambahkan module ipw2200 ke kernel
:/usr/src/ipw2200-1.1.2# modprobe ipw2200

XII. :/usr/src/ipw2200-1.1.2# ./load

XIII. Wi-fi dikenali kembali
:~# iwconfig

XIV. Edit file interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

wireless-essid diisi essid hot spot atau acces point
wireless-key s:diisi essid key nya

XV. Restart networking
:~# /etc/init.d/networking stop
:~# /etc/init.d/networking start

XVI. Terhubung ke Internet

@};--Denny Triandini--;{@

Read More......
 

Home | Blogging Tips | Blogspot HTML | Make Money | Payment | PTC Review

Denoxcyber © Template Design by Herro | Publisher : Templatemu