Reference

dhcdbd(1)

program to return dhcp configuration

[email protected] Riccardo Setti Copyright © 2006

January, 16 2006

NAME

dhcdbd - program to return dhcp configuration

SYNOPSIS

dhcdbd [--system] [--session] [--no-daemon] [--destVAR] [--pathVAR] [--prefix=VAR]

DESCRIPTION

dhcdbd is designed to be started as a D-Bus service from a service description file, by default /usr/share/dbus-1/services/dhcdbd.service;

hence the default bus it will connect to is the "STARTER" bus, and it must be installed setuid to root.

OPTIONS

--system

use system bus

--session

use session bus

--no-daemon

do not fork / daemonize: stay in foreground

--dest

set connection destination - default: 'com.redhat.dhcp'

--path

set object path prefix - default: '/com/redhat/dhcp'

--prefix

set interface prefix - default: 'com.redhat.dhcp'

EXAMPLES

Here are some examples using dbus-send to contact dhcdbd:

 /usr/bin/dbus-send --dest=com.redhat.dhcp --type=method_call \
                           --print-reply --reply-timeout=20000 \
                           /com/redhat/dhcp/eth0 \
		 			  com.redhat.dhcp.up uint32:7 uint32:2 

Brings up interface eth0, telling dhclient-script not to modify resolv.conf, perform ifconfigs, or modify routes, but TO configure ntp.conf, ntp/step-tickers and yp.conf. When this interface is brought down, the lease is to be released.

SEE ALSO

/usr/share/doc/dhcdbd/README

LICENSE

This manual page was written by Riccardo Setti <[email protected]>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.