implement auto gateway Ip auto detection (#25)

Reviewed-on: #25
implemented #19
This commit was merged in pull request #25.
This commit is contained in:
2026-07-14 19:32:02 +01:00
parent 74de317ecb
commit a08cd30853
5 changed files with 119 additions and 12 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
# openuf — configuration
#
# controller_ip: UniFi controller IP address or hostname
# controller_ip: UniFi controller IP address or hostname; when empty,
# autodetect from the IPv4 default-route gateway
# lan_if: primary LAN interface (used for the AP MAC and IP)
# ufmodel: emulated model (u6-inwall recommended)
# inform_interval: seconds between inform requests (minimum 5)
@@ -10,7 +11,7 @@
# protocol_debug_level: 0=off, 1=safe response structure,
# 2=full decrypted response; may expose credentials
controller_ip = 10.10.10.1
controller_ip =
lan_if = br-lan
ufmodel = uapg2-ac-lr
inform_interval = 10