[nylug-talk] dhcp messages flooding console

Sunny Dubey
Wed Nov 29 23:40:41 EST 2006


On Wednesday 29 November 2006 20:00, matt black wrote:

> Oops, maybe I wasn't clear. I don't want to kill the process, I just want
> to redirect its output off of my console, either to a different terminal,
> or preferrably just a log. Currently it is flooding all active consoles
> with its messages, and my attempts to adjust severity levels didn't effect
> it.
>
> So how can I have all this noise politely log itself and not flood the
> screen I am working from?
>

I have to admit, I don't ever remember any DHCP client being so noisy, maybe I 
got the anti-social version or something.  Are you sure you aren't confusing 
DHCP with something else ? say an iptables script ?

there isn't much harm in killing dhcp, or booting to single mode.  But 
assuming you don't wanna boot to single mode or kill DHCP you could try the 
following:

cd /etc
cp syslog.conf syslog.conf-2006-11-29
sed -i 's#/dev/console#/dev/null##' syslog.conf
kill -HUP $(pgrep syslogd)

problem solved (hopefully)

-- 
Sunny Dubey

  mail:  sunny at opencurve.org
  tele:  212.333.3542


More information about the nylug-talk mailing list