DHCPREQUEST is bloating my log



  • My post is similar to "DHCPREQUEST does not complete?"  http://forum.pfsense.org/index.php/topic,1026.0.html but not exactly.

    It seems that my DHclient is trying to renew the DHCP IP every couple of minutes. I dont really care, because I dont seem to be losing internet connection like hedberg is in his post. But I was wondering if there is a way to specify my own lease time for dhclient, like I can for the DHCP server. When I was using a linksys device for a router/firewall, the lease would seem to last a lot longer than what is going on here.

    My ISP is Road Runner, and I hope that the know how to run a network :)

    Jul 17 10:54:22 last message repeated 15 times
    Jul 17 10:34:47 dhclient[266]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 17 10:28:47 dhclient[266]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 17 10:24:34 last message repeated 4 times
    Jul 17 10:10:12 dhclient[266]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 17 10:07:04 kernel: ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=3763807
    Jul 17 10:04:41 last message repeated 5 times
    Jul 17 09:53:25 last message repeated 21 times
    Jul 17 09:44:36 last message repeated 21 times
    Jul 17 09:34:40 last message repeated 9 times
    Jul 17 09:32:24 dhclient[266]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 17 09:30:57 dhclient[266]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 17 09:30:22 msntp[21971]: msntp: 2006 Jul 17 09:30:22.593 + -0.000 +/- 0.022 secs - 97.0 +/- 0.4 ppm
    Jul 17 09:30:22 msntp[21971]: msntp: after 162 hours 27 mins acc. 32 rej. 7 flush 0 max.off. 0.103 corr. 1.790
    Jul 17 09:30:18 last message repeated 7 times
    Jul 17 09:26:30 last message repeated 11 times
    Jul 17 09:16:24 last message repeated 9 times
    Jul 17 09:06:38 last message repeated 16 times
    Jul 17 08:56:04 last message repeated 19 times
    Jul 17 08:46:30 last message repeated 23 times
    Jul 17 08:35:39 last message repeated 5 times
    Jul 17 08:25:38 last message repeated 11 times
    Jul 17 08:16:10 last message repeated 9 times
    Jul 17 08:04:35 last message repeated 2 times
    Jul 17 07:54:55 last message repeated 18 times
    Jul 17 07:46:42 last message repeated 29 times
    Jul 17 07:34:09 last message repeated 5 times
    Jul 17 07:26:31 last message repeated 26 times
    Jul 17 07:16:37 last message repeated 8 times
    Jul 17 07:14:34 last message repeated 3 times
    Jul 17 07:14:11 dhclient[266]: DHCPREQUEST on dc1 to 10.120.224.1 port 67



  • What version?



  • Sorry, I got excited.

    RELENG_1_SNAPSHOT-07-01-2006



  • What is strange about this situation is that there are no replies being registered.  Let me whip up another dhclient for you test.



  • Run this from a shell:

    /etc/rc.conf_mount_rw
    fetch -o /sbin/dhclient http://www.pfsense.com/~sullrich/dhclient



  • Thanks, that seems to have done the trick. you guys rock. By the way, did I need to restart anything? I just ran the command and it hasnt reappeared in the log for at least an hour.



  • Hrm.  Very strange.  I'll update the images.



  • Just out of curiosity, I rebooted my machine when I got home from work, and the DHCP client wont work. I chcked the interface settings, and it seems to look fine. There was nothing in the logs, but the Status:interfaces page said DHCP: Down. I clicked renew about 100 times, still no workie!!



  • Does dhclient even excecute now from a shell?

    Run dhclient <enter>and paste the results.</enter>



  • /sbin/dhclient: Permission denied

    I am logged in as root, even tried su and got the same error



  • chmod a+rx /sbin/dhclient

    shutdown -r now



  • Thanks,

    Ya know, I should really know better than to check the permissions!! I am supposedly a RedHat Certified Technician, but I gues it still makes me a pfsense certified Newbie.

    But since that other dhclient wasnt running until now, we cant be sure that the whole log problem is fixed. I will check back and post my results in an hour or so.

    Thanks again!



  • So far so good, im out for the night. I am sure its fine, but if it isnt, I will post in the morning. Thanks for such an awesome product!!



  • Sorry that I didnt post sooner, but I kinda forgot to check my system logs. Anyway, I just checked and :

    Jul 24 09:06:06 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 08:25:06 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 07:59:03 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 07:49:35 last message repeated 3 times
    Jul 24 07:38:55 last message repeated 2 times
    Jul 24 07:25:30 last message repeated 2 times
    Jul 24 07:17:24 last message repeated 2 times
    Jul 24 07:01:14 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 06:54:29 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 06:46:12 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 06:38:50 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 06:30:10 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 05:50:09 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 05:19:40 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 04:55:52 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 04:45:29 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 04:36:36 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 04:12:13 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 03:48:30 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 03:37:27 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67
    Jul 24 03:29:20 last message repeated 3 times
    Jul 24 03:18:02 last message repeated 2 times
    Jul 24 03:09:02 dhclient[2700]: DHCPREQUEST on dc1 to 10.120.224.1 port 67


Locked