Hi Juliusz,<div><br></div><div>Firstly, thanks for your answer.</div><div><br></div><div>Now, I&#39;m describe my nodes configuration because I can&#39;t cunfigure my network with ahcpd yet.</div><div><br></div><div><div>I downloaded ahcpd from debian repository:</div>
<div>deb <a href="http://ftp.tw.debian.org/debian/">http://ftp.tw.debian.org/debian/</a> squeeze main contrib</div><div><br></div><div>I would like to configure my interface &#39;ath0&#39; by ahcp, so I have no info about that interface on my /etc/network/interfaces file.</div>
<div><br></div><div>In my /etc/default/ahcpd file i have two lines:</div><div>INTERFACES=&quot;ath0&quot;</div><div>DAEMON_ARGS=&quot;-i /var/lib/ahcpd/unique-id&quot;</div><div><br></div><div>About the server:</div><div>
<br></div><div>/etc/ahcpd.conf file contains that:</div><div><br></div><div><div><br></div><div>#############</div><div>  mode server</div><div><br></div><div>  prefix fde6:20f5:c9ac:358::/64</div><div>  prefix <a href="http://192.168.4.128/25">192.168.4.128/25</a></div>
<div>  lease-dir /var/lib/leases</div><div>  name-server fde6:20f5:c9ac:358::1</div><div>  name-server 192.168.4.1</div><div>  ntp-server 192.168.4.2</div><div><br></div><div>##############</div></div><div><br></div><div>
I run it with this: &gt; ahcpd -c /etc/ahcpd.conf ath0</div><div>And I get a warning message: &quot;unknown interface ath0&quot;</div><div><br></div><div><br></div><div>About the others nodes:</div><div>When I run &gt;ahcpd ath0</div>
<div>I get the following error: &quot;ahcp_socket: Address family not supported by protocol&quot;</div><div><br></div><div>Could you help me with all of that?</div><div>Thanks in advanced.</div><div><br></div><div><br></div>
<div class="gmail_quote">2011/3/4 Juliusz Chroboczek <span dir="ltr">&lt;<a href="mailto:jch@pps.jussieu.fr">jch@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">&gt; I have an adhoc wifi 11a network, with debian running on some ALIX embedded<br>
&gt; pcs.<br>
<br>
</div>Cool.<br>
<div class="im"><br>
&gt; I&#39;d like to add an autoconfigure protocol like ahcp.<br>
<br>
</div><div class="im">&gt; First question: How should I configure /etc/network/interfaces file?<br>
<br>
</div>AHCP is not integrated with Debian&#39;s framework, so you should *not*<br>
mention the OLSR interfaces in /etc/network/interfaces.<br>
<br>
Choose one of your routers to be the AHCP server; this machine needs to<br>
have stable storage that survives a reboot (a hard disk or some writable<br>
piece of flash), and should preferably be running ntpd.  The natural<br>
choice is usually to the server on your Internet gateway.  The other<br>
routers will be clients, and they don&#39;t need to have writeable storage.<br>
<br>
Then follow the instructions in the README provided with AHCP (see the<br>
sections &quot;Setting up a server&quot; and &quot;Setting up a client&quot;).  If there&#39;s<br>
anything that&#39;s not clear in the README, please let us know -- I&#39;d like<br>
to improve the README.<br>
<font color="#888888"><br>
--Juliusz<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>