Inveneo Linux 1 Static IP

= Setting up a Static IP =

To set up Inveneo Linux to use a static IP address instead of contacting a DHCP server, ensure that the Caps Lock, Num Lock, and Scroll Lock on your keyboard are off and press Ctrl-Alt-Insert. You will be prompted for your administrator password. A terminal window will appear. Type the following commands into the terminal window. (Press enter after each line. Don't type the #, just wait for it to appear each time.):

# cd
 * 1) mkdir .etc/network
 * 2) cp /etc/network/interfaces .etc/network/
 * 3) launch-notepad .etc/network/interfaces

At this point, a text editor will open. Remove the last three lines of the file (starting with "address" and ending with the end of the file). Now, add these three lines in their place:

address x.x.x.x netmask 255.255.255.0 gateway y.y.y.y

Replace x.x.x.x with the static IP address you want the computer to use. Replace y.y.y.y with the address of your network gateway or router. Don't adjust the netmask unless you are sure that your network requires a different one.

Save the file and close the text editor.

If you plan to connect to the Internet, you will also need to specify your DNS server. Back in the terminal window, type the following:


 * 1) echo 'nameserver x.x.x.x' >.etc/resolv.conf

Replace x.x.x.x with the address of your DNS server and press enter.

Lastly, type the following commands to save your settings and make them active (the machine will restart):


 * 1) save root
 * 2) reboot

= Switching Back to DHCP =

If you decide to switch the machine back to DHCP, simply bring up the terminal again (Ctrl-Alt-Insert) and type the following commands (the machine will restart):

# cd
 * 1) rm .etc/network/interfaces .etc/resolv.conf
 * 2) rmdir .etc/network
 * 3) save root
 * 4) reboot

Return to Older Versions of Inveneo Linux Return to Main Page