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

Toastman Releases

Discussion in 'Tomato Firmware' started by Toastman, Dec 18, 2011.

  1. Toastman Super Moderator

    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?
  2. Toastman Super Moderator


    Thanks, much appreciated! fixed locally... ( I have them all now).
  3. Kevin Darbyshire-Bryant Serious Server

    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.
  4. M0g13r Networkin' Nut

    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
  5. Kevin Darbyshire-Bryant Serious Server

    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.
  6. tvcat Reformed Router

    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
  7. M0g13r Networkin' Nut

    in the GUI

    basic/network

    in the field Options u add .... lcp-echo-interval 0
    nothing else
  8. Lorenceo Reformed Router

    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.
  9. Dmitry Reformed Router

    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:
    [IMG]

    192.168.1.136 is my Lumia.
    Can you believe that smartphone could download ~40GB and upload ~3GB 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?
  10. tvcat Reformed Router

    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
  11. Mercjoe Network Guru

    Your scale is set to KB, not GB so you are not moving near as much data as you think.

    Granted, for a phone you are still using a LOT of data, but not in the TB range.
  12. Dmitry Reformed Router

    Oops, sorry, my mistake. 45,475,753.00 KB is ~45 GB, not TB of course. So the correct statement should be "Can you believe that smartphone could download ~40GB and upload ~3GB daily?"
    But this does not change my issue. Comparison with laptop and 24/7 torrent box is still valid.

    PS. I'll edit my original post to not confuse anybody once again.
  13. Mercjoe Network Guru


    Does the windows phone have a network usage tracker like Android? I would look at that and see how much Wi-Fi traffic has been used. If they agree then I would start looking at individual apps and see what is going on. If they don't agree.... then you may have found a newer bug.

    I wonder if this has to do with the patch RMerlin asked about back on posy #1892 of this thread?? He indicated that cstats would be affected and that is the source for the IP bandwidth data.
  14. Chad Burks Serious Server

    Hi Everyone,
    I just tested the 1.28.0502.5 MIPSR2Toastman-RT-N K26 USB VPN-NOCAT build on both my E3200 and E4200. The IPv6 issue (with Hurricane Electric) is fixed in this build...at least for me :) Thanks!
  15. Toastman Super Moderator

    May 19 2013 - 1.28.7502.5 and variants - BETA BUILD FOR EVALUATION!

    • Cosmetics - Basic-Network page (change "Check Interval" to "Redial Interval")
    • cstats - Don't add traffic to the tree if we decided we weren't ready for an update - this would cause some traffic to be added twice
    • cstats - missing from 8d765d18aa25a4490cb4c4af7703f0a7f8c7689f
    And something for people to try, feedback welcome - Thanks to Kevin

    • Add GUI for manual IPv6RD configuration - Basic/untested


    Thanks to Kevin and RMerlin - and to everyone for the feedback :D

    WARNING - DHCP IS DISABLED BY DEFAULT. DON'T FORGET
    TO TURN IT ON IF YOU NEED IT.
  16. Beast LI Guru

    After setting up, 6rd Relay and finding it not working. The ( Disable ) Selection's Save Button does not seem to work.

    Latest 502.5 Beta on RT-N16
  17. Toastman Super Moderator

    I'm using an RT-N16 - ext build - and although I can't set up a working tunnel at my location, the save button seems to work ok. Anyone else?
  18. Dmitry Reformed Router

    Unfortunately, WP is more like iOS in its very restricted API, so no traffic counters here.
    But I don't need to count traffic on smatrphone to tell that Tomato is wrong. Look:

    Fresh daily summaries:
    [IMG]

    Last 24 hour for Lumia, very few traffic, and note totals below the graph:
    [IMG]

    For my laptop:[IMG]

    And for torrent box:[IMG]

    So I would tell that Tomato shows reasonably correlated data for laptop and for torrent box, but not for smartphone.

    By the way, can you imagine what battery drain would occur if smartphone constantly transfer such amounts of data? But my smartphone is pretty cool and long running. Just because it is idle.
  19. Toastman Super Moderator

    yep. Doesn't make much sense to me, either.
  20. Kevin Darbyshire-Bryant Serious Server

    That's strange. I've swapped between '6 in 4 static tunnel', '6rd' and 'disabled' without problem (actually not strictly true - there's a slight oversight on my part with regard to ipv6_tun_mtu 'default' value....which is a bit of an 'oooops!' - Toastman I'll be in contact :) I did have a problem with connectivity 'cos I was using IPv6 to connect to the router at one point....probably best to use the IPv4 address whilst playing around with IPv6 tunnels etc otherwise it can look like the router has gone away :)

    Did you reset nvram after upgrade? There are some new nvram variables which if unset may be causing the gui some issues. What do you have set for the following vars? (nvram get varname)

    ipv6_6rd_prefix
    ipv6_6rd_prefix_length
    ipv6_6rd_borderrelay
    ipv6_6rd_ipv4masklen

    Also, when you said the tunnel didn't work a few questions:

    1) did you remove your tunnel set-up scripts in init etc and reboot the router?
    2) where did you test the basic ipv6 connectivity from? I'm hoping the router. If a PC then the PC might have needed a reboot as well. It's always worth doing basic ping tests from the router first - if they fail then the router is unhappy, if they succeed then it's something to do with IPv6 LAN addressing (dnsmasq)
    3) Did the router status page show any form of IPv6 address (LAN/WAN)

    Manual 6RD is not something I can test for real as my ISP doesn't use it, but it did at least attempt to set up a tunnel with what appeared to be sensible tunnel addresses when I tried.
  21. Kevin Darbyshire-Bryant Serious Server

    No that won't work. What I'd do instead is use an external monitoring service like http://f8lure.mouselike.org/auth.asp - that way you get latency graphs 'n stuff as well.

    But I'm coming around to the opinion that there's nothing wrong with pppd and instead your ISP is doing something 'odd'.
  22. Victek Network Guru

    Keith, I think you have still pending patches to apply.... there is a garbage of 32-bit counters lost data to be accounted.
  23. Toastman Super Moderator

    Dmitry, are you using the latest version or still the old 7501 ? I believe this was fixed already.
  24. Dmitry Reformed Router

    I'm still on Tomato Firmware v1.28.7501 MIPSR2Toastman-RT K26 USB VLAN-VPN
    Do you suggest me to upgrade to 7502.5 or wait for 7502.6?
    And I wonder if this beta version will work stable for me assuming I'm not using Ipv6?
  25. Kevin Darbyshire-Bryant Serious Server

    cstats (the thing that does the iptraffic stuff) has for a long time had some errrr 'features' about it. These features are gradually being squashed, there's been a big effort on this recently by Rmerlin, the results of his effort on the Asus version of the code have been ported (slightly erratically) to Toastman's & Victek's latest betas - I'd suggest upgrading AND deleting your cstats history if you have any.

    For those interested in such things, the majority of problems were caused by using 32 bit counter variables...and 4GB really isn't a lot of data these days :) It would also be fair to say that this area of the code is still being worked on.
  26. Dmitry Reformed Router

    Ok, I'll try upgrading to the latest.
    But I wonder why my new WP smartphone is so special? I don't have any complaints on how traffic for my torrent box and laptop is calculated (and for other network devices that I'm not showing here - I have a few more devices - wife's laptop, kids' desktop, htpc, old winmobile smartphone, one android device).
    Anyway, I'll upgrade and let's see then.
  27. Beast LI Guru

    Toastman and kevin, no I have not reset nvram for the last 3 updates. Will do that when I update to the .6 vlan version. Toastman, I was talking about the ability to choose DISABLE all IP6 stuff and then The SAVE button will not work for me. I will report back after the update, I still do not see any VLAN version yet.
  28. Dmitry Reformed Router

    So I've upgraded to 7502.5, reset stats, and ran it for a few hours. The issue has gone. Now Tomato shows reasonable traffic for my Lumia as well as for other devices. Thanks everybody for your help!

    PS. I'm still curious why ONLY Lumia had garbage stats while on 7501? :confused:
  29. Orwell Reformed Router

    Toastman,

    Is it possible that your mediafire.com account will be updated? new builds 1.28.7634 (MIPSR1 K24) are missing.


    Thanks

  30. Beast LI Guru

    Ok updated to .6 and reset nvram, 63d relay does not appear to work with charter. Getting mixed results. One thing I noticed is if I leave ALL U NEED ADBLOCK in WanUP --- IPV6--- Does Not work at all, and without this is the result in part. It does see a IPv6 IP and then this.

    Your IPv6 service appears to be: Teredo
    [IMG] Your Internet Service Provider (ISP) appears to be CHARTER-NET-HKY-NC - Charter Communications
    [IMG] Good news! Your current configuration will continue to work as web sites enable IPv6.
    [IMG] You appear to be able to browse the IPv4 Internet only. You will not be able to reach IPv6-only sites.
    [IMG] Your IPv6 connection appears to be using Teredo, a type of IPv4/IPv6 gateway; currently it connects only to direct IP's. Your browser will not be able to go to IPv6 sites by name. This means the current configuration is not useful for browsing IPv6 web sites.
    [IMG] Your DNS server (possibly run by your ISP) appears to have no access to the IPv6 Internet, or is not configured to use it. This may in the future restrict your ability to reach IPv6-only sites. [more info]
  31. Kevin Darbyshire-Bryant Serious Server

    Yeah a real mixed bag! :confused: I'll PM you with some things to try/send me - it would be really good to get 6RD working as a menu option rather than custom scripts etc. I was hoping it would all just work. Oh well :(
  32. adlerfra Addicted to LI

    Running 7502.6 for 36 hours. 18 devices connected. Stable and web browsing is fast. Wireless signal is strong too on channel 11, N-only, Country/Region=US, and default transmit power of 17.
  33. Gitsum LI Guru

    Change log for 7502.6?
  34. HunterZ Networkin' Nut

    By coincidence, I was looking to download the latest MIPSR2 RT K26 USB VPN build while toastman was in the middle of uploading 7502.6. I waited until it went up, then grabbed & flashed it with an NVRAM erase.

    I then meticulously migrated my settings from 7500, only to end up having to do an NVRAM reset later than night after temporarily bricking my router by doing something stupid. I ended up just loading my backup file from 7500 and not worrying about NVRAM compatibility issues, because at that point it was way past my bedtime on a work night.

    Anyways, it appears to be working fine. I even got DDNS (via No-IP) and OpenVPN server set up so that I can tunnel in with my Android phone (via Arne Schwabe's excellent "OpenVPN for Android" client, as the official OpenVPN Connect client wouldn't work for me for some reason).
  35. adlerfra Addicted to LI

    Extracted from Toastman's change log:

    ____________________________________________________________________________
    May 22 2013 - 1.28.7502.6 and variants


    - Allow 0 default value for ipv6 tunnel MTU
    - cstats fixes - a couple of places where uint64 vars were being printf'd etc...
    - Expose pppoe lcp echo parameters in gui
    Force prefix length of /64 in dnsmasq.conf

    "Will allow dnsmasq to start & perform RA on 1st all zeroes subnet
    of </64 prefixes. Which may in turn reduce the headaches of those
    blindly configuring /56 or /48 tunnels - at least some RA is done.
    If it's wrong, then use dnsmasq.custom. IPv6 is too big for us to
    cope with every option :)" - KDB

    Thanks to everyone for the feedback!

    WARNING - DHCP IS DISABLED BY DEFAULT. DON'T FORGET
    TO TURN IT ON IF YOU NEED IT.
  36. Toastman Super Moderator

    I am not at home, and 7502.6 was set to upload in my absence. Looks like it finished all but a few odd failed files, which I will fix now.

    Please download the latest uploaded version of 7502.6. I see that previously upladed versions were showing as ready to download, but I didn't set permissions on the folders to do that yet.

    Thanks to Kevin for his work on the ipV6 and to RMerlin for cstats and other tips.
  37. Noodle Networkin' Nut

    Just download and installed 7502.6 on my E3000. I'm using ATT U-verse. So I select "6rd Relay" and "6rd Routed Prefix" 2602:300::, mask length: 28. But it still using 32 as mask length to calculate IPv6. I also tried different number, looks like "6rd Routed Mask Length" is not used but always 32.
  38. Toastman Super Moderator

    @Orwell

    I checked 7634 is still on the server and downloaded half a dozen files at random, and had no issues with the site.

    I will not keep the mediafire site current, it is too slow and bothersome to upload files to it.

    I may add a few changes to 7634 later, but there will not be anything startling.

Share This Page