Netprofiler saves the settings of network devices into files with appropriate names for each device in a folder whose name is specified by the user. These are called netprofiles. It is then easy to change the network settings to those saved in the profiles.
|Operating Systems||POSIX Linux|
|Implementation||Unix Shell bash|
Release Notes: A small issue with the install script was fixed. The license was changed to the GPL version 3.
Release Notes: This release adds a checkif_root function to install.sh, checks for hostx in case host from bind-utils isn't installed, masked filtering as a config file option, and path checks for id. The default permissions for the netprofiler script have been changed to 755. Root permission checks are now only executed when activating a profile or generating one.
Release Notes: The existence of the default.profile profile is now ensured. A bug in netprofiler 0.9.9 that made it almost unusable was fixed. In the check for /tmp/current.profile within get_current_profile(), the function would instead check for the default.profile directory, causing netprofiler to overwrite profiles. Some minor changes were made to the install.sh script.
Release Notes: install.sh was changed. Netprofiler is now installed to /usr/sbin instead of /usr/local/sbin. It also checks for the "host" command (from bind-utils) on the system and bails out if it doesn't find it. If the default route was a string (such as myrouter.lan or something similar), it would lead to many problems. Netprofiler now resolves these to their correct IP adress before writing the profile. If the last known current.profile profile file was deleted and then if netprofiler -s was run, it would bail.
Release Notes: If the general.settings file was missing from a profile that was being activated, then netprofiler would bail. The get_nameservers function has been fixed to be able to handle multiple nameserver entries in resolv.conf. set_essid has been fixed to handle spaces. Support has been added for multiple nameservers. The installer script has been made a bit more flexible. It's now possible to specify the default route in any of the device files. Support has been added for the udhcpc DHCP client in the dhcp_client variable in the config file.