diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 965b6f2f..a8b97dd6 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -1342,7 +1342,7 @@ Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_ fi if [ $ip_addresses_have_changed ]; then write_config_param "NETWORK_IS_STATIC" "1" - write_config_param "STATIC_IP_ADDRESS" "$NEW_STATIC_IP" + write_config_param "LOCAL_NETWORK_STATIC_IP_ADDRESS" "$NEW_STATIC_IP" write_config_param "ROUTER_IP_ADDRESS" "$NEW_STATIC_GATEWAY" email_change_relay "$NEW_STATIC_IP" diff --git a/src/freedombone-utils-wifi b/src/freedombone-utils-wifi index 09d11d00..ede106a0 100755 --- a/src/freedombone-utils-wifi +++ b/src/freedombone-utils-wifi @@ -55,11 +55,11 @@ function wifi_static_network_interface { echo '#this line must always be here' >> /etc/network/interfaces echo 'iface default inet dhcp' >> /etc/network/interfaces else - read_config_param "STATIC_IP_ADDRESS" + read_config_param "LOCAL_NETWORK_STATIC_IP_ADDRESS" read_config_param "ROUTER_IP_ADDRESS" echo '#static address' >> /etc/network/interfaces echo 'iface default inet static' >> /etc/network/interfaces - echo " address ${STATIC_IP_ADDRESS}" >> /etc/network/interfaces + echo " address ${LOCAL_NETWORK_STATIC_IP_ADDRESS}" >> /etc/network/interfaces echo ' netmask 255.255.255.0' >> /etc/network/interfaces echo " gateway ${ROUTER_IP_ADDRESS}" >> /etc/network/interfaces fi