<snip /> > * Setup a script that polls the first router for > its' reported wan_ip address.... <snip />
I've been wondering how to do this, I was looking at the nc (why is this built without listen support?) and netmsg commands, but couldn't find a built in app that would listen on the other side DHCP would work but I don't know how to get it to lease the WAN ip address anyway polling is suboptimal, having to poll the ar7 ever 10mins would be OK but give down time of up to 10mins when my ISP changes my IP address, on the other hand I could poll the router every 1s and have it almost real time, but that seems like a waste of processing power, finding a balance would be hard if we have to keep a server open on one of the routers anyway for the polling, why not reverse it so the power-router has a server, and the ar7 broadcasts the IP address to it so it's a sort of pub/sub or push system so this brings me back to the listening server problem, or am I over thinking this? (telnetd was the only thing I could think might work but not sure about telnetd protocol vs nc protocol) _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
