![]() |
![]() |
![]() |
![]() |
TCP/IP Configuration Manager
netmanager [-f file] [-p num] [-r [interface]] [-s] [-w [interface]]
The netmanager process is used to apply the TCP/IP configuration as described in the configuration file. It's usually run by phlip, or as part of the boot sequence to configure the TCP/IP parameters. You won't generally run netmanager directly; you should use the Photon phlip application to generate the configuration file.
![]() |
The netmanager is setuid root, so that it can query the interfaces and display any information. However, it doesn't apply changes unless the real user is root. |
The netmanager uses dhcp.client to support a DHCP configuration. Both phlip and netmanager are compatible with the full TCP/IP stack (npm-tcpip.so) and the tiny TCP/IP stack (npm-ttcpip.so).
Instead of using phlip and netmanager to set TCP/IP parameters, you can use route and ifconfig, for the full stack, and command-line options for the tiny stack. You can also run dhcp.client from the command line.
![]() |
Don't use both ways to configure your system.
When applying a configuration, parameters provided by a DHCP server are used before manually configured parameters. If you need to override a configuration parameter that's supplied by the DHCP server (e.g. gateway), use manual mode. |
The netmanager uses the _CS_RESOLVE configuration string instead of /etc/resolv.conf, and passes options to dhcp.client and pppd.
If there's no configuration file present, DHCP is used on unconfigured interfaces.
The netmanager can set or get TCP/IP configuration parameters related to:
Write the information for all interfaces in a file:
netmanager -w all -f filename
If no filename is provided, the information is written in /etc/net.cfg.
/etc/autoconnect, dhcp.client, ifconfig, npm-tcpip.so, npm-ttcpip.so, phlip, /etc/resolv.conf, route, slogger.
![]() |
![]() |
![]() |
![]() |