Recent content by Glenn Freidet

  1. Glenn Freidet

    Disable NAT

    Yep, but I'm having a hard time giving up the Merlin router-mode interface. It's so pretty. ;-) Also, I want to tip-toe into the new configuration; This is a live 24/7 network, so I have to make quick changes. I tried this: Use the Tomato box as a gateway without DHCP. Used the Merlin in router...
  2. Glenn Freidet

    Disable NAT

    Hi. If I disable NAT, shouldn't I be able to use the same subnet on both sides of the router? I currently have a Merlin router with a typical gateway setup. I want to put a Tomato router between the WAN side of the Merlin router and the Internet to handle advanced QOS and IP monitoring. In...
  3. Glenn Freidet

    CPU Load Percent

    That's exactly what I needed to know. Thanks Merlin.
  4. Glenn Freidet

    CPU Load Percent

    Does anyone know if the CPU load percent is being calculated, or does it come directly from SNMP? I can't find an OID that works for load percent, just the usual 1-5-15. If it's not SNMP, can you point me to it in the code? Thanks. -G
  5. Glenn Freidet

    Extracting Real-time Stats

    You're right, they look very similar, but I still don't remember where the cstats version came from. Weird. I'll let you know when I'm done with the script for /proc/net/ipt_account/lan. For now, I'm playing with fprobe --> ntop and PRTG.
  6. Glenn Freidet

    Extracting Real-time Stats

    Ah. Good catch. :-)
  7. Glenn Freidet

    Extracting Real-time Stats

    Sure, no problem. I started with a Python script that I found somewhere. Then I used cstats.[ch] from the latest release and a hex editor. I'm not sure why, but the format of the file doesn't exactly match the code. The output format is customized for my use, so you'll have to modify it to get...
  8. Glenn Freidet

    Extracting Real-time Stats

    FYI, both cstats and /proc/net/ipt_account/lan worked out really well. I have more than enough of what I need. I really appreciate your help.
  9. Glenn Freidet

    Extracting Real-time Stats

    Darkstat is an Entware package. OK. I'm all set. Final thanks. :-)
  10. Glenn Freidet

    Extracting Real-time Stats

    Got it. Thanks.
  11. Glenn Freidet

    Extracting Real-time Stats

    Yep, already doing that. I'll figure it out. Thanks Merlin.
  12. Glenn Freidet

    Extracting Real-time Stats

    Sorry about exploding this thread. I just have a couple more thoughts about individual IP stats: I'm currently looking at scrapping HTML from darkstats, but I'm not sure it's stable enough. It won't have the session ticket problem, correct? I'm also looking at fprobe->PRTG/Netflow. Am I...
  13. Glenn Freidet

    Extracting Real-time Stats

    I don't see individual IP data in cstats, just totals and the 24-hour RRD. I must have missed something in my script. I'll look closer.
  14. Glenn Freidet

    Extracting Real-time Stats

    Interesting idea. In the end, this is probably the way I'll go. Can you give me a clue about what would make iptraffic generate that file? It's empty on my machine.
  15. Glenn Freidet

    Extracting Real-time Stats

    Amazing response! Thank you SO much. So, even if the following worked, and it doesn't, I would have to be logged out of the GUI in order for it to work? wget --keep-session-cookies --save-cookies cookies.txt --post-data 'user=admin&password=XXX' http://10.0.1.1/Main_Login.asp wget...
Back
Top