Apart from the change of "Check Interval" to "Redial Interval, (which I am doing now) I didn't see anything needed changing. What are you suggesting?
Without further info it's difficult to know but I see this in the syslog: Code: May 17 20:38:55 unknown daemon.info pppd[7378]: No response to 5 echo-requests May 17 20:38:55 unknown daemon.notice pppd[7378]: Serial link appears to be disconnected. May 17 20:38:55 unknown daemon.info pppd[7378]: Connect time 38.6 minutes. May 17 20:38:55 unknown daemon.info pppd[7378]: Sent 1151 bytes, received 1776 bytes. May 17 20:38:58 unknown user.info redial[7379]: WAN down. Reconnecting... Now, a) that's not exactly an busy link (!) and b) pppd tried to get 5 link echo responses and failed. Bear in mind that the link was up for 38 minutes. What I would try is setting up an IP ping every 30 secs or so, just to put a bit of traffic on the link. I'm wondering if your ISP doesn't count the LCP echos as an 'active' indicator and drops the link after 30 something minutes. Years ago I had a very strange ISP fault whereby the pppoe link was dropped silently, it looked to all intents & purposes like Tomato was the problem with certain firmware only...went and bought another router...similar issues but both the original firmware & the new router firmware masked them slightly better. Eventually ISP cleared the misconfiguration.
my first post about that ... Tomato RAF with included BitTorrent Client - beta testing @Toastman we need the lcp-echo-intervall option in gui too .... to set the intervall time lcp echo is for checking connection from router to isp ... if some isp's answer an echo only all 30 secs and u echo all 10 secs and one echo get really loosed .... and the isp answers only after 30 secs again ... there are 3 more that not answered echos ... now we have 5 ore more and connection drops :\ and u don't really need the lcp echo thing at all .... the router checks itself if he has no connection there was long time ago a discuss with the robert schlabbach ... he wrote paspppoe ... about the same thing with lcp echo with same conclusion
So what I think you're saying is that if 5 LCP echoes are lost IN TOTAL then ppp thinks the connection has gone away. Surely this is a ppp bug, it should be if 5 contiguous LCP echoes are lost then we should consider the link gone. In my opinion a successful LCP echo reply should reset the counter to 0. Every other solution is really a sticking plaster over the problem...either just not looking for echos are not worrying about how many are lost. I wonder what the RFCs say? Man page say: lcp-echo-failure nIf this option is given, pppd will presume the peer to be dead if n LCP echo-requests are sent without receiving a valid LCP echo-reply. If this happens, pppd will terminate the connection. Use of this option requires a non-zero value for the lcp-echo-interval parameter. This option can be used to enable pppd to terminate after the physical connection has been broken (e.g., the modem has hung up) in situations where no hardware modem control lines are available. this is ambiguous. It could be interpreted as saying 'if I get n LCP echo failures then the connection has dropped' - it doesn't say the failures have to be contiguous. The source code lcp-echo-failure option says 'number of consecutive echo failures....' I need to try and work out what the code is *really* doing.
Ok i set pppoe_lei to 0 and restarted wan. I left the web config page open so it refresh every 3 seconds the result is it still disconnect after 2 hours something. below is the log. http://pastebin.com/xc9a59Ew
It has been almost a year since I first tried to bring attention to this, but it's still happening in the latest builds. My ISP gives out IPv6 addresses over VLAN tagged PPPoE via DHCPv6 with prefix delegation. This requires the MTU to be 1492, rather than 1500. On my RT-N16 (1.28.7501 MIPSR2Toastman-RT K26 USB Ext) when I enable IPv6 with router advertisements, radvd does not take the settings I enter into the GUI. It seems to use the default config file baked into the firmware, announcing a /64, the prefix information, recursive DNS server and the source link layer address. It does not use any information entered into the IPv6 GUI, such as static DNS or prefix length. Nor does it take into account that the MTU must be different for v6 traffic to flow properly, even though it has been set manually in the PPP settings. The stock Asus firmware reports via radvd that the MTU on v6 traffic should be 1480 when the WAN MTU is set to 1492. For almost a year I've had a varyingly reliable system with a script running every 2 minutes to check if radvd is running, and if it is not then to start it with a custom radvd.conf file with the correct settings in it. I was recently speaking with someone on the same ISP as me, they are using an Asus WL-500g running v1.28.7821 MIPSR1-Toastman-ND K26 USB VPN-NOCAT, and their radvd apparently does use the MTU and DNS settings assigned to it via the GUI. It'd be great if this could be looked into further and resolved. Thanks.
Hello Toastman, I'm using your builds since a long time being very satisfied with features and overall stability. Thank you for your great work! Now to the issue I've got. My ASUS RT-N16 is running Tomato Firmware v1.28.7501 MIPSR2Toastman-RT K26 USB VLAN-VPN. My WAN is an ADSL line 8mbit/s DL / 512kbit/s UL. On May 11, I've bought a new Windows Phone 8 based smartphone, Nokia Lumia 920. Look what Tomato shows for it on Daily Traffic history page: 192.168.1.136 is my Lumia. Can you believe that smartphone could download ~40TB and upload ~3TB daily? Not to say I'm at home during working days only for about a half of day. For comparison, I've added to this list my laptop (192.168.1.102) and my torrent box running transmission (192.168.1.12), and their data look pretty reasonable. Btw, Realtime Bandwidth page shows almost no traffic for Lumia except tiny bursts for (I guess) push notifications and contacts/mail synchronization tasks. Any ideas what is this?
I done that and reboot the router. After some time, I cant browse any website nor getting response from ping but the router is showing connected with an IP address so obviously it is disconnected. I checked the ADSL modem and the ADSL link is on show time so i dont think it lost its sync. Now i had to clear the value in the Options field and its back to frequent disconnecting again..... @Kevin Darbyshire-Bryant How do i set up and IP ping every 30 sec? Put the code below in the init script? Code: ping www.google.com sleep 30000