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

Tomato toastman 1.28.7462 bug

Discussion in 'Tomato Firmware' started by Morac, Apr 8, 2011.

  1. Morac

    Morac Network Guru Member

    I install the toastman tomato 1.28.7462 load on my new E3000 and am trying to enable "respond to ICMP ping" on the Firewall page, but when I click save I get a message:

    "The field "imq_numdevs" is invalid. Please report this problem."

    It looks like the problem is that the "Set IMQ Numdevs" field is blank. I have no idea what that's for or what I should put in it.
     
  2. Toastman

    Toastman Super Moderator Staff Member Member

    Set it to 2, which is the default.
     
  3. Toink

    Toink Network Guru Member

    Flashed with tomato-E3000USB-1.28.7462MIPSR2-Toastman-Ext.bin. I tried that but the field is greyed-out and it wont take any figure....

    Issues I got in this build:

    • I notice that I can't get any internet in this build... The router shows it's got an IP but it wont let my devices connected to it access the internet.

    • This firewall script will no longer work:

    Code:
    iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.0.0/30 -j MASQUERADE
    ip addr add 192.168.0.2/30 dev vlan2 brd +
    making me impossible to access my modem. As usual, did the 30-30-30 reset before and after the flash.

    I went back to tomato-E3000USB-1.28.7457MIPSR2-Toastman-ONC-Ext.bin Somehow, I can't access some sites using build 7459....
     
  4. Toastman

    Toastman Super Moderator Staff Member Member

    Thanks Toink!

    Morac, if that was a cut and paste of the error - then it's a typo that has been made. it's not supposed to be img - it should be imq !! I will investigate.
     
  5. Kcolyhs

    Kcolyhs Networkin' Nut Member

    I also have the IMQ error with this build.
    Entering a value of 2 is accepted, but enabling "Restrict unlisted machines" locks all users in my "static DHCP list" out of the internet.
    I currently have Static ARP enabled, and things are working well, but cannot apply restrictions.

    This is on a WRT160N-v.3
     
  6. Morac

    Morac Network Guru Member

    It wasn't a cut and paste, I was typing it on a mobile device so it probably auto-corrected.

    Maybe this is a dumb question, but what does imq_numdevs do? Is it basically what's mentioned here, if so how can I disable it if I don't want to use it?
     
  7. gazsiazasz

    gazsiazasz Addicted to LI Member

    the internet connection & wifi connection is bad with 7460+ builds on E3000 :(
     
  8. Toastman

    Toastman Super Moderator Staff Member Member

    You don't need to disable it, it's the default anyway. Just ignore it. IMQ is used in the bandwidth limiter.

    ***NOTE***

    Due to instability in some source code commits in versions since 7454, I have completely rebuilt and re-issued. Anyone using versions 7454 to 7462 please reflash with the latest version, which is 7465.
     
  9. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Figured it out. Will try E3000 version in a moment.
     
  10. TexasFlood

    TexasFlood Network Guru Member

    I was just off loading Toastmans E3000 build on an E3000 and was going to confirm back that it worked, but you beat me to it. Oh, and it did work, of course.
     
  11. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Only thing I noticed, same as with Victek's version, is with my WDS setup I have to unplug one of the routers and plug it back in of course to get the two routers talking to each other again. For some reason a warm boot doesn't do it. Power off, power on does. Gotta be some synch thing, or a request to synch thing for the WDS mode.
     
  12. TexasFlood

    TexasFlood Network Guru Member

    I started noticing sync problems after getting my RT-N16 and never really sorted it out. For a while I had scripts running which would did two things, every router would ping the gateway router and reboot upon loss of several pings. The gateway router upon loss of pings to any remote router would run a script and attempt to reboot all routers, itself last. Doing that, rebooting everything with the gateway last, would usually get all the WDS connections working again. Eventually I tried Teddy Bears advice and just switched to wireless Ethernet bridges. I'd used WDS flawlessly for years with routers of the same generation so didn't give up on it right away.
     
  13. jsmiddleton4

    jsmiddleton4 Network Guru Member

    What is setup for Ethernet Bridge for the E3000 with dual channels?
     
  14. TexasFlood

    TexasFlood Network Guru Member

    Well I don't have a pair of E3000s to test it with but would think you'd only need the bridge on one of the channels. Essentially one router becomes a wireless client of another AP and bridges it's wired ports to the LAN of that AP. In my case, my remote routers aren't access points but simply provide wired ports. If you are using both as APs, on the "client" router I think you'll lose whichever channel is used for the bridge. This worked for me but may or may not be what you want.
     
  15. Toastman

    Toastman Super Moderator Staff Member Member

    There have been reports of some people not being able to connect to the internet, it appears related to the dnsmasq resolve file not being created on startup. There was a commit in tomato-RT on 26 March that *may* have been the cause, so I am making a new build 7466 for people to try, with that commit removed.

    Builds 7454 to 7462 have been deleted because of these reports of possible instability.
     
  16. valerima

    valerima LI Guru Member

    new toastman builds

    Dear Toastman,


    Have seen some new builds after removed one 7462.
    What changes are implemented there, please?
    (router e3000).
     
  17. jsmiddleton4

    jsmiddleton4 Network Guru Member

    No problem here with earlier versions. Trying **66 now. On-line just fine.
     
  18. jsmiddleton4

    jsmiddleton4 Network Guru Member

    I mean the setup Texas for settings in each router to make then bridge. Slave router setup as client? Main set up as bridge? Etc.
     
  19. TexasFlood

    TexasFlood Network Guru Member

    Oh. Main router nothing special, just AP. Slave router wireless mode = wireless ethernet bridge, presumably only one channel needed for a dual channel router needed so whichever you choose. I don't have a dual channel slave so can't test that part.
     
  20. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Could not get it to work with using 5ghz as WET channel. I could get the routers to talk to eachother but not get any devices connected to the slave router to pass through to the internet.

    Went back to 5ghz channels being setup for WDS. That works.
     
  21. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Have 2.4 channel set as access point on both routers. Had 5ghz channel set as wireless ethernet bridge on slave, as access point on master. Connected to both routers, could access slave router. But nothing connected to slave router could get through to the internet. It seems as though the devices connected to the slave router did not know where the gateway is. I double checked all settings, etc. Again it works fine in WDS.
     
  22. TexasFlood

    TexasFlood Network Guru Member

    Let me think about this. I may have taken some things for granted.

    So try on the slave router, make sure on the basic network page under LAN make sure you set a static router IP address (unused not in the DHCP pool) on the same subnet as the main router, also same subnet mask as main router (should be 255.255.255.0), set main router IP as both default gateway and static DNS. Also set the security the same as the primary router. You need at least the static IP and security, not sure about subnet mask, default gateway and static DNS but don't think it will hurt.

    You may have done all that, just being a bit more explicit and trying not to assume as I seemed to do in my previous post. After you do something like that a number of times it's easy to start taking stuff for granted, sigh... There's other stuff you could set up but nothing I can think of required to get a pulse across the link.
     
  23. jsmiddleton4

    jsmiddleton4 Network Guru Member

    At work until 11 now. Will play when I get home.

    Had all that stuff set. Have it set for WDS. Also made sure "router" and "gateway" were selected correctly.
     
  24. TexasFlood

    TexasFlood Network Guru Member

    Hmm, typo maybe? Can't have it set for both wireless ethernet bridge and WDS. Well, on an E3000 you could, one radio one way, one the other. Anyway, guess you'll post more later when you get time to play.
     
  25. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Had the IP/gateway/dns stuff all set when doing WDS. Have 2.4 set as just AP's on both routers. Doing WDS on the 5 ghz. The IP/Gateway/DNS stuff is not in either field. Its in the basic setup. Only thing router specific in the WDS setup is the MAC address of which router linking to which.
     
  26. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Have network up and running. 2.4 ghz as AP's so wireless clients connect to either of the 2 E3000. Have the 5 ghz now working on WET setup instead of WDS so I've reduced the bit of overhead WDS utilizes. Setting I changed to make it work was to turn off Spanning Tree Protocol.

    Problem I was having is the two E3000's would see and talk to each other but I had no internet access through the master router.

    SPT off and now it works. Was using Spanning Tree Protocol with the WDS setup.

    I verified the "router" and "gateway" settings were correct too. Master at gateway, slave as router.
     
  27. TexasFlood

    TexasFlood Network Guru Member

    Great. I didn't even think about spanning tree or routing mode. Don't think I touched anything on the routing tab. Doesn't changing the mode from gateway to router basically turn off NATing? When I select wireless Ethernet bridge the WAN port is disabled anyway so shouldn't be required. As for spanning tree, don't think I have any loops in my network so left that at the default of off on all my devices.
     
  28. jsmiddleton4

    jsmiddleton4 Network Guru Member

    The slave router had no problem finding the master router. So the router set to ethernet bridge was fine. The master router wasn't letting any traffic through on to the web. And unlike the single channel routers in pure bridge mode with the simultaneous dual channel my slave router is still being accessed wirelessly by wireless clients via the 2.4 ghz channel. I've forced certain laptops to the slave by putting wireless filter in the master. The only way a few laptops can connect is via the slave router. Works great. Simple way of shaping which router gets used.
     
  29. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Tested something as I noticed a comment in another thread.... If I turn on ARP Binding I can't access the web. I can access each router but nothing gets through the master to the web.
     
  30. jsmiddleton4

    jsmiddleton4 Network Guru Member

    I loaded Victek's 8505 beta build for the E3000. Arp binding on does not block internet access through the master. Since these different builds are sharing so many of the same code I'm not sure what this means.
     
  31. TexasFlood

    TexasFlood Network Guru Member

    Not necessarily sharing all the same code. This would seem to indicate there are differences in the part of the code. Toastman can comment when he has time.
     
  32. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Yes. Its that they share enough code that it makes it difficult to know exactly what's what on the end user side. Could have been ARP binding all along that was giving me trouble. After awhile I try so many different settings I lose track. And while this is very unscientific, Victek's 8505 build is a bit faster. Pages load quicker, etc.

    While I'm sure its a low priority for all of these firmwares it would be nice for a WDS/WET aficionado to hit that part of the code and stream line it. Being on some of the home theater forums I can assure you there is a need for a stable fast 2 router setup for people who have put in home theaters but have no wired connection for all the network devices that have become common place for home theaters. Having a setup with routers talking to each other on 5 ghz meanwhile providing access for laptops, etc., on 2.4 and having devices plugged into the slave will have value.
     
  33. TexasFlood

    TexasFlood Network Guru Member

    jsmiddleton4, I get your point. I probably shouldn't have even replied to your last post as I lack the expertise and inside info to really know. As I stated before, hopefully Toastman will shed some like when he as time.
     
  34. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Glad you participate. There are at least two other users in this thread who had similar "can't get to internet" problem. Everything seems fine, just can't get on-line. I'm sure toastman is on top of it. Probably something simple.

    The simultaneous dual channel is sweet.

    One thing I like about WDS mode that WET mode does not do and that is keep the IP addresses assigned to devices on the slave router listed clearly. With WET you see the IP of the slave router for all its devices, not the IP of the device. Which is the way it works, that is not a bug. In WET bridge mode it is the IP of the slave/bridge that the master router sees. In WDS mode the master router device list shows each device going through the slave to the master separately. Makes it easier to manage static IP's, ARP binding, etc., setup. In WET the master "sees" the slave. In WDS mode the master sees each device.

    This and I have to actually do something today. I turned spanning tree protocol back on. Everything works fine. I'm fairly certain is it ARP binding. Not 100% but fairly certain.
     
  35. TexasFlood

    TexasFlood Network Guru Member

    Yup...
     
  36. Toastman

    Toastman Super Moderator Staff Member Member

    I'm not sure what the problem is with ARP Binding, can you explain? Some of the guys have been setting ARP binding with nothing in STATIC - ARP and ticking both boxes, thus cutting everyone off from the internet.

    As far as I know it's working cos I use it on the gateways here. I'll check it again later to see if anything odd is happening though. You do need to put all MAC addresses of any devices using the router into the Static DHCP list, or they will be denied access once you check the limit box ...
     
  37. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Have all MAC's that I put in ARP also in static DHCP. If I check ARP I get no traffic through the gateway to the internet. Uncheck ARP, everything works fine. Using the xx66 version.

    I've been using Victek's newest beta most of day. ARP checked, working fine.

    Just an FYI.

    Tomato Firmware RAF1.28.8505 MIPSR2_RAF E3000 USB VPN
     
  38. Morac

    Morac Network Guru Member

    I'll mention I was looking at the readme.txt file for 1.28.7466 and saw this:

    That's not entirely correct, at least not for the E3000. When the router first boots up after being flashed, it will set itself to the default frequency (480 MHz), but if the router is unplugged and plugged back in, then it changes to 133 Mhz (verified in the log), if there is no clock frequency set.

    It will stay 133 MHz, until I either do a thorough NVRAM reset (at which point it is 480 MHz again until I unplug and plug in) or I set it to 480 MHz manually.
     
  39. TexasFlood

    TexasFlood Network Guru Member

    Although I realize that is what was reported in the log. I will also note that before and after setting the CPU frequency to 480MHz, telnet/SSHing to the router and doing a "cat /proc/cpuinfo" always showed 239.20 BogoMIPS, so I'm wondering if the CPU was -really- running slower or just reporting that.
     
  40. Morac

    Morac Network Guru Member

    Also I'm not sure the dnsmasq resolve file issue is fixed. I see the following in the log at startup about /etc/resolv.dnsmasq not existing, but dnsmasq is killed and reloaded and it exists the next time and things seem okay at that point.

    I'll mention I only saw one instance where WAN access was completely disabled under 1.28.7465. I couldn't even ping my modem which wouldn't have been a DNS issue since I was using an ip address.

    Here's the start up log (with ip addresses replaced with x.x.x.x):

     
  41. Morac

    Morac Network Guru Member

    In my case right after doing a NVRAM reset, doing a "cat /proc/cpuinfo" did show a 239.20 BogoMIPS value. After unplugging and plugging my E3000 back in, doing the same thing reported around 63. So the router really was running at 133 Mhz.
     
  42. TexasFlood

    TexasFlood Network Guru Member

    Perhaps the ISP received DNS servers had not quite been received to create /etc/resolv.dnsmasq, seems like it was there a second later.

    Mine seemingly does find /etc/resolv.dnsmasq, reads it, twice, then exits, restarts, reads it again and goes on. I also replaced my ISP provided DNS servers with x.x.x.x, cause, well, I'm paranoid. I left the OpenDNS entries. Having said this, DNS seems to be working fine here, just contributing my observations about the start-up logs.
    Code:
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: started, version 2.57 cachesize 1500
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP TFTP no-IDN
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: asynchronous logging enabled, queue limit is 5 messages
    Dec 31 17:00:54 e3000 daemon.info dnsmasq-dhcp[526]: DHCP, IP range 192.168.10.100 -- 192.168.10.149, lease time 7d
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: reading /etc/resolv.dnsmasq
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: using nameserver x.x.x.x#53
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: using nameserver x.x.x.x#53
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: using nameserver 208.67.220.220#53
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: using nameserver 208.67.222.222#53
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: read /etc/hosts - 2 addresses
    Dec 31 17:00:54 e3000 daemon.info dnsmasq[526]: read /etc/hosts.dnsmasq - 45 addresses
    Dec 31 17:00:56 e3000 user.info init[1]: Linksys E3000: Tomato 1.28.7466 MIPSR2-Toastman E3000 USB VPN
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[526]: reading /etc/resolv.dnsmasq
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[526]: using nameserver x.x.x.x#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[526]: using nameserver x.x.x.x#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[526]: using nameserver 208.67.220.220#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[526]: using nameserver 208.67.222.222#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[526]: exiting on receipt of SIGTERM
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: started, version 2.57 cachesize 1500
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP TFTP no-IDN
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: asynchronous logging enabled, queue limit is 5 messages
    Dec 31 17:00:56 e3000 daemon.info dnsmasq-dhcp[550]: DHCP, IP range 192.168.10.100 -- 192.168.10.149, lease time 7d
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: reading /etc/resolv.dnsmasq
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: using nameserver x.x.x.x#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: using nameserver x.x.x.x#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: using nameserver 208.67.220.220#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: using nameserver 208.67.222.222#53
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: read /etc/hosts - 2 addresses
    Dec 31 17:00:56 e3000 daemon.info dnsmasq[550]: read /etc/hosts.dnsmasq - 45 addresses
    Dec 31 17:00:57 e3000 daemon.info dnsmasq-dhcp[550]: DHCPDISCOVER(br0) ...
     
  43. Morac

    Morac Network Guru Member

    I don't hard code my DNS values so maybe they hadn't been fetched yet from my ISP's DHCP server at the time. That might be why dnsmasq loads, kills itself and loads again.
     
  44. TexasFlood

    TexasFlood Network Guru Member

    That makes sense as an explanation of why /etc/resolv.dnsmasq wasn't there in your case then found a second later. But I'm not sure it explains why dnsmasq is killed and restarted since in my case /etc/resolv.dnsmasq is found and read, twice in fact, but dnsmasq is still killed and restarted.
     
  45. Morac

    Morac Network Guru Member

    While I'm asking questions, why in the QOS -> View Details screen are the ip addresses listed in alphabetical order instead of numerical?

    For example, 192.168.1.11 comes before 1.92.168.1.2, but after 192.168.1.100. It makes reading the list a bit confusing.
     
  46. Morac

    Morac Network Guru Member

    Maybe it's designed to do so on startup?
     
  47. TexasFlood

    TexasFlood Network Guru Member

    Seems like it, doesn't it? As I said, everything is working here, just curious that dnsmasq starts, is killed, and runs again.
     
  48. TexasFlood

    TexasFlood Network Guru Member

    Perhaps they're being sorted as strings, not numbers? Maybe due to the "." separators? I never noticed that. In fact I was unable to verify it just because there weren't any entries that would be sorted incorrectly.
     
  49. phuque99

    phuque99 LI Guru Member

    dnsmasq is designed to be restarted when you get a new IP or if you WAN goes down and up again. Newly assigned DNS IP addresses from DHCP (on WAN) needs to be registered as the new reference.
     
  50. TexasFlood

    TexasFlood Network Guru Member

    Makes sense, thanks for the info...
     
  51. Morac

    Morac Network Guru Member

    I can pretty much guarantee they are being sorted as strings, but what's odd is that the original Tomato 1.28 firmware did sort them as numbers. Since that's what I'm coming from I find the difference jarring.
     
  52. TexasFlood

    TexasFlood Network Guru Member

    I just went and checked my QOS details just now and did see any example of the IP addresses being out of numerical order. Funny I remember years ago having to come up with a way in Microsoft Excel to properly sort IP addresses numerically. Hadn't thought about that in a long time, :smile:.

    I probably would have never noticed this but seemingly you're right as I just went and checked my QOS details just now and did see an example of the IP addresses being out of numerical order this time.

    Assuming the original Tomato had these sorted in numerical order, which I can't prove right now as I don't have it loaded on anything currently, wonder when it changed (and if it could be put back)? Not a big deal but I would think more useful in numerical order.
     
  53. Morac

    Morac Network Guru Member

    I just noticed something odd. The logout link didn't working under Toastman's v1.28.7466. When I clicked the link it brought me to the Goodbye page, but it didn't log out the browser. I've never seen that before.

    I manually cleared the active logins in my browser (Firefox 4) and that logged me out. Then when I logged in and logged out it worked, but something weird happened that time.

    I checked the log and saw one occurrence of this:

     
  54. Morac

    Morac Network Guru Member

    My guess when they started to DNS resolution (well displaying host names) for the source ip addresses since that's something that's not in the original Tomato.
     
  55. TexasFlood

    TexasFlood Network Guru Member

    Just tested logout on my E3000 router running "Tomato Firmware v1.28.7466 MIPSR2-Toastman E3000 USB VPN" and it worked fine, just like always, Firefox 3.6.13, logging out brings me back to the login prompt where I'm directed to blank the password and try to login, clearned the credentials. Could be a Firefox 4 thing, but I'm not loading it to find out, I don't much care for the bleeding edge. Major new releases gotta be out for more than a few weeks before I go there. I actually got daring and ran the beta of Firefox 4 for a while and came to regret it so dumped it after it took a dump on me. Hell some of the time I even regret being on 3.6.x and think about going back further, :wink:.
     
  56. Morac

    Morac Network Guru Member

    I don't think it's a Firefox 4 thing since it appears to be working again, but something odd obviously happened.
     
  57. Toastman

    Toastman Super Moderator Staff Member Member

    The logout has been busted for a long time I think. I remember seeing comments a long time back, and the reply was "just close the browser - nobody ever uses it".

    I never used it either.

    But anyway, it works here now on 7467, tested on Safari, Firefox, Chrome, Opera, IE7, IE8, IE9.
     
  58. Toink

    Toink Network Guru Member

    I never really used the 'Log Out' feature ever since I flashed my routers with Tomato. And as far as I know, even the stock Linksys firmwares doesn't have this feature. I just close my browser - which is always set to auto-delete its cache...

    Anyways, for the sake of testing, I tried it more than 20 times on a couple of laptops, and 3 desktops. All with IE9, a couple of desktops with the latest version of Chrome, (I've never been a fan of FF). All logged-off without any issues. So I think it works :)

    @Toastman

    I notice that the Linksys E4200 is now supported in your latest 7467 builds. I should get me one of those nifty routers to test 'em :) Also, the CTF (Cut-Through Forwarding) has been dropped in the Miscellaneous option? Or is it model specific? It's not much of a big deal. Just curious....

    Thanks!
     
  59. Toastman

    Toastman Super Moderator Staff Member Member

    CTF apparently doesn't do anything useful, maybe because it's broken - but Teddy Bear has withdrawn it because it causes instability in iptables. It certainly never did anything here but cause aggravation, the same goes for Fast NAT, as far as I am concerned.

    Be careful of the 4200 - there are reports coming in from the DDT forum of whole forests being burned down already, and electricity generators everywhere are struggling with the load!
     
  60. TexasFlood

    TexasFlood Network Guru Member

    I have also seen occasional reports of logout not working. And I never use it either, but it has always worked when I tested it. Guess I better not get an E4200, don't want to burn the house down, :)
     

Share This Page