Weird errors in logs

Discussion in 'Tomato Firmware' started by Cynsick, Dec 26, 2012.

  1. Cynsick

    Cynsick Addicted to LI Member

    I'm using Victek's Tomato RAF Firmware v1.28.8515 _RAF ND Std.

    I don't know when it started, but I know it wasn't like this a long time ago when I would look at the logs, now I get the following, "polluting" my logfile, it's pretty much continous. It stops for a bit but picks right back up. "Compname" is the name of the computer. How do I correct this error or what is wrong?

    Dec 26 02:09:42 unknown dnsmasq-dhcp[26458]: DHCPINFORM(br0)
    Dec 26 02:09:42 unknown dnsmasq-dhcp[26458]: DHCPACK(br0)
    Dec 26 02:12:30 unknown dnsmasq-dhcp[26458]: DHCPINFORM(br0)
    Dec 26 02:12:30 unknown dnsmasq-dhcp[26458]: DHCPACK(br0)
  2. koitsu

    koitsu Network Guru Member

    The system on your LAN is being a complete jerk regarding DHCP. It's continually pounding your router (every 2-3 seconds) demanding the list of DHCP options available. I cannot explain why DHCPACK is being sent back to the client continually. I recommend you figure out what on earth that client is doing.

    If you have configured dnsmasq/DHCP on your router in a customised way, please state every single adjustment you did (don't summarise) compared to stock defaults.

    Also, isn't the firmware you're using a bit old? I'm not sure -- correct me if I'm wrong please. Else it might be worthwhile upgrading to something newer, specifically something that comes with a newer dnsmasq build (i.e. includes bugfixes from the official dnsmasq author).
  3. Cynsick

    Cynsick Addicted to LI Member

    .137 is my computer, the only one connected, is the MAC address of it's ethernet adapter. I'm using Windows 7 64bit. Let me know if you need more info.
  4. Cynsick

    Cynsick Addicted to LI Member

    Hrm couldn't get the edit option to work right. From the Victek page 8515 is still supposedly the "newest" of the MIPSR1 K2.4 series. Yes I know it's very old, I've only rebooted this router a handful of times, those include power outages, so possibly 3 or less. ATM I'm at 383 days uptime. Would be 600 or 700+ w/o the power outages ;)
    I'm using a WRT54g-TM, which is like a WRT54GL, but it has more RAM, TM is short for T-Mobile.

    I check Vic's page weekly or more, he's stopped updating and I guess he's gone? I've looked around at Toastman and Shibby, if I were to swap firmwares I just don't know which of each of theirs to swap to, I think I'd want to stay away from the K2.6 series though I think they tax the old routers more?

    Under "Basic" and "Static DHCP" I've got .137 there. Under "Advanced" and "DHCP / DNS" I have Use internal DNS, Use received DNS with user-entered DNS, and Prevent DNS-rebind attacks checked. I also have "strict-order" typed into Dnsmasq Custom configuration, without the quotes.

    Thank you for the quick reply. I hope to hear some more :)
  5. mstombs

    mstombs Network Guru Member

    Win7 and other OSes do this when they think they don't have a connection to the internet, its helps workaround a fundamental limitation of the dhcp protocol:- the server cannot inform the client the lease is revoked - or maybe the router has been rebooted or address range changed, it is up to the client to check. Win7 is basically pinging the router to check its IP is valid, and if not would go through a complete renew cycle. I wish Tomato wan side dhcpc (BusyBox) also did this, AFAIK it will sit until the lease time runs out without doing anything - unless you have an extra 'ping script' monitoring the connection.

    I don't know what IP address or what port Win7 uses to check internet connection - I guess it phones home, it certainly looks beyond your local router.

    So the answer is to fix your internet connection or overly restrictive firewall/QOS rules.
  6. Toastman

    Toastman Super Moderator Staff Member Member

    Victek is still around, but working very hard and not so much time to spend on Tomato.

    8515 was a good build and I don't recall anything being wrong with dnsmasq. My last 2.4 build 7633.3 might be a little more up to date if you wish to try it. but I think the problem is with your PC, as mstombs suggests.
  7. Cynsick

    Cynsick Addicted to LI Member

    For a firewall I have Comodo 5.10, using Windows 7 64bit, no QOS rules in router, I have no idea how to "fix" the connection or what to change on the firewall as I have no connection issues whatsoever. Everything runs fine.
  8. Cynsick

    Cynsick Addicted to LI Member

    I "solved" the error lines in the log, but I don't like the way I did it. I want to the adapter within W7 x64 and manually set the IP address and DNS, the lines don't show up anymore. If anyone has another way w/o this let me know :)
  9. mvsgeek

    mvsgeek LI Guru Member

    Cynsick likes this.
  10. Cynsick

    Cynsick Addicted to LI Member

    WOW, excellent find. TY so much for finding that post. Now in the Dnsmasq custom configuration section I already have "strict-order" do I just type in a separate line "quiet-dhcp" or do I add a space after "strict-order"? Also does this totally disable any DHCP type logging? Like what computer got an IP or it only shuts down that message of DHCPINFORM and DHCPACK?
  11. koitsu

    koitsu Network Guru Member

    Cynsick, the option in question only applies to a very specific Tomato firmware/fork. It is not available in all firmwares. Read very slowly/carefully the entire post, do not skim:

    This option is not in every dnsmasq build, meaning the official dnsmasq author does not offer this functionality (and I'm in agreement with him).

    Finally, the option in question does not actually fix the problem -- all it does is hide it. As such, I strongly recommend people do not use this "workaround". I instead recommend people take the time to figure out what is truly going on with their systems/devices that is causing this behaviour. You're going to need to install Windows 7 fresh on your system, without any nonsense (like Comodo) and begin taking notes/writing down exactly when the issue starts. I recommend keeping a pad of paper on your desk and writing down whenever you install any program or adjust any software settings. Eventually you will figure out what program/thing it is that causes it -- cease use of said thing.

    Regarding adding lines to the dnsmasq configuration: the directive in question needs to be on its own line. All things in the Custom dnsmasq Configuration section are appended to the dnsmasq.conf file verbatim. For the syntax of that file, read (do not skim) the official docs.
  12. Cynsick

    Cynsick Addicted to LI Member

    Yes I see now, it just hides the problem and doesn't address what is the symptom.
  13. mvsgeek

    mvsgeek LI Guru Member

    It hides all DHCP-related messages, including IP/MAC address assignments.
    I also have a piece of black electrical tape over my car's check engine light:D
  14. Cynsick

    Cynsick Addicted to LI Member

    I thought you liked your dashboard looking like a Christmas tree with all the blinking lights and beeping.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice