Date: Mon, 10 Aug 1998 22:55:27 -0400 (EDT) From: software@kew.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/7568: /etc/pccard_ether doesn't support wide-dhcp Message-ID: <199808110255.WAA24333@kendra.ne.mediaone.net>
next in thread | raw e-mail | index | archive | help
>Number: 7568
>Category: conf
>Synopsis: pccard_ether doesn't support wide-dhcp
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 10 20:00:00 PDT 1998
>Last-Modified:
>Originator: Drew Derbyshire
>Organization:
Kendra Electronic Wonderworks
>Release: FreeBSD 2.2.7-RELEASE i386
>Environment:
Portable running 2.2.7 in DHCP enviromment with wide-dhcp
>Description:
Wrapper script for PC Card Ethernet Adapters only supports ISC DHCP;
I prefer wide-dhcp, and since both are packages, it should get
equal billing.
>How-To-Repeat:
Set pccard ethernet configuration to DHCP without ISC DHCP on system.
>Fix:
*** /etc/pccard_ether Tue Mar 24 20:56:48 1998
--- pccard_ether Mon Aug 10 22:23:36 1998
***************
*** 18,25 ****
rm /var/run/dhclient.pid
fi
/usr/local/sbin/dhclient
else
! echo "DHCP client software not available (isc-dhcp2)"
fi
else
interface=$1
--- 18,32 ----
rm /var/run/dhclient.pid
fi
/usr/local/sbin/dhclient
+ elif [ -f /usr/local/sbin/dhcpc ] ; then
+ if [ -s /var/run/dhcpc.pid ] ; then
+ kill `cat /var/run/dhcpc.pid`
+ rm /var/run/dhcpc.pid
+ fi
+ /usr/local/sbin/dhcpc $*
else
! echo "DHCP client software not available" \
! "(wide-dhcp/isc-dhcp2)"
fi
else
interface=$1
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808110255.WAA24333>
