Extract and customize the kernel
1. Log in as root, extract the kernel sources:
tar jxf linux-.tar.bz2 -C /usr/src
2. Customize the kernel with make menuconfig, make xconfig, etc… Create two copies of the .config file and save them in /usr/src/linux<version>-:
.config: this copy has to provide the configuration for the single processor kernel
.config_smp: this copy has to provide the configuration the dual processor (SMP) kernel
3. Copy the linux<version>-.tar.bz2 you downloaded in /usr/src/redhat/SOURCES/
4. Copy my_kernel.spec in /usr/src/redhat/SPECS/
5. Customize the fields Version, Release, description and kernel24 definition in my_kernel.spec. Please note that:
Version has to be the kernel version (e.g. “2.4.33”)
Release should be customized (e.g. “xeon_1.0”). Release will be used for the “EXTRAVERSION” variable in the main kernel Makefile, so you should get at the end that the output of “uname -r” is exactly Version-Release (in this case “2.4.33-xeon_1.0” and “2.4.33-xeon_1.0smp” for the SMP version).
Set kernel24 1 if you are compiling a 2.4 kernel, 0 if it is a 2.6 kernel.
Rebuild the kernel
To recompile the kernel:
rpm -ba /usr/src/redhat/SPECS/my_kernel.spec
rpmbuild -ba /usr/src/redhat/SPECS/my_kernel.spec
You should get two binary packages (kernel-* and kernel-smp-*) in: /usr/src/redhat/RPMS/i386/
Changing your Deault DNS provided by the ISP to OpenDNS makes the Web experience more secure and more customized. You can block several sites having viruses, spywares, pornography etc. in a simpler way. Also you can make shotcuts for adreesses that are easy to use with. For example, you only need to type mail to go to mail.yahoo.com if you set the shortcuts properly using OpenDNS. This service is free of cost, and its much faster.
To use OpenDNS you need to register an account at OpenDNS. If you’re using broadband internet such as BSNL, you need to setup the Primary and Secondary DNS to OpenDNS. To do this, follow
- Type/Click 192.168.1.1 in your browser to go to your DSL Router / Modem
- Enter Username and Password (May be both are admin)
- Select DNS and use custom instead of Default DNS. Enter the Primary and secondary DNS as 220.127.116.11 and 18.104.22.168
- Save and reboot the DSL Router.
You can change the settings at OpenDNS Dashbord. Use your security level and shortcuts.
You also need a client side program called ddclient for active communication with OpenDNS (To report your dynamic IP addresses to OpenDNS). It can be downloaded at http://ddclient.wiki.sourceforge.net/. Windows and Mac versions are available at OpenDNS site. For Ubuntu it is availabe via Synaptic.
sudo apt-get install ddclient
The configuration file for OpenDNS is like (in /etc/ddclient/ddclient.conf)