Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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.