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

Device List

Discussion in 'Tomato Firmware' started by HarshReality, Nov 29, 2009.

  1. HarshReality

    HarshReality Network Guru Member

    OK, this is going to sound way stupid but Im thinking a script will be the only way.. assist would be much appreciated

    Intent.. Display active device lists via Conky in Linux.

    Thinking.. Tomato will have to execute a script and save the device list periodically. To where I have no idea as Im not that close to the internals. I would think it could be saved in a location that on my lin machine I could use wget to aquire and parse the file for my display (again periodically)

    Reasoning:
    ALL my IPs are static and I have a WDS connection going which from time to time drops. To resolve it I need to simply unplug the router in my living room and allow it to cycle to establish connection of course to determine that is the actual cause I have to login to the router in my office then goto the device list page and then go back into the living room for the power cycle.. So, I am just trying to save myself a few steps.

    Suggestions?
     
  2. TexasFlood

    TexasFlood Network Guru Member

    Would it work to just reboot the living room router if it can no longer ping the other router?

    Like put the following into a scheduled command on living room router:
    Code:
    ping -c3 {IP address of office router} >/dev/null || reboot
     
  3. HarshReality

    HarshReality Network Guru Member

    It would however once the router rebooted the script would need reloaded (or so I would think). But, whats the fun in that? I mean half the fun is trying to think of 'bells and whistles and then trying to impliment them.
     
  4. TexasFlood

    TexasFlood Network Guru Member

    Administration -> Scheduler -> Custom {1, 2, or 3}
    Click Enabled
    Paste the script into the box
    Click on the "Time" dropdown and select the frequency to run it
    Click on save at the bottom of the screen and it will be saved and be there after reboot

    It's one option anyway. But certainly feel free to come up with your own approach if it doesn't float your boat, :wink:
     
  5. HarshReality

    HarshReality Network Guru Member

    Thanks for the suggestion ;)
     

Share This Page