
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.sabayonlinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Avoid_network_configurations_being_overwritten_after_reboot&amp;feed=atom&amp;action=history</id>
		<title>HOWTO: Avoid network configurations being overwritten after reboot - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Avoid_network_configurations_being_overwritten_after_reboot&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Avoid_network_configurations_being_overwritten_after_reboot&amp;action=history"/>
		<updated>2013-05-26T08:34:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.4</generator>

	<entry>
		<id>http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Avoid_network_configurations_being_overwritten_after_reboot&amp;diff=7859&amp;oldid=prev</id>
		<title>Micia: Adding Italian translation</title>
		<link rel="alternate" type="text/html" href="http://wiki.sabayonlinux.org/index.php?title=HOWTO:_Avoid_network_configurations_being_overwritten_after_reboot&amp;diff=7859&amp;oldid=prev"/>
				<updated>2009-10-17T16:25:55Z</updated>
		
		<summary type="html">&lt;p&gt;Adding Italian translation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{I18n| [[HOWTO: Avoid network configurations being overwritten after reboot|en]] [[It:HOWTO: Avoid network configurations being overwritten after reboot|it]]}}&lt;br /&gt;
&lt;br /&gt;
This a simple HOWTO concerning a common issue: users configure their /etc/conf.d/net file, but sometimes configurations get overwritten after reboot.&lt;br /&gt;
A simple way to avoid it is to the following:&lt;br /&gt;
&lt;br /&gt;
1. Disable NetworkManager&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;# rc-update del NetworkManager&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
2. Set your configuration&lt;br /&gt;
&lt;br /&gt;
{{Console| &amp;lt;pre class=&amp;quot;clear&amp;quot;&amp;gt;# vim /etc/conf.d/net&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
3. Reboot and test if your configuration has been set successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some examples of how to configure /etc/conf.d/net (assuming you are configurnig eth0, but it can be eth1, wlan0, etc.)&lt;br /&gt;
&lt;br /&gt;
Example  to fetch all configuration from dhcp:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config_eth0=( &amp;quot;dhcp&amp;quot; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example to use dynamic IP but static DNS server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config_eth0=( &amp;quot;dhcp&amp;quot; )&lt;br /&gt;
dhcp_eth0=(&amp;quot;nodns&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example for static IP and static DNS server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
config_eth0=(&amp;quot;192.168.0.13 netmask 255.255.255.0&amp;quot;)&lt;br /&gt;
routes_eth0=(&amp;quot;default via 192.168.0.1&amp;quot;)&lt;br /&gt;
dns_servers_eth0=(&amp;quot;192.168.0.1&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Micia</name></author>	</entry>

	</feed>