Network operation mode: Switching network levels on the fly

Next Previous Contents

## 2. Switching network levels on the fly

Your are allowed to switch the network operation mode on the fly using the following commands:

- netconf --runlevel local
- netconf --runlevel client
- netconf --runlevel server

In each case, it will make sure the proper daemons are running.

The command

> `

>                     netconf --update

> `

may be also useful to make sure a system is current (in sync with its configuration). The command

> `

>                     netconf --status

> `

gives a report on what has to be done, while --update does it.

The file /var/run/netconf.level stores the current operation mode and it is used by the --update and --status options for netconf. This file is updated by "netconf --runlevel" and by `/sbin/askrunlevel` at boot time.

Next Previous Contents