[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dhclient and option 82.
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: dhclient and option 82.
- From: Martin Ledoux <mledoux_(_at_)_videotron_(_dot_)_ca>
- Date: Mon, 16 Oct 2000 21:56:57 -0400
If you have access to another OBSD box, you could always cvs the source for
2.8 beta, apply the patch, and build a floppy image
(in /usr/src/$ARCH/floppies, I think).
Of course, if the option giving you troubles is not 0x52, you'll have to
modify the patch first.
On Mon, Oct 16, 2000 at 08:46:05AM +0100, Le Roux, Patrick wrote:
> The problem I have had with this is that the 2.8 beta boot floppy
> seems to check for unknown options and then falls over in a heap.
> Thus I have been unable to do an install of 2.8 beta for a while now
> as I install via ftp and need dhcp to work.
> Does anybody know a workaround for this?
> > <<File: patch.dhclient.txt>>
> > Hi.
> > It works! Included is a patch for
> > /usr/src/usr.sbin/dhcp/dhclient/dhclient.c.
> > Thanks for the tip!
> > On Sat, Oct 14, 2000 at 10:22:42AM -0400, Hugo Villeneuve wrote:
> > > I think the 2.7-release version wasn't checking unknown options, now it
> > > does and will chock on unknown option with this message.
> > >
> > > If you just want dhclient to ignore this option (it doesn't seem to be
> > > a config option), you can just edit the source code and recompile.
> > >
> > > In /usr/src/usr.sbin/dhcp/dhclient/dhclient.c, in function
> > "check_option",
> > > add "case 82:" in the "/* Do nothing */" part of the switch statement.
> > >
> > > Recompile, if it works tell people, somebody will properly fix it.
Étudiant, B.Sc. mathématiques-informatique, Université de Montréal
Email: ledoum_(_at_)_iro_(_dot_)_umontreal_(_dot_)_ca | W3: http://www.iro.umontreal.ca/~ledoum
Visit your host, monkey.org