Hello.
This may be the wrong place to post such a question, and perhaps I need to dig further into the basics of networking to solve this, but I figured it was worth a shot posting a question here.
I have a small application that generates two scripts, it sets two SXT2 Lites on the same wireless SSID with a randomly generated key. It also generates unique passwords for both.
I’d like to automate this further and am having success using node.js too SSH into the routers. The issue is I must connect via IP, and they are both set to 192.168.88.1 by default.
The program works for the first SXT, though I’m not sure how it chooses which MAC address since they both have the same IP, but it does. I have it running a generated script that I upload to the flash and have it run after a no-default reset. Everything here is golden, all the settings work, the IP is changed, etc…
When it tries to connect to the second router I get a timeout while waiting for the handshake. This is well after I have closed the connection to the first, and doesn’t matter if I have it wait. What’s interesting is after the initial timeout I have it attempt to connect again, it works after this. I set the initial connection timeout to fire after 1 second, this works as well, it will connect after receiving the timeout error. It’s pretty messy way to deal with it, I’d love to figure out why it times out on the initial attempt.
Any insight or feedback would be greatly appreciated, and if this is the wrong place to ask such a question or if I need to better understand the basics of networking please let me know.