snstac / aryaos

AryaOS: An Operating System for Modern Situational Awareness.
https://aryaos.rtfd.io/
Apache License 2.0
37 stars 8 forks source link

adsbcot & lincot are failing, PYTAK_MULTICAST_LOCAL_ADDR not updating when network interfaces change #44

Open ampledata opened 8 months ago

ampledata commented 8 months ago

Out of the box AirTAK is configured to use a static PYTAK_MULTICAST_LOCAL_ADDR of '10.41.0.1', which is the default wlan0 IP address of AirTAK.

However, when moving AirTAK from WiFi AP node to WiFi Client mode, or when hardwire ethernet is attached, this address should be updated to either the new IP address of the interface, or a sensible default of '0.0.0.0' (for all interfaces).

The default setting should be changed to '0.0.0.0'.

A work-around for folks experiencing this problem in the field is to change the PYTAK_MULTICAST_LOCAL_ADDR in the AirTAK Web UI to '0.0.0.0'.

ampledata commented 8 months ago

Actually, 0.0.0.0 won't work as a default, as there's no "default gateway". This is a note to myself to stop making this mistake ;)