<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1096821&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [script] Changer l'adresse ip]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1096821</link>
		<description><![CDATA[Les sujets les plus récents dans [script] Changer l'adresse ip.]]></description>
		<lastBuildDate>Thu, 08 Nov 2012 15:31:59 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [script] Changer l'adresse ip]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11440111#p11440111</link>
			<description><![CDATA[<div class="quotebox"><cite>C&#039;est Moi a écrit&#160;:</cite><blockquote><div><p>j&#039;ai pas testé ton script mais visiblement il faut faire un sudo ifdown eth0 puis sudo ifup. ou alors /etc/init.d/networking restart. ou un truc du genre qui redémarre la connexion</p></div></blockquote></div><p>C&#039;est exact. Sinon l&#039;utilisation de la commande ifconfig permet de changer l&#039;ip à chaud sans avoir besoin de relancer le service réseau.</p>]]></description>
			<author><![CDATA[dummy@example.com (obibann)]]></author>
			<pubDate>Thu, 08 Nov 2012 15:31:59 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11440111#p11440111</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [script] Changer l'adresse ip]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11424001#p11424001</link>
			<description><![CDATA[<p>j&#039;ai pas testé ton script mais visiblement il faut faire un sudo ifdown eth0 puis sudo ifup. ou alors /etc/init.d/networking restart. ou un truc du genre qui redémarre la connexion</p>]]></description>
			<author><![CDATA[dummy@example.com (C'est Moi)]]></author>
			<pubDate>Wed, 07 Nov 2012 10:11:57 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11424001#p11424001</guid>
		</item>
		<item>
			<title><![CDATA[[script] Changer l'adresse ip]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11423771#p11423771</link>
			<description><![CDATA[<p>Bonjour,</p><p>Je cherche à changer l&#039;adresse ip d&#039;une machine grâce à un script avec la commande sed<br />Voici mon script </p><div class="codebox"><pre><code>#!/bin/bash
echo -n &quot;Saisir l&#039;adresse ip de la machine : &quot;
read ip

echo -n &quot;Saisir le masque de sous réseau de la machine : &quot;
read netmask

echo -n &quot;Saisir la passerelle de la machine : &quot;
read gateway

echo -n &quot;Saisir l&#039;adresse du serveur dns de la machine : &quot;
read dns

var=&quot;address $ip \n netmask $netmask \n gateway $gateway \n dns $dns&quot;


sed -e &quot;s/^(iface) * (^iface)/$var/g&quot; /etc/network/interfacesbis</code></pre></div><p>Je n&#039;arrive pas à modifier juste la configuration ip</p><p>Merci</p>]]></description>
			<author><![CDATA[dummy@example.com (bf92)]]></author>
			<pubDate>Wed, 07 Nov 2012 09:37:40 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11423771#p11423771</guid>
		</item>
	</channel>
</rss>
