<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Yep, it's the dhclient-script being empty that's that's the cause of the problem. I copied the clients/scripts/linux to /sbin/dhclient-script and modified paths in it and now the ip address from dhclient binds to eth0.</span></div><div><span><br></span></div><div><span>Thanks!</span></div><div><span><br></span></div><div><span>cytan</span></div><div><span><br></span></div><div><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Cheng-Yang Tan <cytan299@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Users of ISC DHCP
 <dhcp-users@lists.isc.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, February 5, 2012 12:56 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: dhclient not binding ip address to eth0<br> </font> </div> <br>
<div id="yiv478506515"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: times, serif; "><span>One more thing, my dhclient-script is empty. Should it actually have something?</span></div><div style="font-size: 12pt; font-family: times, serif; "><span><br></span></div><div><div>Contents of dhclient-script:  </div><div>**********************</div><div>                                                                              </div><div>#!/bin/sh                                            
                                                 </div><div># empty dhclient-script to keep dhclient from complaining                                             </div><div># </div><div>********************************</div></div><div style="font-size: 12pt; font-family: times, serif; "><br></div>  <div style="font-size: 12pt; font-family: times, serif; "> <div style="font-size: 12pt; font-family: times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Cheng-Yang Tan <cytan299@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b>
 Users of ISC DHCP <dhcp-users@lists.isc.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, February 5, 2012 12:51 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: dhclient not binding ip address to eth0<br> </font> </div> <br>
<div id="yiv478506515"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: times, serif; "><div style="font-size: 12pt; font-family: times, serif; "><span>Hi Jose,</span></div><div style="font-size: 12pt; font-family: times, serif; "><span>  The system is a Samsung ARM s3c2410 with enc28j60 as the ethernet controller. I did not set the ARM system clock because I did not think it mattered. However, I've rectified the situation and the problem remains:</span></div><div style="font-size: 12pt; font-family: times, serif; "><span><br></span></div><div style="font-size: 12pt; font-family: times, serif; "><span>**********************</span></div><div><div>lease {                                      
                                                         </div><div>  interface "eth0";                                                                                   </div><div>  fixed-address 192.168.1.6;                                                                          </div><div>  option subnet-mask 255.255.255.0;                        
                                           </div><div>  option routers 192.168.1.1;                                                                         </div><div>  option dhcp-lease-time 86400;                                                                       </div><div>  option dhcp-message-type 5;                                                
                         </div><div>  option domain-name-servers 192.168.1.1;                                                             </div><div>  option dhcp-server-identifier 192.168.1.1;                                                          </div><div>  renew 1 2012/02/06 03:07:26;                                                                        </div><div>  rebind 1 2012/02/06
 14:49:21;                                                                       </div><div>  expire 1 2012/02/06 17:49:21;                                                                       </div><div>}                                                                                                     </div><div># date      
                                                                                          </div><div>Sun Feb  5 12:49:58 CST 2012       </div></div><div style="font-size: 12pt; font-family: times, serif; ">**************************</div><div style="font-size: 12pt; font-family: times, serif; ">and it still still doesn't bind</div><div style="font-size: 12pt; font-family: times, serif; ">*******************************</div><div><div> #ifconfig -a                                                
                                         </div><div>eth0      Link encap:Ethernet  HWaddr 56:C7:86:20:37:A6                                               </div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                                          </div><div>          RX packets:23367 errors:0 dropped:15 overruns:0 frame:0                                     </div><div>          TX packets:11 errors:0 dropped:0
 overruns:0 carrier:0                                       </div><div>          collisions:0 txqueuelen:1000                                                                </div><div>          RX bytes:1797535 (1.7 MiB)  TX bytes:3762 (3.6 KiB)                                         </div><div>          Interrupt:54     </div></div><div style="font-size: 12pt; font-family: times, serif; ">**********************************************************</div>  <div style="font-size: 12pt; font-family: times,
 serif; "> <div style="font-size: 12pt; font-family: times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> José Queiroz <zekkerj@gmail.com><br> <b><span style="font-weight:bold;">To:</span></b> Users of ISC DHCP <dhcp-users@lists.isc.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, February 5, 2012 10:20 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: dhclient not binding ip address to eth0<br> </font> </div> <br>
<div id="yiv478506515">Is this a bootp lease? If not, there may be a problem with system clocks, as  your lease appears as expiring in 1-1-1970.<br><br><div class="yiv478506515gmail_quote">2012/2/5 Cheng-Yang Tan <span dir="ltr"><<a rel="nofollow" ymailto="mailto:cytan299@yahoo.com" target="_blank" href="mailto:cytan299@yahoo.com">cytan299@yahoo.com</a>></span><br>
<blockquote class="yiv478506515gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: times, serif; "><div>
<div><font face="'times new roman', 'new york', times, serif">Hi</font></div><div><font face="'times new roman', 'new york', times, serif">I'm having a very weird problem with dhclient running on arm-linux. I can get an ip address from dhclient:</font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">*********************************************</font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif"># cat dhclient.leases </font></div><div><font face="'times new roman', 'new york', times, serif">lease {</font></div>
<div><font face="'times new roman', 'new york', times, serif">interface "eth0";</font></div><div><font face="'times
 new roman', 'new york', times, serif">fixed-address 192.168.1.6;</font></div><div><font face="'times new roman', 'new york', times, serif">option subnet-mask 255.255.255.0;</font></div><div><font face="'times new roman', 'new york', times, serif">option dhcp-lease-time 86400;</font></div>
