Re: eth0: flipped to 10baseT appears on login prompt
On Sat, Jul 01, 2006 at 20:11:56 +0300, Mikko Fallenius wrote:
> > This appears because of something like the following in syslog.conf
> > # *.=debug;*.=info;\
> > # *.=notice;*.=warn /dev/tty8
>
> There are no entries in syslog.conf for /dev/tty1 (local console)
> or any other console except a "|/dev/xconsole" entry which seems
> to be for some mail related messages.
> tty1 is where the login prompt and the eth0: messages
> appear after the boot sequence.
>
> I just can't figure out how to suppress
> certain messages by using syslog.conf.
If you run a kernel with procfs (e.g. a "normal" Debian kernel) you can
do
echo "4 4 1 7" > /proc/sys/kernel/printk
to stop low-level messages on the console. If you want this setting to
be applied at boot time you can add the following line to
/etc/sysctl.conf:
kernel.printk = 4 4 1 7
(This line is already present on Etch and Sid and just has to be
uncommented if desired.)
Another possibility is to edit /etc/init.d/klogd and change the line
KLOGD=""
to
KLOGD="-c 4"
and then to restart klogd. (This change can be overwritten when the
klogd package is upgraded.)
--
Regards,
Florian
Reply to: