dnsmasq restart with an improper resolv.dnsmasq overwrite ?

Discussion in 'Tomato Firmware' started by InfX, Jan 14, 2011.

  1. InfX

    InfX Addicted to LI Member

    First, let me show a partial log file:
    Jan 14 21:29:40 ? daemon.info dnsmasq[154]: exiting on receipt of SIGTERM
    Jan 14 21:29:40 ? daemon.info dnsmasq[523]: started, version 2.55 cachesize 150
    Jan 14 21:29:40 ? daemon.info dnsmasq[523]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 14 21:29:40 ? daemon.info dnsmasq-dhcp[523]: DHCP, IP range --, lease time 1d
    Jan 14 21:29:40 ? daemon.info dnsmasq[523]: reading /etc/resolv.dnsmasq
    Jan 14 21:29:40 ? daemon.info dnsmasq[523]: using nameserver
    Jan 14 21:29:40 ? daemon.info dnsmasq[523]: using nameserver
    Now, 2 questions...
    (1) Why would anything terminate the dnsmasq ?
    (2) How the heck did and ended up in the resolv.dnsmasq, previously containing the proper DNS servers from the ppp (l2tp) connection ?

    What the heck is going on there, since the switch to this stupid L2TP, the only things i get are troubles :(
  2. mstombs

    mstombs Network Guru Member

    dnsmasq is restarted on wan reconnect - those new values will have been received by dhcp, looks like some form of walled-garden fall-back when real connection broken?
  3. InfX

    InfX Addicted to LI Member

    The real (L2TP) connection was NOT broken, i've verified this by connecting to google by IP.
  4. teddy_bear

    teddy_bear Network Guru Member

    The L2TP/PPTP client in vanilla Tomato is very limited, rather slow, and has various problems.

    Since your provider is using L2TP I'd recommend you to try TomatoUSB if your router is capable of running ND firmware. It includes faster L2TP client software, and may solve this and possibly other issues.
  5. InfX

    InfX Addicted to LI Member

    My router is one of the WRT54GL series, and should be able to run the ND drivers, but i am not 100% sure about it, so i should better verify it's version first (the last thing i want is having to use JTAG as a result of my experiments). Thanks for the recommendation, i'll definitely try it if my router supports it.
  6. InfX

    InfX Addicted to LI Member

    teddy_bear, thanks for the recommendation, after making sure my router can run ND firmware, i've just flashed TomatoUSB, the USB-less version, stable (2.4 kernel based).

    First impressions ? It runs just fine. Stability ? Only the time can tell :)

    Anyway, all i can say now is thanks a lot. TBH, at first, i didn't even notice you were the one who did the TomatoUSB build, sorry about that :)
  7. rhester72

    rhester72 Network Guru Member

    All GLs can (and should!) run ND.

  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