In message <[EMAIL PROTECTED]>, 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:  [EMAIL PROTECTED]
Open Systems Group, CITS
Ministry of Management Services
Province of BC            
                    FreeBSD UNIX:  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to