The package doesn't install for me too (using kernel 2.6.29-2-amd64). Message in syslog : > logger[7334]: dhcp-probe: IP not configured on host, please see > template file /usr/share/doc/dhcp-probe/dhcp_probe.tpl.eth0 to > configure !
A quick look at the postinst script shows that it tries to use too much magic ... It tries to search for an interface with an IP configured, and uses many cuts on ifconfig output to find it. These cuts don't work. :) > IFCONFIG='/sbin/ifconfig' > [...] > interfaces=`$IFCONFIG | grep eth | awk '{ print $1 }';` > if test -n "$interfaces" > then > for i in $interfaces; do > ether=`$IFCONFIG | grep $i | awk '{ print $5 }';` > eth_lines=`$IFCONFIG | grep -A 3 $i` > inet=`echo $eth_lines | cut -f 6 -d ' '` > if test $inet = 'inet' > then > ipv4=`echo $eth_lines | cut -f 7 -d ' ' | cut -f 2 -d ':'` > ipv4_mask=`echo $eth_lines | cut -f 8 -d ' ' | cut -f 2 -d ':'` The postinst script should maybe use cleaner ways to get informations about the network cards :) -- Michel Blockelet <blocke...@crans.org> Sorry, no replacement script to propose yet ...
signature.asc
Description: Ceci est une partie de message numériquement signée