Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do you configure desktop for a static IP address?

I'm trying to be able to access my localhost from any computer on the network. I'm currently doing that by using the inet addr under ifconfig. But, everytime I restart the computer, it changes. How do I make it static to something like

I've tried Wicd, but when I use Static IPs, it won't let me connect to the Internet at all.

(Sorry for my naiveness with networking)

share|improve this question

marked as duplicate by belacqua, Marco Ceppi Sep 16 '11 at 18:42

This question was marked as an exact duplicate of an existing question.

It's easy to do that in Network Manager. Click the network icon and select edit connections. Select your interface and click edit. In the IPv4-settings page, select Method: Manual. Enter your IP address, netmask and gateway and then add one or more DNS servers. If you want the connection to be setup at boot, before you login, select "Available to all users" in the bottom of the screen and click Save. You'll need to be a sudoer in order to do that.

share|improve this answer
The only problem is that I cannot access the internet once I do that. – Ethan Turkeltaub Sep 19 '11 at 11:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.