dhcdbd1
Program to return dhcp configuration
Usage
dhcdbd [--system]
[--session]
[--no-daemon]
[--destVAR]
[--pathVAR]
[--prefix=VAR]
[email protected] Riccardo Setti Copyright © 2006
January, 16 2006
Overview
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.
Releases
Unchanged in 2 releases since Debian 4.0 (Etch).