Unstable connection with 1.25 RAF ND

Discussion in 'Tomato Firmware' started by galileo2000, Jul 12, 2009.

  1. galileo2000

    galileo2000 Network Guru Member

    Got extremely unstable connection with 1.25 RAF ND.

    Loaded 1.23 RAF. Let's see what happens.

    One question: what is going on with memory reported? Free memory shrinks every hour or so. Is it memory leak or is it "supposed" to do so?
  2. Victek

    Victek Network Guru Member

    Explain with figures what you understand as 'unstable connection' : distance, RSSI, Noise floor, comparison with 1.23ND and 1.25 ND .. it helps, your comment don't help.
    About memory jump, well, it depends mainly on how many connection you have in tcp_conntrack, again, give us data, how many connection vs. memory free, miniupnp active or not, wireless clients, what encryption are you using...

    Data is needed to analyze, to support & improve Tomato, without data we are blind.
  3. galileo2000

    galileo2000 Network Guru Member


    Please don't get me wrong. I deeply appreciate your work on the project. Being in the software business for the last 30 years I understand how easy it is :D


    What I describe as unstable connection: net access drops every 10-15 minutes both under heavy and light load. Observed with 1.25 RAF ND, did not observe with 1.23 RAF, did not observe with the "plain" 1.25.



    3 WRT54GLs in WDS+AP->WDS; WDS+AP->Wireless bridge (DHCP disabled).

    Encription: WPA TKIP shared key.

    DHCP: 5-99.

    All the static DHCPs are assigned outside this range from 100 to 255.

    Clients: Sling, Hava, DirecTV HR21, several desktop PCs, several laptops, couple of PDAs(Axim x51vs).

    Devices: total of 17 clients.

    Connections: from 5 to 17, including 4-5 wired, 3-5 wireless average.

    Memory reports from the Overview page:

    Free memory:

    After flash:

    Main WDS + AP : free memory reported 33%, after couple of hours 24%.

    WDS: After flash 66%, after couple of hours 27%.


    reflashed to 1.23 ARF, observing the same memory issues.


    where do I check for miniupnp? I don't think I used it.


    Let me know if you need more info/logs etc.
  4. Planiwa

    Planiwa Network Guru Member

    Ahem. When your "disconnection event" happens, what exactly disconnects?

    DSL Sync?
    PPPoE? -- turn PPPoE loggin on, if necessary

    Why not look in the router log?

    As for free space:

    system A:
    total used free shared buffers
    Mem: 14528 12700 1828 0 1640
    Swap: 0 0 0
    Total: 14528 12700 1828

    system B:
    total used free shared buffers
    Mem: 14528 12564 1964 0 1572
    Swap: 0 0 0
    Total: 14528 12564 1964

    (Those are official 1.25 systems)
  5. galileo2000

    galileo2000 Network Guru Member


    looked into the router log, nothing.

    my memory reportis from the router overview page, machines are win xp. what other kind of the report can i get?
  6. Planiwa

    Planiwa Network Guru Member

    ssh or telnet to the router for a serviceable (if buggy, but few others seem to have noticed) Unix shell.

    BTW, be sure to enable DHCP clent logging.

    commands that might be of interest:

    killall dnsmasq
    ping ### when router can no longer ping any of the associated and normally pingable clients, you have a problem

    can your clients ping the router?
    (MSDOS -- ipconfig, ipconfig /all -- are your clients still getting a proper IP address?)

    there. that's a start. :)
  7. mau108

    mau108 Addicted to LI Member

    I had a similar issue where I could login to the router from my wireless device but I couldn't stream and music (it was my ipod touch that I was connecting) I was listening to music and then all of sudden it cut out. I tried connecting up with other stations and it did not work, however I could login via safari (on the ipod) to my routers page, reboot the router and the internet radio streams started to work again.

    I will monitor it further but it was the first and only time so far....
  8. galileo2000

    galileo2000 Network Guru Member

    now, with basically no activity on the network:

    Time Sat, 11 Jul 2009 21:57:38 -0700
    Uptime 0 days, 04:47:20
    CPU Load (1 / 5 / 15 mins) 0.04 / 0.03 / 0.00
    Total / Free Memory 14.19 MB / 3,532.00 KB (24.31%)

    From 33%?

    Pretty soon it is going to go to zero.

    Going to reload "plain" 1.25 and monitor the memory.
  9. Planiwa

    Planiwa Network Guru Member

    I think you are jumping to irrational conclusions. But it is your right :) (And my wrong.): I apologize to the universe for giving you truths and tools before you were ready for them.

    FWIW, I have been using official Tomato releases, under very heavy loads, and experiencing a variety of calamities. :)

    Later this evening I will be moving to ND, in the expectations of better times ahead.

    So, you see, the universe is in perfect balance and harmony. :)

    I do hope it all works out to your perfect satisfaction.
  10. Planiwa

    Planiwa Network Guru Member

    So, the new new router is now running ND. :) Yeah!

    (I can hear Toastman say "It's about time". :))

    I'll be testing it for a few hours and then deploy it to replace the ancient WRT54G V2 that hase been rebooting/getting-stuck/locking-out-wifi about daily recently.

    The iPhone seems to be implicated. The most recent WIFI-lockout happened exactly when an iPhone associated.

    The site it's going to has 2 clients that are so ancient, I have to use WEP. I am tempted to buy those users 2 cheap USB wifi adapters, just so I can use WPA2P/AES :)
  11. Victek

    Victek Network Guru Member


    What I extract from the issue...'net access drops every 10-15 minutes both under heavy and light load' .. what 'net'? wlan or Lan ?
    Which router? main router or any of WDS router?
    For WDS please use static wireless channel, don't leave Auto wireless channel.
  12. galileo2000

    galileo2000 Network Guru Member


    - Wlan was dropping. Seems like my third router in Wireless Bridge mode was having trouble,

    With 1.23 RAF seems to be OK.

    I use channel 11 on all 3 routers and don't use autochannel feature at all.

    Noise level reported by the main router is -99db.

    This morning memory reported on the main router is down to 23%. I understand it is a cached memory, if I check "Count cached memory as free" in the Debugging page I get 52% free. Should I be concerned?

    Thank you.
  13. Toastman

    Toastman Super Moderator Staff Member Member

    Planiwa ... it's about time :)

    I have one iPhone user here, but most of the time he can't get into the AP's because the wireless in it is absolutely appalling. He has to stand almost under an AP before it can even see it, and it can't access any of the free services around here. How they can sell such a piece of poop I don't understand. But apart from that, had no trouble with it.

    galileo2000 - your readings sound perfectly normal to me, with the exception of the dropout, of course. But that could be due to so many things. I never found WDS to be particularly stable on any platform.
  14. mau108

    mau108 Addicted to LI Member

    you're the dude that helped me out on dslr right?
  15. Planiwa

    Planiwa Network Guru Member

    The very same indeed. :)
  16. TVTV

    TVTV LI Guru Member

    dSLR as in digital Single-Lens Reflex?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice