From 84cec1938dbb59590df46690bb2f0155850fd8b6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 8 Mar 2020 17:42:03 +0100 Subject: wireless: T1627: configure own_ip_addr to be compliant with the RADIUS protocol --- src/conf_mode/interfaces-wireless.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/conf_mode') diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py index 0c6500578..9cbb4c1cd 100755 --- a/src/conf_mode/interfaces-wireless.py +++ b/src/conf_mode/interfaces-wireless.py @@ -640,6 +640,12 @@ wpa_key_mgmt=WPA-EAP # IP addresses, but this field can be used to force a specific address to be # used, e.g., when the device has multiple IP addresses. radius_client_addr={{ sec_wpa_radius_source }} + +# The own IP address of the access point (used as NAS-IP-Address) +own_ip_addr={{ sec_wpa_radius_source }} +{% else %} +# The own IP address of the access point (used as NAS-IP-Address) +own_ip_addr=127.0.0.1 {% endif %} {% for radius in sec_wpa_radius -%} -- cgit v1.2.3