<div dir="ltr">The solution is absurdly simple.<br>Use udhcpc not dhclient. Both are installed on 2008.8, only udhcpc does the right thing.<br><br>For example...<br>Dhclient:<br>root@blackstar:~# dhclient eth0 <br>Internet Systems Consortium DHCP Client V3.0.2<br>
Copyright 2004 Internet Systems Consortium.<br>All rights reserved.<br>For info, please visit <a href="http://www.isc.org/products/DHCP">http://www.isc.org/products/DHCP</a><br><br>can&#39;t create /var/lib/dhcp/dhclient.leases: No such file or directory<br>
Listening on LPF/eth0/00:12:cf:8e:f0:0e<br>Sending on&nbsp;&nbsp; LPF/eth0/00:12:cf:8e:f0:0e<br>Sending on&nbsp;&nbsp; Socket/fallback<br>DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 3<br>DHCPOFFER from <a href="http://10.0.1.100">10.0.1.100</a><br>
DHCPREQUEST on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67<br>DHCPACK from <a href="http://10.0.1.100">10.0.1.100</a><br>DHCPDECLINE on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 6<br><br>udhcpc:<br>root@blackstar:~# udhcpc&nbsp; eth0 <br>udhcpc (v1.9.1) started<br>run-parts: /etc/udhcpc.d/00avahi-autoipd exited with return code 1<br>
Sending discover...<br>Sending select for 10.0.1.214...<br>Lease of <a href="http://10.0.1.214">10.0.1.214</a> obtained, lease time 4294967295<br>run-parts: /etc/udhcpc.d/00avahi-autoipd exited with return code 1<br>adding dns <a href="http://10.0.1.100">10.0.1.100</a><br>
<br>Much better result with the latter :)<br><br><div class="gmail_quote">On Thu, Sep 11, 2008 at 5:52 PM, Xavier Bestel <span dir="ltr">&lt;<a href="mailto:xavier.bestel@free.fr">xavier.bestel@free.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I have a FR whith 2008.8 + latest updates, and I can&#39;t connect to any<br>
wifi network with the GUI. The &quot;settings&quot; page shows correctly the list<br>
of available APs, when I click on one it asks for a password, and that&#39;s<br>
all.<br>
<br>
At home, I have a WEP network (which is working very well), and I could<br>
try connecting with the commandline. An iwlist scan shows the APs, then<br>
iwconfig essid and key connect to the AP, but that&#39;s all.<br>
When I then run &quot;dhclient eth0&quot;, it goes into an infinite loop where it<br>
receives an OFFER, then does a DECLINE.<br>
<br>
Here is the log seen from the server side (dnsmasq):<br>
<br>
Sep 10 23:37:17 awak dnsmasq[14577]: DHCPREQUEST(ath0) <a href="http://192.168.4.178" target="_blank">192.168.4.178</a> 00:19:7d:87:60:4e<br>
Sep 10 23:37:17 awak dnsmasq[14577]: DHCPACK(ath0) <a href="http://192.168.4.178" target="_blank">192.168.4.178</a> 00:19:7d:87:60:4e<br>
Sep 10 23:37:50 awak dnsmasq[14577]: DHCPDISCOVER(ath0) 00:12:cf:8e:fe:59<br>
Sep 10 23:37:50 awak dnsmasq[14577]: DHCPOFFER(ath0) <a href="http://192.168.4.179" target="_blank">192.168.4.179</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:50 awak dnsmasq[14577]: DHCPDISCOVER(ath0) 00:12:cf:8e:fe:59<br>
Sep 10 23:37:50 awak dnsmasq[14577]: DHCPOFFER(ath0) <a href="http://192.168.4.179" target="_blank">192.168.4.179</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:50 awak dnsmasq[14577]: DHCPREQUEST(ath0) <a href="http://192.168.4.179" target="_blank">192.168.4.179</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:50 awak dnsmasq[14577]: DHCPACK(ath0) <a href="http://192.168.4.179" target="_blank">192.168.4.179</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:50 awak dnsmasq[14577]: DHCPDECLINE(ath0) <a href="http://192.168.4.179" target="_blank">192.168.4.179</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:53 awak dnsmasq[14577]: DHCPDISCOVER(ath0) 00:12:cf:8e:fe:59<br>
Sep 10 23:37:53 awak dnsmasq[14577]: DHCPOFFER(ath0) <a href="http://192.168.4.180" target="_blank">192.168.4.180</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:53 awak dnsmasq[14577]: DHCPREQUEST(ath0) <a href="http://192.168.4.180" target="_blank">192.168.4.180</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:53 awak dnsmasq[14577]: DHCPACK(ath0) <a href="http://192.168.4.180" target="_blank">192.168.4.180</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:53 awak dnsmasq[14577]: DHCPDECLINE(ath0) <a href="http://192.168.4.180" target="_blank">192.168.4.180</a> 00:12:cf:8e:fe:59<br>
Sep 10 23:37:56 awak dnsmasq[14577]: DHCPDISCOVER(ath0) 00:12:cf:8e:fe:59<br>
etc.<br>
<br>
dhclient on the FR shows the same kind of thing.<br>
<br>
<br>
Any hint ?<br>
<br>
Thanks,<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Xav<br>
<br>
<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</blockquote></div><br></div>