1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomato can't connect to ISP unless certain computer is on

Discussion in 'Tomato Firmware' started by aarondev, Jan 19, 2010.

  1. aarondev

    aarondev Addicted to LI Member

    Hi All,

    Looking for some help with an unusual problem. My home network is setup as follows:
    - Tomato router connects to ISP (PPPOE with username and password)
    - My computer wired to Tomato router
    - My wife's computer wireless access to Tomato router
    - small media server wired to Tomato router

    All the machines on the network get a static IP served to them by Tomato. (Any other details you need, please feel free to ask :) )

    The problem is this: if my computer is off, Tomato reports that it can't connect to my ISP. Using my wifes wireless connection, I can get to Tomato's browser-based GUI (the connection between wife's computer and Tomato is strong). But I can't get beyond Tomato (can't hit google, for example). The connection status is "Disconnected" and clicking the "Connect" button does not seem to do anything.

    Also strange: if my computer is off, my wife's computer can't connect to the browser-based GUI for the media server.

    To summarize, it seems that if one "special" computer on the network is off, the Tomato router fails to pass packets across the network (although it easily handles connections to and from itself) and fails to connect to the ISP.

    I've searched through many FAQs, manuals and wiki's. I've re-flashed the firmware from 1.25 to 1.27. I haven't read through the log files yet (actually, I'm not sure what level of logging is currently being done), but I think I know how to get to them should anyone suggest that; I'm hoping, instead, that this is a quirk that other people have encountered.

    Any advice, questions, comments or jokes would be greatly appreciated :)

    Thanks
     
  2. Planiwa

    Planiwa LI Guru Member

    How does "Tomato report it can't connect PPPoE Session"?

    How's about turning on PPPoE logging and then posting your log?
     
  3. aarondev

    aarondev Addicted to LI Member

    Thanks for your request for more info. I'd love any help I can get here.

    I turned on PPPOE logging, restarted my router and then turned off my computer. I waited a few minutes and then turned on my wife's computer. From there, I logged into the GUI and, on the Status->Overview screen, I clicked the "Connect" button (as the status on that screen was currently set to "Disconnected"). I waited a bit, then tried it again. Then I turned off my wife's computer. Then I turned on my computer, ssh-ed into tomato and grabbed the relevant section of /var/log/messages. I've posted it below, with some comments inline:

    #Probably just finished rebooting router
    Jan 20 08:24:42 unknown authpriv.warn dropbear[331]: Failed reading '/etc/dropbear/dropbear_dss_host_key', disabling DSS
    Jan 20 08:24:42 unknown authpriv.info dropbear[333]: Running in background
    Jan 20 08:24:50 unknown cron.err crond[88]: time disparity of 21066564 minutes detected
    #The IP below is my computer - reconnecting I guess
    Jan 20 08:24:52 unknown authpriv.info dropbear[338]: Child connection from 192.168.1.120:45240
    # I quickly ssh-ed in to look at the logs at this point
    Jan 20 08:24:57 unknown authpriv.notice dropbear[338]: password auth succeeded for 'root' from 192.168.1.120:45240
    Jan 20 08:30:15 unknown authpriv.info dropbear[338]: exit after auth (root): Exited normally
    # Turned off my computer at this point
    #The IP below is my wife's computer, so this is probably where I turned her machine on
    Jan 20 08:40:33 unknown daemon.info dnsmasq-dhcp[95]: DHCPREQUEST(br0) 192.168.1.110 00:21:00:31:35:bb
    Jan 20 08:40:33 unknown daemon.info dnsmasq-dhcp[95]: DHCPACK(br0) 192.168.1.110 00:21:00:31:35:bb tima
    Jan 20 08:40:57 unknown daemon.info pppoe[64]: Received LCP Termination-Request
    Jan 20 08:40:57 unknown daemon.info pppoe[64]: Sending LCP Termination-Ack
    Jan 20 08:40:58 unknown daemon.info pppoe[64]: Received LCP Termination-Request
    Jan 20 08:40:58 unknown daemon.info pppoe[64]: Sending LCP Termination-Ack
    Jan 20 08:40:59 unknown daemon.info dnsmasq-dhcp[95]: DHCPINFORM(br0) 192.168.1.110 00:21:00:31:35:bb
    Jan 20 08:40:59 unknown daemon.info dnsmasq-dhcp[95]: DHCPACK(br0) 192.168.1.110 00:21:00:31:35:bb Hundrin
    Jan 20 08:41:01 unknown daemon.info pppoe[64]: Connection terminated.
    Jan 20 08:41:01 unknown daemon.notice pppoe[64]: Disconnected.
    Jan 20 08:41:01 unknown daemon.notice pppoe[64]: Connect time 17.1 minutes.
    Jan 20 08:41:01 unknown daemon.notice pppoe[64]: Sent 2148947 bytes, received 5860484 bytes.
    Jan 20 08:41:01 unknown daemon.info pppoe[64]: Sending PADT.
    Jan 20 08:41:01 unknown user.info redial[62]: WAN down. Reconnecting...
    Jan 20 08:41:01 unknown daemon.info dnsmasq[95]: exiting on receipt of SIGTERM
    Jan 20 08:41:01 unknown daemon.info pppoe[64]: Exiting
    Jan 20 08:41:01 unknown daemon.info dnsmasq[396]: started, version 2.51 cachesize 150
    Jan 20 08:41:01 unknown daemon.info dnsmasq[396]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:41:01 unknown daemon.info dnsmasq-dhcp[396]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:41:01 unknown daemon.warn dnsmasq[396]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:41:01 unknown daemon.info dnsmasq[396]: read /etc/hosts - 0 addresses
    Jan 20 08:41:01 unknown daemon.info dnsmasq[396]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:41:01 unknown daemon.info pppoe[399]: Starting
    Jan 20 08:41:01 unknown daemon.info pppoe[399]: Sending PADI.
    Jan 20 08:41:01 unknown user.info redial[398]: Started. Time: 5
    Jan 20 08:41:11 unknown daemon.info pppoe[399]: Resending...
    Jan 20 08:41:16 unknown user.info redial[398]: WAN down. Reconnecting...
    Jan 20 08:41:16 unknown daemon.info dnsmasq[396]: exiting on receipt of SIGTERM
    Jan 20 08:41:16 unknown daemon.info dnsmasq[404]: started, version 2.51 cachesize 150
    Jan 20 08:41:16 unknown daemon.info dnsmasq[404]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:41:16 unknown daemon.info dnsmasq-dhcp[404]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:41:16 unknown daemon.warn dnsmasq[404]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:41:16 unknown daemon.info dnsmasq[404]: read /etc/hosts - 0 addresses
    Jan 20 08:41:16 unknown daemon.info dnsmasq[404]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:41:24 unknown daemon.info pppoe[407]: Starting
    Jan 20 08:41:24 unknown daemon.info pppoe[407]: Sending PADI.
    Jan 20 08:41:24 unknown user.info redial[406]: Started. Time: 5
    Jan 20 08:41:34 unknown daemon.info pppoe[407]: Resending...
    Jan 20 08:41:39 unknown user.info redial[406]: WAN down. Reconnecting...
    Jan 20 08:41:39 unknown daemon.info dnsmasq[404]: exiting on receipt of SIGTERM
    Jan 20 08:41:39 unknown daemon.info dnsmasq[412]: started, version 2.51 cachesize 150
    Jan 20 08:41:39 unknown daemon.info dnsmasq[412]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:41:39 unknown daemon.info dnsmasq-dhcp[412]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:41:39 unknown daemon.warn dnsmasq[412]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:41:39 unknown daemon.info dnsmasq[412]: read /etc/hosts - 0 addresses
    Jan 20 08:41:39 unknown daemon.info dnsmasq[412]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:41:46 unknown daemon.info pppoe[415]: Starting
    Jan 20 08:41:46 unknown daemon.info pppoe[415]: Sending PADI.
    Jan 20 08:41:46 unknown user.info redial[414]: Started. Time: 5
    Jan 20 08:41:56 unknown daemon.info pppoe[415]: Resending...
    Jan 20 08:42:00 unknown daemon.info dnsmasq[412]: exiting on receipt of SIGTERM
    Jan 20 08:42:01 unknown daemon.info dnsmasq[428]: started, version 2.51 cachesize 150
    Jan 20 08:42:01 unknown daemon.info dnsmasq[428]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:42:01 unknown daemon.info dnsmasq-dhcp[428]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:42:01 unknown daemon.warn dnsmasq[428]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:42:01 unknown daemon.info dnsmasq[428]: read /etc/hosts - 0 addresses
    Jan 20 08:42:01 unknown daemon.info dnsmasq[428]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:42:08 unknown daemon.info pppoe[433]: Starting
    Jan 20 08:42:08 unknown daemon.info pppoe[433]: Sending PADI.
    Jan 20 08:42:08 unknown user.info redial[432]: Started. Time: 5
    Jan 20 08:42:18 unknown daemon.info pppoe[433]: Resending...
    Jan 20 08:42:20 unknown daemon.info dnsmasq[428]: exiting on receipt of SIGTERM
    Jan 20 08:42:20 unknown daemon.info dnsmasq[448]: started, version 2.51 cachesize 150
    Jan 20 08:42:20 unknown daemon.info dnsmasq[448]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:42:20 unknown daemon.info dnsmasq-dhcp[448]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:42:20 unknown daemon.warn dnsmasq[448]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:42:20 unknown daemon.info dnsmasq[448]: read /etc/hosts - 0 addresses
    Jan 20 08:42:20 unknown daemon.info dnsmasq[448]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:42:27 unknown user.info redial[452]: Started. Time: 5
    Jan 20 08:42:27 unknown daemon.info pppoe[453]: Starting
    Jan 20 08:42:27 unknown daemon.info pppoe[453]: Sending PADI.
    Jan 20 08:42:37 unknown daemon.info pppoe[453]: Resending...
    Jan 20 08:42:42 unknown user.info redial[452]: WAN down. Reconnecting...
    Jan 20 08:42:43 unknown daemon.info dnsmasq[448]: exiting on receipt of SIGTERM
    Jan 20 08:42:43 unknown daemon.info dnsmasq[484]: started, version 2.51 cachesize 150
    Jan 20 08:42:43 unknown daemon.info dnsmasq[484]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:42:43 unknown daemon.info dnsmasq-dhcp[484]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:42:43 unknown daemon.warn dnsmasq[484]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:42:43 unknown daemon.info dnsmasq[484]: read /etc/hosts - 0 addresses
    Jan 20 08:42:43 unknown daemon.info dnsmasq[484]: read /etc/hosts.dnsmasq - 5 addresses
    # I'm not sure where I turned off my wife's computer. My best guess would be around this time
    Jan 20 08:42:50 unknown daemon.info pppoe[490]: Starting
    Jan 20 08:42:50 unknown daemon.info pppoe[490]: Sending PADI.
    Jan 20 08:42:50 unknown user.info redial[489]: Started. Time: 5
    Jan 20 08:42:52 unknown daemon.info dnsmasq[484]: exiting on receipt of SIGTERM
    Jan 20 08:42:52 unknown daemon.info dnsmasq[494]: started, version 2.51 cachesize 150
    Jan 20 08:42:52 unknown daemon.info dnsmasq[494]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:42:52 unknown daemon.info dnsmasq-dhcp[494]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:42:52 unknown daemon.warn dnsmasq[494]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:42:52 unknown daemon.info dnsmasq[494]: read /etc/hosts - 0 addresses
    Jan 20 08:42:52 unknown daemon.info dnsmasq[494]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:42:59 unknown daemon.info pppoe[500]: Starting
    Jan 20 08:42:59 unknown daemon.info pppoe[500]: Sending PADI.
    Jan 20 08:42:59 unknown user.info redial[499]: Started. Time: 5
    Jan 20 08:43:09 unknown daemon.info pppoe[500]: Resending...
    Jan 20 08:43:14 unknown user.info redial[499]: WAN down. Reconnecting...
    Jan 20 08:43:14 unknown daemon.info dnsmasq[494]: exiting on receipt of SIGTERM
    Jan 20 08:43:14 unknown daemon.info dnsmasq[507]: started, version 2.51 cachesize 150
    Jan 20 08:43:14 unknown daemon.info dnsmasq[507]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:43:14 unknown daemon.info dnsmasq-dhcp[507]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:43:14 unknown daemon.warn dnsmasq[507]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:43:14 unknown daemon.info dnsmasq[507]: read /etc/hosts - 0 addresses
    Jan 20 08:43:14 unknown daemon.info dnsmasq[507]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:43:22 unknown daemon.info pppoe[510]: Starting
    Jan 20 08:43:22 unknown daemon.info pppoe[510]: Sending PADI.
    Jan 20 08:43:22 unknown user.info redial[509]: Started. Time: 5
    Jan 20 08:43:32 unknown daemon.info pppoe[510]: Resending...
    Jan 20 08:43:37 unknown user.info redial[509]: WAN down. Reconnecting...
    Jan 20 08:43:37 unknown daemon.info dnsmasq[507]: exiting on receipt of SIGTERM
    Jan 20 08:43:37 unknown daemon.info dnsmasq[515]: started, version 2.51 cachesize 150
    Jan 20 08:43:37 unknown daemon.info dnsmasq[515]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:43:37 unknown daemon.info dnsmasq-dhcp[515]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:43:37 unknown daemon.warn dnsmasq[515]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan 20 08:43:37 unknown daemon.info dnsmasq[515]: read /etc/hosts - 0 addresses
    Jan 20 08:43:37 unknown daemon.info dnsmasq[515]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:43:42 unknown user.info redial[517]: Started. Time: 5
    Jan 20 08:43:42 unknown daemon.info pppoe[518]: Starting
    Jan 20 08:43:42 unknown daemon.info pppoe[518]: Sending PADI.
    Jan 20 08:43:42 unknown daemon.info pppoe[518]: Received PADO.
    Jan 20 08:43:42 unknown daemon.info pppoe[518]: Sending PADR.
    Jan 20 08:43:42 unknown daemon.info pppoe[518]: Received PADS. SID: 0xE315
    Jan 20 08:43:42 unknown daemon.info pppoe[518]: Sending LCP Configuration-Request
    Jan 20 08:43:43 unknown daemon.info pppoe[518]: Received LCP Configuration-Request
    Jan 20 08:43:43 unknown daemon.info pppoe[518]: Sending LCP Configuration-Ack
    Jan 20 08:43:43 unknown daemon.info pppoe[518]: Received LCP Configuration-Ack
    Jan 20 08:43:43 unknown daemon.info pppoe[518]: Sending PAP Authenticate-Request.
    Jan 20 08:43:44 unknown daemon.info pppoe[518]: PAP authentication succeeded.
    Jan 20 08:43:44 unknown daemon.info pppoe[518]: Sending IPCP Configuration-Request
    Jan 20 08:43:44 unknown daemon.info pppoe[518]: Received IPCP Configuration-Nak
    Jan 20 08:43:44 unknown daemon.info pppoe[518]: Sending IPCP Configuration-Request
    Jan 20 08:43:44 unknown daemon.info pppoe[518]: Received IPCP Configuration-Ack
    Jan 20 08:43:44 unknown daemon.info pppoe[518]: Received IPCP Configuration-Request
    Jan 20 08:43:44 unknown daemon.info pppoe[518]: Sending IPCP Configuration-Ack
    Jan 20 08:43:44 unknown daemon.notice pppoe[518]: Connected.
    Jan 20 08:43:44 unknown daemon.notice pppoe[518]: IP Address: 69.165.134.3
    Jan 20 08:43:44 unknown daemon.notice pppoe[518]: DNS Address: 206.248.154.22, 206.248.154.170
    Jan 20 08:43:44 unknown daemon.info dnsmasq[515]: exiting on receipt of SIGTERM
    Jan 20 08:43:44 unknown daemon.info dnsmasq[525]: started, version 2.51 cachesize 150
    Jan 20 08:43:44 unknown daemon.info dnsmasq[525]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts no-TFTP
    Jan 20 08:43:44 unknown daemon.info dnsmasq-dhcp[525]: DHCP, IP range 192.168.1.100 -- 192.168.1.149, lease time 1d
    Jan 20 08:43:44 unknown daemon.info dnsmasq[525]: reading /etc/resolv.dnsmasq
    Jan 20 08:43:44 unknown daemon.info dnsmasq[525]: using nameserver 206.248.154.170#53
    Jan 20 08:43:44 unknown daemon.info dnsmasq[525]: using nameserver 206.248.154.22#53
    Jan 20 08:43:44 unknown daemon.info dnsmasq[525]: read /etc/hosts - 0 addresses
    Jan 20 08:43:44 unknown daemon.info dnsmasq[525]: read /etc/hosts.dnsmasq - 5 addresses
    Jan 20 08:43:47 unknown daemon.notice miniupnpd[132]: received signal 15, good-bye
    Jan 20 08:43:47 unknown daemon.notice miniupnpd[555]: HTTP listening on port 5000
    Jan 20 08:44:09 unknown daemon.info dnsmasq-dhcp[525]: DHCPDISCOVER(br0) 00:1f:c6:1d:63:08
    #This is where I turn on my computer again (?) IP below
    Jan 20 08:44:09 unknown daemon.info dnsmasq-dhcp[525]: DHCPOFFER(br0) 192.168.1.120 00:1f:c6:1d:63:08
    Jan 20 08:44:09 unknown daemon.info dnsmasq-dhcp[525]: DHCPREQUEST(br0) 192.168.1.120 00:1f:c6:1d:63:08
    Jan 20 08:44:09 unknown daemon.info dnsmasq-dhcp[525]: DHCPACK(br0) 192.168.1.120 00:1f:c6:1d:63:08 heavy
    Jan 20 08:44:29 unknown authpriv.info dropbear[695]: Child connection from 192.168.1.120:56148
    Jan 20 08:44:37 unknown authpriv.notice dropbear[695]: password auth succeeded for 'root' from 192.168.1.120:56148
     
  4. BeHappy

    BeHappy Network Guru Member

    Sounds like the mac address issue. Probably your provider has bound your pc's MAC to their PPOE request. You can choose either clone your router w. your pcs mac or request your provider to register your routers mac to their system
     
  5. Planiwa

    Planiwa LI Guru Member

    You had written:
    "The problem is this: if my computer is off, Tomato reports that it can't connect to my ISP."

    I asked you how, but you didn't answer.

    Your log shows that it is not so:

    When your wife's computer (tima=Hundrin) connects, PPP is terminated
    Then, when wife's computer disconnects, PPP succeeds (with you computer(heavy) still off).

    Perhaps your wife's computer is infected?
    Are you in Toronto, per chance?
     

Share This Page