Q. How to configure IP Address on BOSS Linux?
A. Edit the following file:
then enter root password, this file can only be edited by the root user.
Here you’ll see the list of NICs that have been detected.
Now, to configure an IP Address on one of these NICs say, eth0, type the following
iface eth0 inet static
If you use DHCP instead of static IP addressing, replace static in the second line with dhcp and only type the first two lines, as the rest of the information will be obtained from the DHCP server. Remember to replace eth0 with the appropriate interface you are trying to configure in the first two lines.
Now restart networking using the following command
If you are using a DSL connection (most Broadband connections in India are DSL) and are having issues connecting to the Internet check if it is a DNS resolution related issue by ping-ing any website (say, http://www.wordpress.com) and checking if the URL is getting resolved to an IP Address, if it is not then you need to “force” the DNS IP Addresses. DNS IP Addresses are usually provided by ISPs, however, you could use OpenDNS
Type the following commands to edit the /etc/resolv.conf file so as to add the above IP Addresses, it is here that the DNS information is stored:
This should fix any DNS related issues.