Change Ubuntu Desktop from DHCP to a Static IP Address
If you've installed your Ubuntu installation with DHCP, it's really easy to reconfigure your system to use a static IP address with the GUI based Network Settings dialog.
To open the utility, go to System \ Administration \ Networking
You'll see your network adapter in the list. Click the Properties button, and you'll see this dialog:
Just change the drop-down box to Static IP address, and then put in your static settings. Ubuntu is so easy, isn't it ?
The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 12/13/06 and tagged with: Ubuntu, SysAdmin


any possibility to do it from command line?
FWIW this set of instructions works reliably ONLY with wired connections. Wireless desktops and laptops require additional configuration (i.e. config file hacking) which may be chipset-specific. Wireless users may be better off configuring MAC-based static IPs inside their routers.
I tried this out on "Feisty" and lost my internet connection (Im on pppoe)