Date: Sun, 23 Jul 2000 13:26:02 -0700 From: Nick Sayer <nsayer@quack.kfu.com> To: Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp> Cc: freebsd-current@freebsd.org Subject: Re: DHCP client problem? Message-ID: <397B54DA.C55EBAE1@quack.kfu.com> References: <200007220022.RAA02194@medusa.kfu.com> <86ittyjtvd.wl@ringo.FromTo.Cc>
next in thread | previous in thread | raw e-mail | index | archive | help
Reversing that patch fixes it. Since the source for this is in contrib, I presume we need to send this back to ISC rather than patch it in our tree? Tatsumi Hosokawa wrote: > > At Fri, 21 Jul 2000 17:22:15 -0700 (PDT), > Nick Sayer <nsayer@quack.kfu.com> wrote: > > > > Something changed very recently in the dhcp client stuff that seems > > to have broke my -current machine's ability to be a dhcp client. > > > > The symptom is that I see > > > > ifconfig: netmask 255.255.255.224: bad value > > > > come out of the script invocation, and the ip address does not get > > set. > > My -current machine (cvsupped only a few hours ago) has the same > problem. > > > If I echo out the parameters and type in THE EXACT SAME command line > > myself, it works just fine. I suspect some sort of bizarre > > quoting conspiracy. :-) > > Maybe here? > (in > http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/isc-dhcp/client/scripts/freebsd.diff?r1=1.11&r2=1.12) > > - if [ x$old_ip_address = x ] || [ x$old_ip_address != x$new_ip_address ] || \ > - [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then > - ifconfig $interface inet $new_ip_address $new_netmask_arg \ > - $new_broadcast_arg $medium > + if [ "x$old_ip_address" = "x" ] || [ "x$old_ip_address" != "x$new_ip_address" ] || \ > + [ "x$reason" = "xBOUND" ] || [ "x$reason" = "xREBOOT" ]; then > + ifconfig "$interface" inet "$new_ip_address" "$new_netmask_arg" \ > + "$new_broadcast_arg" "$medium" > > --------------------------- > Tatsumi Hosokawa > hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?397B54DA.C55EBAE1>