
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Debian_mint_ubuntu_network_config</id>
		<title>Debian mint ubuntu network config - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Debian_mint_ubuntu_network_config"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Debian_mint_ubuntu_network_config&amp;action=history"/>
		<updated>2026-04-29T01:30:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=Debian_mint_ubuntu_network_config&amp;diff=428&amp;oldid=prev</id>
		<title>Nighthawk: Pushed from Themanclub.</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Debian_mint_ubuntu_network_config&amp;diff=428&amp;oldid=prev"/>
				<updated>2013-07-10T15:42:35Z</updated>
		
		<summary type="html">&lt;p&gt;Pushed from Themanclub.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Change Ubuntu Server from DHCP to a Static IP Address&lt;br /&gt;
&lt;br /&gt;
If the Ubuntu Server installer has set your server to use DHCP, you will want to change it to a static IP address so that people can actually use it.&lt;br /&gt;
&lt;br /&gt;
Changing this setting without a GUI will require some text editing, but that’s classic linux, right?&lt;br /&gt;
&lt;br /&gt;
Let’s open up the /etc/network/interfaces file. I’m going to use vi, but you can choose a different editor&lt;br /&gt;
&lt;br /&gt;
    sudo vi /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
For the primary interface, which is usually eth0, you will see these lines:&lt;br /&gt;
&lt;br /&gt;
    auto eth0&lt;br /&gt;
    iface eth0 inet dhcp&lt;br /&gt;
&lt;br /&gt;
As you can see, it’s using DHCP right now. We are going to change dhcp to static, and then there are a number of options that should be added below it. Obviously you’d customize this to your network.&lt;br /&gt;
&lt;br /&gt;
    auto eth0&lt;br /&gt;
    iface eth0 inet static&lt;br /&gt;
            address 192.168.1.100&lt;br /&gt;
            netmask 255.255.255.0&lt;br /&gt;
            network 192.168.1.0&lt;br /&gt;
            broadcast 192.168.1.255&lt;br /&gt;
            gateway 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
== DNS settings ==&lt;br /&gt;
using /etc/network/interfaces.. add a line like:&lt;br /&gt;
 dns-nameservers 12.34.56.78 12.34.56.79&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 &lt;br /&gt;
set by editing the resolv.conf file:&lt;br /&gt;
 nameserver 4.2.2.1&lt;br /&gt;
 nameserver 4.2.2.2&lt;br /&gt;
&lt;br /&gt;
You need to also disable the dhcp-client startup for this to stick.&lt;br /&gt;
&lt;br /&gt;
Now we’ll just need to restart the networking components:&lt;br /&gt;
&lt;br /&gt;
    sudo /etc/init.d/networking restart&lt;br /&gt;
&lt;br /&gt;
[[category:debian]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>