From owner-freebsd-stable Sat May 4 7:30:26 2002 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 5730A37B41F for ; Sat, 4 May 2002 07:30:05 -0700 (PDT) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id HAA06562; Sat, 4 May 2002 07:30:03 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda06556; Sat May 4 07:29:48 2002 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.6/8.9.1) id g44EThK68819; Sat, 4 May 2002 07:29:43 -0700 (PDT) Received: from UNKNOWN(10.1.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdu68817; Sat May 4 07:29:09 2002 Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.12.3/8.12.3) with ESMTP id g44ET9AF001990; Sat, 4 May 2002 07:29:09 -0700 (PDT) (envelope-from cy@cwsys.cwsent.com) Message-Id: <200205041429.g44ET9AF001990@cwsys.cwsent.com> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Reply-To: Cy Schubert - CITS Open Systems Group From: Cy Schubert - CITS Open Systems Group X-Sender: schubert To: Ted Sikora Cc: "freebsd-stable@FreeBSD.ORG" Subject: Re: dhclient messages In-Reply-To: Message from Ted Sikora of "Sat, 04 May 2002 09:40:02 EDT." <3CD3E4B2.D210D642@ntplx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 May 2002 07:29:09 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <3CD3E4B2.D210D642@ntplx.net>, Ted Sikora writes: > Anyway of turning these annoying messages off? > Started after a cvsup/buildworld this week. > It's filling up the messages file and using a term is almost impossible. > > May 4 09:00:34 dhcp-209-xx-xx-xx dhclient: New Network Number: > 209.xx.xx.xx.xx > May 4 09:00:34 dhcp-209-xx-xx-xx dhclient: New Broadcast Address: > 209.xx.xx.255 You can use the patch at the end of this email to disable the messages or you can replace the script entirely as I have done on my firewall here at home in my dhclient.conf: script "/usr/local/etc/dhclient-scrip t"; The stock dhclient-script is normally installed from src/contrib/isc-dhcp/client/scripts/freebsd, however you can copy sbin/dhclient/dhclient-script.sh to another location and use it instead. This is basically what I did on my firewall system at home, with modifications to update my jailed-caching-only DNS, re-establish my VPN to work, restart ntpd, and resync IP Filter (ipf -y) if the IP address changes. Generally, what I'm trying to say is that there are other options and you can even modify those options. (Many of the questions that are posted on -stable, -security, and the IP Filter mailing lists can be easily resolved by simple modifications to the dhclient-script of your choice.) --- dhclient-script.orig Sat Apr 27 19:40:24 2002 +++ dhclient-script Sat May 4 06:43:51 2002 @@ -38,12 +38,7 @@ fi fi -if [ x$new_network_number != x ]; then - $LOGGER New Network Number: $new_network_number -fi - if [ x$new_broadcast_address != x ]; then - $LOGGER New Broadcast Address: $new_broadcast_address new_broadcast_arg="broadcast $new_broadcast_address" fi if [ x$old_broadcast_address != x ]; then Cheers, Phone: 250-387-8437 Cy Schubert Fax: 250-387-5766 Team Leader, Sun/Alpha Team Email: Cy.Schubert@osg.gov.bc.ca Open Systems Group, CITS Ministry of Management Services Province of BC FreeBSD UNIX: cy@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message