Hi. I need help.
I have network between several location. Each location has Keenetic router. Locations connected via VPN.
On location with HA I have not any problems to make integration with Keneetic (Keenetic NDMS2 Router). I could not connect to Keenetics on remote location. Error connecting to telnet server: No expected response from server.
I checked that telnet is working from host HA. I connect to host with HA via SSH and from it I have possibility to connect to remote Keenetic by telnet. But HA cold not.
Could somebody to help me, please?
1 Like
I have the same problem. The reason is - remote Keenetic respond slower. It can be solved by adding time sleep in connection.py of ndms2_client
self._telnet = Telnet(self._host, self._port, self._timeout)
self._telnet.set_option_negotiation_callback(TelnetConnection.__set_max_window_size)
time.sleep(1)
self._read_until(b'Login: ')
time.sleep(0.7)
self._telnet.write((self._username + '\n').encode('UTF-8'))
It is working for remote keenetic but local has stoped working. so some research required.