Results 1 to 9 of 9

Thread: Syslog filling up.

  1. #1

    Syslog filling up.

    Help, my syslog is filled up by dhcp messages as the leasetime of my ISP is very short. Every minute I get this:
    Code:
    Mar  3 12:29:29 udhcpc[127]: Lease of 80.202.221.xxx obtained, lease time 120
    Mar  3 12:29:29 dnsmasq[53]: read /etc/hosts - 5 addresses
    Mar  3 12:29:29 dnsmasq[53]: read /etc/ethers - 8 addresses
    Mar  3 12:29:29 dnsmasq[53]: reading /tmp/resolv.conf
    Mar  3 12:29:29 dnsmasq[53]: using nameserver 217.13.7.140#53
    Mar  3 12:29:29 dnsmasq[53]: using nameserver 217.13.4.24#53
    Mar  3 12:29:32 dhcp client: renew IP : 80.202.221.xxx from 80.202.221.1
    Is there a way to stop the router from logging these messages?

    I recently turned on IP-Passthrough feature of my ADSL modem. So either there is something in my modem to raise this lease time, or most likely its my ISP that has a veryshort lease time, although I really can't understand why.. My IP hasn't changed the 4 months I have had this ISP.

    So I guess all I can do is live with it and perhaps exclude the messages from my syslog? Is this possible?

    S

  2. #2
    Join Date
    Jan 2005
    Location
    Vienna
    Posts
    41
    Quote Originally Posted by barsju
    My IP hasn't changed the 4 months I have had this ISP.
    What about setting your WAN to fixed IP in that case?

    But before that ask your ISP if he is able to tell you your IP in case the "lease" will change (some aren't...)

  3. #3
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Please post firmware version too, perhaps this is one of those firmwares with extra debugging info enabled.

    I believe the DHCP lease time is selectable in the webconfig.

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by Styno
    Please post firmware version too, perhaps this is one of those firmwares with extra debugging info enabled.

    I believe the DHCP lease time is selectable in the webconfig.
    Styno, this is not the case.

  5. #5
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by Oleg
    Styno, this is not the case.
    Yep, I just got home from work and saw that there is no leastime option in the webinterface for the DHCP client part.

  6. #6
    Ok. I have olegs latest. 1.9.2.7 c.

    So I guess there is no easy way to turn it of. So I guess I have 2 options.
    -Use static ip. Is there any way of discovering that my ip has changed and then switch to dynamic through scripting?
    -Regularly go through my syslog and delete these entries. What is the easiest way of doing this? grep?

    Or are there any other suggetions?

    Sjur

  7. #7
    Join Date
    Jan 2005
    Location
    Vienna
    Posts
    41
    Quote Originally Posted by Styno
    I believe the DHCP lease time is selectable in the webconfig.
    Well, the lease time is obtained from the ISP's DHCP.
    barsju:
    But having 2h lease is a bit -> having 4 months the same IP...
    Maybe you contact your ISP and ask him to change to a bigger time for the first

  8. #8
    2h would be fine. Problem is that it's 2 min. (120 sec).. Which means I renew every minute!

    And it really is strange. I wouldn't have noticed if I didn't turn on IP-Passthrough feature which also forwardes DHCP. So either its an issue with the ip-pt feature or they actually have a 2 min lease time.. But once again.. The ip-adress i get is very stable. Maybe I'll check with the ISP but they really don't encourage people to mess with the modem and probably won't get an answer.. But I'll give it a shot..

    S

  9. #9
    Join Date
    Jan 2005
    Location
    Vienna
    Posts
    41
    120=2 min and not 2h
    ...then just change your WAN to fixed IP (for testing)
    if it works the next 3 minutes without big logs keep it and ask the isp (see before) i would say..

Similar Threads

  1. syslog file
    By the_slider in forum WL-500g Q&A
    Replies: 4
    Last Post: 11-07-2005, 11:11
  2. SNMP and syslog enhancements
    By Annihilator in forum WL-300g Custom Development
    Replies: 0
    Last Post: 10-02-2005, 00:14
  3. Syslog problem
    By Tamadite in forum WL-500g Q&A
    Replies: 0
    Last Post: 03-02-2005, 20:43
  4. pptp floods syslog
    By sodb in forum WL-500g Q&A
    Replies: 2
    Last Post: 14-01-2005, 23:06
  5. enable syslog in AP mode
    By init_{} in forum WL-500g Q&A
    Replies: 1
    Last Post: 09-06-2004, 12:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •