netmanager

TCP/IP Configuration Manager

Syntax:

netmanager [-f file] [-p num] [-r [interface]]
           [-s] [-w [interface]]

Runs on:

Neutrino

Options:

-f file
The name of the configuration file (the default is /etc/net.cfg).
-p num
The number of times to poll while waiting for the interface to become available; netmanager polls every 2 seconds for a default of 5 times.
-r [interface]
Read from the configuration file the information on this interface (default is all) and apply it.
-s
Log to stderr. The default is to log to slogger, the system logger.
-w [interface]
Obtain the configuration information on this interface (default is all) and write it in the configuration file.

Description:

The netmanager process is used to apply the TCP/IP configuration as described in the configuration file.

Note: 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.

You can use route and ifconfig to set TCP/IP parameters. You can also run dhcp.client from the command line.

Note: 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:

Examples:

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.

Files:

/etc/net.cfg
The configuration file read by netmanager.