<div><font face="'times new roman', 'new york', times, serif">option routers 192.168.1.1;</font></div><div><font face="'times new roman', 'new york', times, serif">option dhcp-message-type 5;</font></div>
<div><font face="'times new roman', 'new york', times, serif">option dhcp-server-identifier 192.168.1.1;</font></div><div><font face="'times new roman', 'new york', times, serif">option domain-name-servers 192.168.1.1;</font></div>
<div><font face="'times new roman', 'new york', times, serif">renew 4 1970/01/01 10:05:28;</font></div><div><font face="'times new roman', 'new york', times, serif">rebind 4 1970/01/01 21:01:42;</font></div>
<div><font face="'times new roman',
 'new york', times, serif">expire 5 1970/01/02 00:01:42;</font></div><div><font face="'times new roman', 'new york', times, serif">}</font></div><div><font face="'times new roman', 'new york', times, serif">***************************************</font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">BUT it is *not* bound to eth0:</font></div><div>
<font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">******************************************</font></div>
<div><font face="'times new roman', 'new york', times, serif"># ifconfig eth0</font></div><div><font face="'times new roman', 'new york', times, serif">eth0 Link encap:Ethernet HWaddr 56:C7:86:20:37:A6 </font></div>
<div><font face="'times new roman', 'new york', times, serif">UP BROADCAST RUNNING MULTICAST MTU:1500
 Metric:1</font></div><div><font face="'times new roman', 'new york', times, serif">RX packets:277 errors:0 dropped:0 overruns:0 frame:0</font></div><div><font face="'times new roman', 'new york', times, serif">TX packets:3 errors:0 dropped:0 overruns:0 carrier:0</font></div>
<div><font face="'times new roman', 'new york', times, serif">collisions:0 txqueuelen:1000 </font></div><div><font face="'times new roman', 'new york', times, serif">RX bytes:23176 (22.6 KiB) TX bytes:1026 (1.0 KiB) </font></div>
<div><font face="'times new roman', 'new york', times, serif">Interrupt:54 </font></div><div><font face="'times new roman', 'new york', times, serif">*******************************************</font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">I can manually bind the address using:</font></div>
<div><font face="'times new roman', 'new york',
 times, serif">ifconfig eth0 192.168.1.6</font></div><div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">and eth0 talks to the world. </font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">I believe I've set up /etc/network/interface correctly:</font></div>
<div><font face="'times new roman', 'new york', times, serif">*****************************************************</font></div><div><font face="'times new roman', 'new york', times, serif">auto lo </font></div>
<div><font face="'times new roman', 'new york', times, serif">iface lo inet loopback </font></div><div><font face="'times new roman', 'new york', times, serif"># </font></div><div><font face="'times new roman', 'new york', times, serif">auto eth0 </font></div>
<div><font face="'times new
 roman', 'new york', times, serif">iface eth0 inet dhcp </font></div><div><font face="'times new roman', 'new york', times, serif">*****************************************************</font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">How can I make dhclient bind the ip address to eth0.</font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">Thanks for any info!</font></div><div><font face="'times new roman', 'new york', times, serif"><br>
</font></div><div><font face="'times new roman', 'new york', times, serif">cytan</font></div><div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">P.S. linux version is: 2.6.39.4</font></div>
<div><font face="'times new roman', 'new
 york', times, serif">and dclient comes from dhcp-4.1-ESV-R3.tar.gz<br></font></div></div></div></div><br>_______________________________________________<br>
dhcp-users mailing list<br>
<a rel="nofollow" ymailto="mailto:dhcp-users@lists.isc.org" target="_blank" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a rel="nofollow" target="_blank" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div><br>
</div><br>_______________________________________________<br>dhcp-users mailing list<br><a rel="nofollow" ymailto="mailto:dhcp-users@lists.isc.org" target="_blank" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a rel="nofollow" target="_blank" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br><br> </div> </div>  </div></div></div><br>_______________________________________________<br>dhcp-users mailing list<br><a rel="nofollow" ymailto="mailto:dhcp-users@lists.isc.org" target="_blank" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a rel="nofollow" target="_blank" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br><br> </div> </div>  </div></div></div><br>_______________________________________________<br>dhcp-users mailing list<br><a ymailto="mailto:dhcp-users@lists.isc.org"
 href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br><br> </div> </div>  </div></body></html>