Date: 7 May 2010 10:29:53 -0400 From: "John R. Levine" <johnl@iecc.com> To: freebsd-questions@freebsd.org Subject: Re: Using different IP config than what DHCP provides Message-ID: <alpine.BSF.2.00.1005070956590.30121@joyce.lan> In-Reply-To: <44r5loc6a2.fsf@lowell-desk.lan> References: <hrutbc$1s1l$1@gal.iecc.com> <44r5loc6a2.fsf@lowell-desk.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
>> than the default one DHCP offers. It is a pain to have to kill >> dhclient and do the ifconfig and route commands manually. > > There are enough hooks in dhclient-script(8) to do this, assuming you > have some way for the system to recognize where it is programatically. Ah, right. It looks like can put it in /etc/dhclient-enter-hooks, check for the SSID and change $new_host_name, $new_ip_address, $new_subnet_mask, $new_broadcast_address, and $new_routers. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor "More Wiener schnitzel, please", said Tom, revealingly.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1005070956590.30121>