How to configure a static ip in Linux

This is a newbie question I get quite often.

Configuring your Linux machine to run on a static IP is easy. Tools like system-config-network and netconfig provide you simple GUIs to do this.

For today, I’ll show you how to do this from the command line instead.

Navigate to /etc/sysconfig/network-scripts/

[root@baboo]# cd /etc/sysconfig/network-scripts/

Every network interface will have it’s own interface script file. eth0,eth1,eth2 and so on. Vi the ifcfg-eth0 interface script file for interface eth0. Replace the contents of the ifcfg-eth0 file with the parameters below.

[root@baboo]# vi ifcfg-eth0.


If you want to switch back to DHCP, repeat the steps above and replace the contents of the ifcfg-eth0 file with the parameters below.


Restart your interface to apply the changes.

[root@baboo]#ifdown eth0
[root@baboo]#ifup eth0

To update your dns server settings, modify the /etc/resolv.conf.

[root@baboo]# vi /etc/resolv.conf

Replace the contents of the resolv.conf file with the parameters below. The first parameter “search” is your search path followed the nameserver parameters which hold the IPs for your primary and secondary DNS servers.


That’s it. Drop me a note if you need any help.

Firefox 3 release date fixed for 17th June


Finally we have a date for when Firefox 3 will be released. 17th June 2008, add it to you calendar.

Don’t forget to pledge to Firefox 3 Download Day and make your mark in history.

Source: Mozilla Dev News

XName free DNS hosting service

XName free DNS hosting

Stumbled upon a free DNS hosting service today. XName provides free DNS to all and in return only expects a donation if you like the service. However, if you plan to use XName for commercial purpose then a donation is mandatory.

From a infrastructure standpoint XName provides 3 DNS servers. 1 primary and 2 secondary servers. All DNS records are replicated across all servers so it’s best practice to use all 3 servers when possible to archive the best redundancy possible.

I’m currently working on a mini ISP setup for a client myself. The primary DNS server is in place but for my secondary servers I’m thinking of using XName instead as it’s going to save me a few dollars.

I’ll tell you how it goes.

Firefox 3 Release Candidate 2


Firefox 3 Release Candidate 2 is out. This should be the final release for Firefox 3 before it goes public soon.

Take it for a spin while reading the release notes.

Firefox 3 Download Day 2008

Also, Firefox is out to set a new Guinness world record by setting a new record for most downloaded software in 24 hours. If you want to be part of it, pledge yourself to the cause.

Since Firefox 3 has not official release date, make sure to keep up to date with the Firefox 3 Download Day 2008.

iPhone 3G


Apple has announced the release of their second generation iPhone. The launch date for the new iPhone 3G is planned for 11th July 2008. Apple will be launching the new phone world wide in stages.

Apple has also slashed the price of the new iPhone. USD199 for the 8GB model and USD299 for the 16GB model. This will surely boost Apple’s market share in the coming months.

iPhone 3G does come with a few goodies under it’s hood. GPS, full 3G support, App Store, support for Microsoft’s exchange server, support for more languages and many other enhancements including a scientific calculator.

I’m still waiting for Google’s Android before making any decision on what my next phone might be.

Source: Apple

© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak