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

PPPoE probs, gone back to Thibor15c

Discussion in 'Tomato Firmware' started by bleagh, May 22, 2007.

  1. bleagh

    bleagh Network Guru Member

    I don't know why, but Tomato seems to have problems reconnecting after a disconnect. Thibor15c doesn't have this problem, so I've gone back to it.

    My ISP is Qwest, I am using an Actiontec 1524 modem (in bridge mode).
    My IP address is dynamic, assigned by Qwest from a large pool of IP addresses. When the router connects (PPPoE), it usually keeps the same IP address for a week or more (even several weeks).

    Every now and then the connection is lost and the router has to reconnect. When this happens with Tomato, it just says 'reconnecting', but never actually reconnects (until I power cycle both the modem and router).

    Thibor15c doesn't have this problem. The only way I know that Thibor15c had to reconnect is to log into the modem and see that the 'connection uptime' has been restarted.

    When Thibor15c reconnects like this is always seems to get a different IP address from the previous one. But if I disconnect manually and let it reconnect I always get the same IP address unless I leave the connection down for a while (10 minutes or more).
     
  2. Odin-60

    Odin-60 LI Guru Member

    I can confirm the bug. I had never noticed it so far, because my
    DSL connection used to be rock-stable since I changed from
    DD-WRT to Tomato.

    Now I have tested it simply by removing the cable between the
    router and the DSL modem for a minute. When I put in the cable
    again, the router did not reconnect, even though PPPoE was
    configured for "keep alive". On the Overview page of the web GUI
    the state was indicated as "Connecting" forever.

    I performed the same experiment also with the PPPOE configuration
    changed to "connect on demand". Result: After an interruption the
    router did not reconnect when a client demanded WAN access.

    In both cases the router would reconnect only when I clicked on the
    "Connect" button or when I made it reboot.

    FYI: The problem occured both with v1.07 (on a Linksys WRT54GL)
    and with v1.06 (on a WRT54Gv 3.1).

    Do I have to revert to the sh...y DD-WRT v23SP2? :wall:
     
  3. affer

    affer LI Guru Member

    Just submit a bug report & give Jon a chance to fix it. Tomato is extremely stable, not to mention nicely executed. But it would be unrealistic to expect any complex piece of software to be 100% free of minor bugs. I can't confirm that this bug exists as I haven't seen a PPPoE type connection in years. But if it does, I'm sure that Jon will address it when can find the time.
     
  4. Talon88

    Talon88 LI Guru Member

    :::

    I tried to dub the case, I have tested it simply by Power off
    the DSL Modem for a minute. When I Turn it on again,
    I have no problem. v1.07 will auto renew the DSL & also DDNS
    after a few try. Here is the Log File for reference!

    Code:
    [SIZE="2"]
    12:45:33 Tomato user.info redial[74]: [B]WAN down, redialing...[/B]
    12:45:36 Tomato user.warn kernel: vlan1: Setting MAC address to  00 16 01 00 aa bb.
    12:45:36 Tomato daemon.notice pppd[5319]: pppd 2.4.1 started by root, uid 0
    12:46:36 Tomato user.info redial[74]: [B]WAN down, redialing...[/B]
    12:46:36 Tomato daemon.info pppd[5319]: Exit.
    12:46:39 Tomato user.warn kernel: vlan1: Setting MAC address to  00 16 01 00 aa bb.
    12:46:39 Tomato daemon.notice pppd[5345]: pppd 2.4.1 started by root, uid 0
    12:47:39 Tomato user.info redial[74]: [B]WAN down, redialing...[/B]
    12:47:39 Tomato daemon.info pppd[5345]: Exit.
    12:47:42 Tomato user.warn kernel: vlan1: Setting MAC address to  00 16 01 00 aa bb.
    12:47:42 Tomato daemon.notice pppd[5368]: pppd 2.4.1 started by root, uid 0
    12:48:08 Tomato daemon.info dnsmasq[116]: exiting on receipt of SIGTERM
    12:48:09 Tomato daemon.info dnsmasq[5387]: started, version 2.39 cachesize 150
    12:48:09 Tomato daemon.info dnsmasq[5387]: compile time options: no-IPv6 GNU-getopt no-RTC no-ISC-leasefile no-DBus no-I18N no-TFTP
    12:48:09 Tomato daemon.info dnsmasq[5387]: DHCP, IP range 192.168.1.101 -- 192.168.1.109, lease time 2d12h
    12:48:09 Tomato daemon.info dnsmasq[5387]: reading /etc/resolv.dnsmasq
    12:48:09 Tomato daemon.info dnsmasq[5387]: using nameserver 4.2.2.1#53
    12:48:09 Tomato daemon.info dnsmasq[5387]: using nameserver 208.67.220.220#53
    12:48:09 Tomato daemon.info dnsmasq[5387]: using nameserver 208.67.222.222#53
    12:48:09 Tomato daemon.info dnsmasq[5387]: read /etc/hosts - 0 addresses
    12:48:09 Tomato daemon.info dnsmasq[5387]: read /etc/hosts.dnsmasq - 10 addresses
    12:48:09 Tomato user.info rcheck[5391]: Activating rule 1
    12:48:10 Tomato user.info kernel: device br0 left promiscuous mode
    12:48:17 Tomato user.info ntpc[5407]: Time Updated: Wed, 23 May 2007 12:48:17 -0400 [+1s] 
    [/SIZE]
    :::
     
  5. bleagh

    bleagh Network Guru Member

    I think restarting either the modem or the router will allow it to reconnect. So the reconnect problem only occurs when neither modem or routher power cycles.
     
  6. Odin-60

    Odin-60 LI Guru Member

    Good idea!

    Now let's fake a DSL outage by disconnecting the modem from the
    telephone line for a minute or so, while the modem is not switched
    off.
    [... time passes ...]
    Surprise! Tomato 1.07 did reconnect properly :)

    Conclusion: Things are not quite as bad as they appeared at first
    glance. Yet there is undoubtedly a problem: A temporary
    interruption of the ethernet between the router and the modem
    should be handled properly. (After all, I've sucessfully tried that
    several times already when testing DD-WRT beta releases, on the
    same hardware.)
     
  7. Talon88

    Talon88 LI Guru Member

    :::

    Another Suprise.
    I tried unplug the LAN cable between Router & Modem for
    5-10 Sec. Then Plug it back, No PPPoE happened, same IP,
    connection is still there & browse WWW without problem,
    BT pickup again.... Any other way to fake a disconnect~

    :::
     
  8. Odin-60

    Odin-60 LI Guru Member

    PPPoE needs more time before the connection is logically
    regarded as broken. Watch the "Overview" page of the
    Tomato web GUI until it shows the status as "disconnected".
     
  9. jksmurf

    jksmurf Network Guru Member

    Sorry, I'm a bit confused :confused:

    Is this "problem" actually a problem or not? I VNC to my home PC often and it goes through my DSL modem I'd really need it to connect if it dropped out. Was on the verge of giving Tomatao a real go, but am going on leave shortly and don't want to lose the connection to my PC...

    k.
     
  10. bleagh

    bleagh Network Guru Member

    Well it certianly has been a problem for me. I have switched back and forth between Tomato and Thibor15c several times to make sure. And it has happend several times with Tomato. To date I have NEVER seen Tomato reconnect after it gets disconnected without me rebooting the router.

    While Thibor15c always reconnects just fine.

    I don't know if this will be a problem for everybody that uses PPPoE or not.
     
  11. digitalgeek

    digitalgeek Network Guru Member

    I have been having some odd disconnects, were I cannot reconnect correctly. After pushing the reconnect button a couple of times the connection will "stick".

    Not sure if this a major problem in 1.07, or if my sucky ISP is screwing with me...
    I am probably going to switch soon just don't know if I want to try another DSL (with no CAP) or take the hit and go to cable (which has a 60 or 100 gig cap)...
     

Share This Page