Closed dafzor closed 3 years ago
arping is already installed:
According to the README it should have more functionality than the ping
command.
You can install additional packages for your specific use case using a startup script or by building your own container.
I've redeployed the container to re-test the issue, doing so made it pull a new container version and now I'm unable to reproduce it.
No idea what happened as I was able to consistently reproduce the issue and even upgraded from 2.5.7 to 2.5.8 during two days of troubleshooting with both having the same behavior and only fixing itself after I manually installed arping and ping.
And after the previous reply I have seen the issue return after a PC reboot, openhab would not see computer online. Turning off Windows 10 firewall would magically make online status work again, and restarting the openhab container also fixed it without turning of the firewall...
Installing ping and arping inside the container image and restarting openhab resolves the issue.
Turning off Windows 10 firewall would magically make online status work again, and restarting the openhab container also fixed it without turning of the firewall...
Let's close this since it doesn't seem like installing ping or arping will solve this as you could fix it by restarting the container. Seems more like some kind of a network/firewall/router issue to me.
"cross report" of https://github.com/openhab/openhab-addons/issues/8349
When using " network:pingdevice" against a Windows 10 19041.450 PC with latest patches, if the firewall is active with the IMCP Ping inbound rule active, ping tool will be able to ping the PC, but java ping will fail making the device remain offline.
Expected Behavior
network:pingdevice should be able to ping the PC correctly.
Current Behavior
network:pingdevice will fail if windows firewall is active with IMCP inbound allowed.
(gray is no firewall, black shows when firewall is enabled)
This might have been introduced with a recent windows or openHAB update as it was previously working correctly.
Possible Solution
Installing ping and arping inside the container image and restarting openhab resolves the issue.
Steps to Reproduce (for Bugs)
Context
It makes it impossible to create rules that depend on computer shutting down.
Your Environment