[BusyBox] udhcpc and two interfaces?
Steven Scholz
steven.scholz at imc-berlin.de
Fri Aug 8 12:01:26 UTC 2003
Hi there,
I am using udhcpc (from busybox v1.00-pre3) on two interfaces:
~ # ps | grep dhcp
96 root 640 S /sbin/udhcpc -i eth0 -b -s /etc/dhcpc/default.script
262 root 624 R /sbin/udhcpc -i eth1 -b -s /etc/dhcpc/default.script
The second instance is started by PCMCIA CS in /etc/pcmcia/network:
...
elif [ -x /sbin/dhclient ] ; then
log "/sbin/dhclient $DEVICE >/dev/null 2>&1" || exit 1
elif [ -x /sbin/pump ] ; then
log "/sbin/pump $HN -i $DEVICE > /dev/null" || exit 1
elif [ -x /sbin/udhcpc ] ; then
log "/sbin/udhcpc -b -i $DEVICE -s /etc/dhcpc/default.script $CI $HN"
exit 0;
else
...
But somehow a "killall -SIGUSR1 udhcpc" kills my second udhcpc with any further notice!
A "kill -s SIGUSR1 262" or "kill -s SIGUSR2 262" does the same.
But when I start "/sbin/udhcpc -b -i eth1 -s /etc/dhcpc/default.script" by hand (and not from
/etc/pcmcia/network) than a "kill -s SIGUSR1 262" does indeed result in a "renew".
Any ideas?
Thanks a million,
Steven
More information about the busybox
mailing list