Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Thursday, February 17, 2011

update backtrack 4 kernel R1 to R2




root@bt:~# apt-get update
root@bt:~# apt-get dist-upgrade

image install

root@bt:~# apt-get install linux-image-2.6.35.8

later if there is a prompt appears stop the new kernel installation, select NO.
root@bt:~# apt-get install linux-source
root@bt:~# cd /usr/src/

ekstract file linux-source-2.6.35.8.tar.bz2

root@bt:/usr/src# tar jxpf linux-source-2.6.35.8.tar.bz2
root@bt:/usr/src# rm linux
root@bt:/usr/src# ln -s linux-source-2.6.35.8 linux
root@bt:/usr/src# cd linux

root@bt:/usr/src/linux# cp /boot/config-2.6.35.8 .config

root@bt:/usr/src/linux# make scripts && make prepare
root@bt:/usr/src/linux# ln -s /usr/src/linux /lib/modules/2.6.35.8/build
root@bt:/usr/src/linux# reboot

root@bt:~ fix-splash

Tuesday, January 11, 2011

backtrack

This is my first linux,,,and I choose backtrack 3 final release, I think to use dual OS,,I need sometimes to insert my backtrack to the hard drive,, and when I got it, I have another problem… where is my wifi,, my wifi didn’t detect on backtrack 3. My Wifi is Rtl8187b and the backtrack use 2.6.21.5. In that kernel Rtl 8187b wasn’t include, so I upgrade my kernel to be 2.6.28
Follow this step to upgrade your kernel
1. download kernel from ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2
2. tar xvf linux-2.6.28.tar.bz2 -C /usr/src/
3. cd /usr/src/linux-2.6.28
4. make menuconfig———–after you done, it will show configuration and you must choose your wifi,don’t forget to include file system
5. make && make modules-install
6. cp -v arch/i386/bzImage /boot/linux-2.6.28
7. cp -v System.map /boot/System.map-2.6.28
after that dont forget to apdate your lilo or grub
and type “lilo”
last “reboot”
good luck friend

My Friends