Skip to content

Utility Scripts

changeip.sh

If the host OS settings such IP address, Proxy Configuration, or DNS Server Configuration are modified after the UIP software has been installed then a software upgrade will need to be completed before UIP will start using the modified settings.

If there is no software update currently available for UIP the following utility script can be downloaded and executed to trigger an upgrade to the same version of UIP that is currently installed.

curl -Of https://nec-downloads.com/nap/scripts/changeip.sh

To run the script execute the following: sudo bash changeip.sh

First the script will display the current IP address used by UIP and prompt for the desired IP address. Specify a different IP address, or leave the value empty and press Enter to keep the same IP address.

Second the script will display the currently installed UIP version and prompt for the desired UIP version. Specify a different UIP version, or leave the value empty and press Enter to keep the same version number.

The UIP orchestration service will then go through its normal software upgrade process which may take several minutes depending on whether or not a different UIP version was specified.

dockerfix.sh

In Docker version 29, which was released in November 2025, the default number of open files (nofiles) was changed from 1,048,576 to 1,024. This change can adversely impact UIP systems that were installed prior to December 2025.

If you have a UIP host machine running Docker version 29 or newer the Docker daemon.json configuration file should be modified to specify the nofile limits. We have created a bash script which you can download to apply these changes if needed.

The following utility script can be downloaded and executed to configure the Docker default nofile limits for your UIP system.

curl -Of https://nec-downloads.com/nap/scripts/dockerfix.sh

To run the script execute the following: sudo bash dockerfix.sh

The script sets the default back to 1,048,576 since testing has noticed some problems during heavy use. This script assumes the jq app was installed by the UIP install.