How to set a static IP in ubuntu Intrepid 8.10

I had taken a bit of time and luck finding out how to make a static IP in ubuntu 8.10. Many of the instructions online use the command-line. while i have nothing against the command line, other tutorials configure to set your IP static system-wide.
For those like me, who have laptops and travel around with it and connect to mutiple wifi networks, those tutorials do not work for us, since they select the IP to be static for every wifi network.

So, here’s my tutorial, by using the network manager.

First, you’ll need to get some information about your set-up (doesn’t matter which order you do 1A, 1B, 1C). You need to be connected to the wifi network that you will be making static.

1A. Find your Netmask:
This will vary for each person. To find your netmask, open up your terminal (it’s in menu > Accessories )
enter in: ifconfig

tutorial-finding_your_netmask (Click to enlarge)
There are probably multiple internet connections, look for the one that is active (by seeing a high amount of RX and TX bytes). Remember the mask number, you’ll need it later.

1B. Find your gateway. Go to the terminal and enter /sbin/route

(it may take 10-15 seconds for the command to finish running).

tutorial-finding_gateway-route-use_me-edited1 (click to enlarge)
At the line that begins with ‘default’ should be a number, (under the gateway column, shown in the screenshot) should be a number. That is your gateway number, take note of it.

1C. Find your DNS servers.
There’s a couple ways to do this.
– You can call up your ISP customer service and simply ask for them.
– Sometimes, this information may already appear within your router configuration
(the webpage where you configure your router)
– Or you can enter in your router IP’s address (This worked for me, this may not work for everyone).

2. With this information, right click on the wifi connection box (see the screenshot for a )

tutorial-finding_gateway-route-use_me-edited1 (click to enlarge)

and selected edit connection.
Then, click on the wireless tab, click edit on the network you want to edit.

2A. Click the ‘CONNECT AUTOMATICALLY’ button to remove the check box.
– There’s a known bug in the network manager that will not save your network connection settings after a reboot if you set a static IP and have it configured to connect automatically . :(
You will have to manually connect to your wifi network every time you wish to connect.

Then, go to the ‘IPv4 Settings’ tab, change the method to manual, fill in all of the information that you have
found out earlier.
now that you’re closed on your network manager, reset your network connection. You can do this by just quickly switching from one wireless connection (any one that is displayed, doesn’t have even one that you have a password to), back to the one that you just configured, or right-clicking on the network-manager icon and toggle the ‘enable wireless’ button off and then back on !

Voila. Your IP is now static, so go forward those ports !

pages that I referenced:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s