Monthly Archives: January 2014

How to set a static IP address in Linux via command line

To set a static IP address in Linux, simple edit /etc/network/interfaces and change your interface settings using the example below: In this example, I’m setting my IP address to 192.168.1.100. # The primary network interface auto eth0 iface eth0 inet … Continue reading

Posted in Linux | Tagged | Leave a comment

The Correct Way to Set Nameservers in Ubuntu 12.04 and up

If you’ve specified nameservers in resolv.conf on Ubuntu 12.04+, you’d probably find that rebooting would erase the nameserver information that you entered. If you edit the resolv.conf you will see the following message: # Dynamic resolv.conf(5) file for glibc resolver(3) … Continue reading

Posted in Ubuntu | Tagged , | Leave a comment