Thanks Gabriel,<div><br></div><div>So, How should I setup the interface &#39;ath0&#39; on the other nodes? I&#39;m trying with the following options, but it not works.</div><div><br><div>auto ath0</div><div>iface ath0 inet static</div>
<div>#        address 10.0.0.99</div><div>         netmask 255.255.255.128</div><div>#        broadcast 10.1.20.255</div><div>         wireless-essid zbziw</div><div>         wireless-channel 36</div><div>         madwifi-base wifi0</div>
<div>         madwifi-mode ad-hoc</div><div>         up iwpriv ath0 mode 1</div><div>        up iwconfig ath0 txpower auto</div><div>        up iwconfig ath0 rate auto</div><div><br></div><div><br></div><div class="gmail_quote">
2011/3/8 Gabriel Kerneis <span dir="ltr">&lt;<a href="mailto:kerneis@pps.jussieu.fr">kerneis@pps.jussieu.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Mar 08, 2011 at 12:08:10PM +0100, Tomas Cea wrote:<br>
&gt; I would like to configure my interface &#39;ath0&#39; by ahcp, so I have no<br>
&gt; info about that interface on my /etc/network/interfaces file.<br>
<br>
</div>This is correct on the clients.  On the ahcp server, you must configure<br>
your interface manually, as you are used to do (e.g. with a &quot;static&quot;<br>
block in /etc/network/interfaces).<br>
<div class="im"><br>
&gt; In my /etc/default/ahcpd file i have two lines:<br>
&gt; INTERFACES=&quot;ath0&quot;<br>
&gt; DAEMON_ARGS=&quot;-i /var/lib/ahcpd/unique-id&quot;<br>
<br>
</div>This file is relevant only if you start ahcpd with /etc/init.d/ahcpd.<br>
Ahcpd run from the command-line will ignore it.<br>
<div class="im"><br>
&gt; About the server:<br>
&gt;<br>
&gt; /etc/ahcpd.conf file contains that:<br>
&gt;<br>
&gt;<br>
&gt; #############<br>
&gt;   mode server<br>
&gt;<br>
&gt;   prefix fde6:20f5:c9ac:358::/64<br>
&gt;   prefix <a href="http://192.168.4.128/25" target="_blank">192.168.4.128/25</a><br>
&gt;   lease-dir /var/lib/leases<br>
&gt;   name-server fde6:20f5:c9ac:358::1<br>
&gt;   name-server 192.168.4.1<br>
&gt;   ntp-server 192.168.4.2<br>
&gt;<br>
&gt; ##############<br>
<br>
</div>Looks fine, provided your interfaces and routes are set accordingly in<br>
/etc/network/interfaces.<br>
<div class="im"><br>
&gt; I run it with this: &gt; ahcpd -c /etc/ahcpd.conf ath0<br>
&gt; And I get a warning message: &quot;unknown interface ath0&quot;<br>
<br>
</div>As explained above, the interface must up and configured on the server<br>
separately from ahcp.<br>
<div class="im"><br>
&gt; About the others nodes:<br>
&gt; When I run &gt;ahcpd ath0<br>
&gt; I get the following error: &quot;ahcp_socket: Address family not supported by<br>
&gt; protocol&quot;<br>
<br>
</div>If those are wireless nodes, do not forget to setup the wifi settings.<br>
Also do not forget to bring the interface up (ifconfig ath0 up).<br>
<br>
The &quot;address familiy not supported&quot; might be an IPv6 issue (do you have<br>
IPv6 enabled?), but I am not sure.<br>
<br>
Best,<br>
--<br>
<font color="#888888">Gabriel Kerneis<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Tomás Cea Ortiz<br>Ing. Informático<br>Universidad Rey Juan Carlos<br>Dpto. Teoría de la Señal y Comunicaciones<br>Telf:  914888405<br><br><br>
</div>