I should be grateful for some help in getting dctrl to work.  Diald-0.99.2,
which I have recently installed, is working satisfactorily, apart from the
fact that I can't control it by using dctrl/fifo.  Diald does not react 
either to a command such as "echo down > /etc/diald/diald.ctl" or to a
command issued through the dctl graphic interface when in "X".

I'm running SuSE.6.2, with Linux-2.2.13, and have installed Tcl/TK-8.2.2.

The initial part of the file /usr/bin/dctrl reads as follows:

#!/bin/sh
# the next line restarts using wish \
exec wish "$0" "$@"
#

# User tunable parameters
set imagepath "/usr/lib/diald"
set diald_TITLE "Diald"
set diald_FIFO "/etc/diald/diald.ctl"
set diald_HOST ""
set diald_PORT 0

# Default globals
set monfifo ""
set monfd ""
set fifofd ""
set fifo_counter 0

# Initial values
set monloglevel 6
set monlevel 0x0000017f
set monstate 0.0
set queue_list [list]
set max_info_lines 500
set out_usage bps
set in_usage bps
set out_bandwidth [expr 33600 / 8]
set in_bandwidth [expr 33600 / 8]

# These should be proc static but Tcl has no such concept.
set txtotal 0
set status(rx_total) 0.0
set status(tx_total) 0.0
set status(rx_load) 0.0
set status(tx_load) 0.0
set status(rx_load5) 0.0
set status(tx_load5) 0.0
set status(rx_load150) 0.0
set status(tx_load150) 0.0
...

I've probably omitted some essential step, but can't discover what that might
be from reading the manpages. Can someone kindly point me in the right
direction?

TIA

--
Robin Cosby


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to