Re: disable console messages

2012-05-16 Thread Polytropon
On Wed, 16 May 2012 00:27:07 -0700, mahdieh salamat wrote:
> hi all. how I can disbale console messages and clear screen on boot?
> Thanks

The console messages can be suppressed by commenting out the
line

*.err;kern.warning;auth.notice;mail.crit/dev/console

in /etc/syslog.conf; if you want the messages redirected to
a file (instead of the screen), just provide a different
target, such as

*.err;kern.*;auth.notice;mail.crit;console.info/var/log/console.log

Make sure /var/log/console.log does exist: run

# touch /var/log/console.log

There are more useful examples in that file. See "man 5 syslog.conf"
for details.



To also silence the kernel, you could add

boot_mute="YES"

or (and?)

consolse="nullconsole"

to /boot/loader.conf. See "man 8 loader" and "man 5 loader.conf"
and "less /boot/defaults/loader.conf" for details.



Finally:

Add the command "clear" or "/usr/bin/tput clear" at the end of
the /etc/rc script (not very clean, but works).



A quick web search brings up some inspiration:

http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/022911.html
http://forums.freebsd.org/showthread.php?t=10341
http://forums.freebsd.org/showthread.php?p=58256#post58256

You'll find a suggestion there on how to avoid fiddling with
the /etc/rc boot script (which should stay untouched due to
many reasons).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


disable console messages

2012-05-16 Thread mahdieh salamat
hi all. how I can disbale console messages and clear screen on boot?
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Console Messages

2010-11-29 Thread Grant Peel
Original Message- 
From: per...@pluto.rain.com

Sent: Sunday, November 28, 2010 10:03 PM
To: gp...@thenetnow.com
Cc: freebsd-questions-lo...@be-well.ilk.org ; freebsd-questions@freebsd.org
Subject: Re: Console Messages

"Grant Peel"  wrote:


> ...  You may need to go -hackers for this...

What is -hackers? ... ?


Yep.  I've observed a tendency not to put full listn...@domain
addresses in messages, perhaps in an attempt to avoid harvesting
by spammers :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Indeed, I have have tendencies in the past to accidentally hit the reply all 
instead of the reply button  will pay more attention in the future. 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Console Messages

2010-11-28 Thread perryh
"Grant Peel"  wrote:

> > ...  You may need to go -hackers for this...
>
> What is -hackers? freebsd-hack...@freebsd.org?

Yep.  I've observed a tendency not to put full listn...@domain
addresses in messages, perhaps in an attempt to avoid harvesting
by spammers :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Console Messages

2010-11-28 Thread Grant Peel


-Original Message- 
From: Lowell Gilbert

Sent: Sunday, November 28, 2010 10:23 AM
To: Grant Peel
Cc: freebsd-questions@freebsd.org
Subject: Re: Console Messages

"Grant Peel"  writes:


I am using FreeBSD 8.0 and am getting lots of these:

negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0

any ideas what it means or how to cure it?


Hmm.  Interesting.  You may need to go -hackers for this...

Apparently a socket buffer is claiming to use a negative amount of
space.  Offhand I'd guess that it wrapped around, but there seem to be
checks in place to avoid that.  It's something running as root, which
should help you track it down (most network daemons should be run as
other users anyway).

Glibert,

What is -hackers? freebsd-hack...@freebsd.org?

Thanks for the reply :-)

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Console Messages

2010-11-28 Thread Lowell Gilbert
"Grant Peel"  writes:

> I am using FreeBSD 8.0 and am getting lots of these:
>
> negative sbsize for uid = 0
> +negative sbsize for uid = 0
> +negative sbsize for uid = 0
> +negative sbsize for uid = 0
> +negative sbsize for uid = 0
>
> any ideas what it means or how to cure it?

Hmm.  Interesting.  You may need to go -hackers for this...

Apparently a socket buffer is claiming to use a negative amount of
space.  Offhand I'd guess that it wrapped around, but there seem to be
checks in place to avoid that.  It's something running as root, which
should help you track it down (most network daemons should be run as
other users anyway).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Console Messages

2010-11-27 Thread Grant Peel
Hi all,

I am using FreeBSD 8.0 and am getting lots of these:

negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0
+negative sbsize for uid = 0

any ideas what it means or how to cure it?

-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Console messages -- turning off specific - possible?

2006-12-30 Thread Vizion
Hi

I am working on a problem. The console error message about the problem is 
repeated multiple times to the console. How do I turn off  console messages 
generated in response to a specific  error?

Thanks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Within X, how can I see console messages?

2005-02-06 Thread Loren M. Lang
On Sat, Feb 05, 2005 at 10:40:19AM -0600, John wrote:
> On Sat, Feb 05, 2005 at 02:51:34AM -0800, Loren M. Lang wrote:
> > On Fri, Feb 04, 2005 at 12:01:06PM -0500, Steven Friedrich wrote:
> > > I know I can Control-Alt-F1 to go back to the console, but is there a way 
> > > to 
> > > see these messages in an xterm or something?
> > 
> > In addition to xconsole, there is a command dmesg which outputs the last
> > 4k of messages.  I run it if I suspect a problem and didn't have
> > xconsole running.  dmesg|tail helps limit the amount of messages.
> 
> OK - I have the opposite problem.  I have xconsole being started
> by xdm, which I like - that way I have the console messages visible
> even if no-one is logged in, and that's good.

Edit the xdm config files in /usr/X11R6/lib/X11/xdm which deal with
xdm loggin in and out to kill xconsole before it logs the user in.
There is a script in there that is run when the server start, a user
logs in, and out, etc.  Then if you need xconsole in kde, you can start
it on your own and kde will manage running it on every login.

> 
> My problem is that kde notices that I have an xconsole, and wants
> to start one on it's own when I log in.  The one xdm starts is
> persistent, though, so when kde tries to start it, too, and I always
> get one "xconsole <2>" that says "Console log for "[host] twice.
> 
> I'm using kde 3.3.2 and I don't remember this happening with 
> some previous versions.
> 
> I wasn't going to bug anyone, as everything works ok, and this is
> really just a minor annoyance, but since the subject of
> xconsole came up, I thought I'd ask.
> -- 
> 
> John Lind
> [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Within X, how can I see console messages?

2005-02-05 Thread John
On Sat, Feb 05, 2005 at 02:51:34AM -0800, Loren M. Lang wrote:
> On Fri, Feb 04, 2005 at 12:01:06PM -0500, Steven Friedrich wrote:
> > I know I can Control-Alt-F1 to go back to the console, but is there a way 
> > to 
> > see these messages in an xterm or something?
> 
> In addition to xconsole, there is a command dmesg which outputs the last
> 4k of messages.  I run it if I suspect a problem and didn't have
> xconsole running.  dmesg|tail helps limit the amount of messages.

OK - I have the opposite problem.  I have xconsole being started
by xdm, which I like - that way I have the console messages visible
even if no-one is logged in, and that's good.

My problem is that kde notices that I have an xconsole, and wants
to start one on it's own when I log in.  The one xdm starts is
persistent, though, so when kde tries to start it, too, and I always
get one "xconsole <2>" that says "Console log for "[host] twice.

I'm using kde 3.3.2 and I don't remember this happening with 
some previous versions.

I wasn't going to bug anyone, as everything works ok, and this is
really just a minor annoyance, but since the subject of
xconsole came up, I thought I'd ask.
-- 

John Lind
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Within X, how can I see console messages?

2005-02-05 Thread Loren M. Lang
On Fri, Feb 04, 2005 at 12:01:06PM -0500, Steven Friedrich wrote:
> I know I can Control-Alt-F1 to go back to the console, but is there a way to 
> see these messages in an xterm or something?

In addition to xconsole, there is a command dmesg which outputs the last
4k of messages.  I run it if I suspect a problem and didn't have
xconsole running.  dmesg|tail helps limit the amount of messages.

> -- 
> i386 FreeBSD 4.11-STABLE
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Within X, how can I see console messages?

2005-02-04 Thread Mark Ovens
Nathan Kinkade wrote:
On Fri, Feb 04, 2005 at 06:13:01PM +0100, Benjamin Walkenhorst wrote:
Steven Friedrich wrote:
>I know I can Control-Alt-F1 to go back to the console, but is there a way 
>to see these messages in an xterm or something?
> 
>
xconsole

When xdm starts, xconsole gets started, too, on my machine,
I can't remember doing anything to get this behaviour, though.
Kind regards,
Benjamin
Keep in mind that /dev/console may only be readable by root.  You might
have to change permissions on the device, or perhaps launch xconsole as
the root user.  There may be other ways to get around this.  I just
throw this into the mix as a problem that you may encounter.
You uncomment this line in /etc/fbtab
#/dev/ttyv0 0600/dev/console
and start an xterm with '-c' IIRC
Mark

---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0505-1, 02/02/2005
Tested on: 04/02/2005 18:13:55
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Within X, how can I see console messages?

2005-02-04 Thread Mike Hauber
On Friday 04 February 2005 01:00 pm, Nathan Kinkade wrote:
> On Fri, Feb 04, 2005 at 06:13:01PM +0100, Benjamin Walkenhorst 
wrote:
> > Steven Friedrich wrote:
> > >I know I can Control-Alt-F1 to go back to the console, but
> > > is there a way to see these messages in an xterm or
> > > something?
> >
> > xconsole
> >
> > When xdm starts, xconsole gets started, too, on my machine,
> > I can't remember doing anything to get this behaviour,
> > though.

This is setup automatically, and can be configured/removed 
from /usr/X11R6/lib/Xsetup_0.  The command is as follows (it will 
probably wrap):

xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed 
-exitOnFail

> >
> > Kind regards,
> > Benjamin
>
> Keep in mind that /dev/console may only be readable by root. 
> You might have to change permissions on the device, or perhaps
> launch xconsole as the root user.  There may be other ways to
> get around this.  I just throw this into the mix as a problem
> that you may encounter.
>
> Nathan

I'm not running as root and I'm not having any problems issuing 
the following command with xterm:

xconsole -daemon -notify -verbose -exitOnFail

Of course, you'd probably prefer creating a link to the 
application for your Desktop and/or menu.

Hope that helps,

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Within X, how can I see console messages?

2005-02-04 Thread Lowell Gilbert
Nathan Kinkade <[EMAIL PROTECTED]> writes:

> On Fri, Feb 04, 2005 at 06:13:01PM +0100, Benjamin Walkenhorst wrote:
> > Steven Friedrich wrote:
> > 
> > >I know I can Control-Alt-F1 to go back to the console, but is there a way 
> > >to see these messages in an xterm or something?
> > > 
> > >
> > xconsole
> > 
> > When xdm starts, xconsole gets started, too, on my machine,
> > I can't remember doing anything to get this behaviour, though.
> > 
> > Kind regards,
> > Benjamin
> 
> Keep in mind that /dev/console may only be readable by root.  You might
> have to change permissions on the device, or perhaps launch xconsole as
> the root user.  There may be other ways to get around this.  I just
> throw this into the mix as a problem that you may encounter.

The default xdm configuration runs xconsole from Xsetup (which runs as
root) before starting the user's startup script.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Within X, how can I see console messages?

2005-02-04 Thread Nathan Kinkade
On Fri, Feb 04, 2005 at 06:13:01PM +0100, Benjamin Walkenhorst wrote:
> Steven Friedrich wrote:
> 
> >I know I can Control-Alt-F1 to go back to the console, but is there a way 
> >to see these messages in an xterm or something?
> > 
> >
> xconsole
> 
> When xdm starts, xconsole gets started, too, on my machine,
> I can't remember doing anything to get this behaviour, though.
> 
> Kind regards,
> Benjamin

Keep in mind that /dev/console may only be readable by root.  You might
have to change permissions on the device, or perhaps launch xconsole as
the root user.  There may be other ways to get around this.  I just
throw this into the mix as a problem that you may encounter.

Nathan


pgpV0VmrWxqvx.pgp
Description: PGP signature


Re: Within X, how can I see console messages?

2005-02-04 Thread Benjamin Walkenhorst
Steven Friedrich wrote:
I know I can Control-Alt-F1 to go back to the console, but is there a way to 
see these messages in an xterm or something?
 

xconsole
When xdm starts, xconsole gets started, too, on my machine,
I can't remember doing anything to get this behaviour, though.
Kind regards,
Benjamin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Within X, how can I see console messages?

2005-02-04 Thread Steven Friedrich
I know I can Control-Alt-F1 to go back to the console, but is there a way to 
see these messages in an xterm or something?
-- 
i386 FreeBSD 4.11-STABLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: console messages after dmesg ?

2005-01-23 Thread Daniel S. Haischt
BTW - During boot time you can press 
and after that  ||  to
review the console messages.
faisal gillani schrieb:
How can i view the messages that comes after the
demesg output messages ?

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
		
__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Want a complete signature??? Type at a shell prompt:
$ > finger -l [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: console messages after dmesg ?

2005-01-23 Thread J.D. Bronson
What I do is this:
edit syslog.conf:
console.info/var/log/console.log
then 'touch /var/log/console.log'
kick syslog
Now anything that is tossed on the console will appear in
this log file :)

At 08:47 AM 1/23/2005, you wrote:
How can i view the messages that comes after the
demesg output messages ?

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤

__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
AIM:lonebanditusa // MSN:[EMAIL PROTECTED] // Yahoo:lonebanditusa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


console messages after dmesg ?

2005-01-23 Thread faisal gillani
How can i view the messages that comes after the
demesg output messages ?



=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw console messages

2004-10-01 Thread Norm Vilmer
Subhro wrote:
Could we have a look at the syslof configuration file?
Regards
S.
On Thu, 30 Sep 2004 12:09:40 -0500, Norm Vilmer
<[EMAIL PROTECTED]> wrote:
Norm Vilmer wrote:

I have been running a IPFW firewall on FreeBSD 4.10 for a few weeks
now. For some reason a few connection attempts are showing up on the
console rather than going to the log file. I can't seem to figure out
why. Any ideas?
I have tried adding the 'log' key word to every deny statement in my
IPFW firewall config file. For the most part all denied packets are
logged to /var/log/ipfw.log. But about 3-12 per night are not. These
also show up in the security run output email as kernel log messages.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
More info: my kernel is compiled with these option:
option  TCP_DROP_SYNFIN
option  ICMP_BANDLIM
option  IPFIREWALL
option  IPFIREWALL_VERBOSE
option  IPDIVERT
option  RANDOM_IP_ID

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


I dont think it is a login problem. I made only one change to the 
syslog.conf file, I added

!ipfw
*.* /var/log/ipfw.log
Ok, I did an experiment. I added
${cmd} add 10 pass TCP from any to ${oif}
where oif is my outside/public ip.
Then I attempted an FTP connection to my public ip from
another machine.
This popped up on the console.
Connection attempt to TCP :21 from :3079 
flags:0x02

Now I get it , the message on the
console are connection attempts that get through the firewall but no
service is running on the port.
need to look at my rules
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw console messages

2004-09-30 Thread Subhro
Could we have a look at the syslof configuration file?

Regards
S.


On Thu, 30 Sep 2004 12:09:40 -0500, Norm Vilmer
<[EMAIL PROTECTED]> wrote:
> 
> 
> Norm Vilmer wrote:
> 
> > I have been running a IPFW firewall on FreeBSD 4.10 for a few weeks
> > now. For some reason a few connection attempts are showing up on the
> > console rather than going to the log file. I can't seem to figure out
> > why. Any ideas?
> >
> > I have tried adding the 'log' key word to every deny statement in my
> > IPFW firewall config file. For the most part all denied packets are
> > logged to /var/log/ipfw.log. But about 3-12 per night are not. These
> > also show up in the security run output email as kernel log messages.
> >
> >
> >
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> > 
> More info: my kernel is compiled with these option:
> 
> option  TCP_DROP_SYNFIN
> option  ICMP_BANDLIM
> option  IPFIREWALL
> option  IPFIREWALL_VERBOSE
> option  IPDIVERT
> option  RANDOM_IP_ID
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw console messages

2004-09-30 Thread Norm Vilmer
Norm Vilmer wrote:
I have been running a IPFW firewall on FreeBSD 4.10 for a few weeks
now. For some reason a few connection attempts are showing up on the
console rather than going to the log file. I can't seem to figure out
why. Any ideas?
I have tried adding the 'log' key word to every deny statement in my
IPFW firewall config file. For the most part all denied packets are
logged to /var/log/ipfw.log. But about 3-12 per night are not. These
also show up in the security run output email as kernel log messages.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

More info: my kernel is compiled with these option:
option  TCP_DROP_SYNFIN
option  ICMP_BANDLIM
option  IPFIREWALL
option  IPFIREWALL_VERBOSE
option  IPDIVERT
option  RANDOM_IP_ID
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipfw console messages

2004-09-30 Thread Norm Vilmer
I have been running a IPFW firewall on FreeBSD 4.10 for a few weeks
now. For some reason a few connection attempts are showing up on the
console rather than going to the log file. I can't seem to figure out
why. Any ideas?
I have tried adding the 'log' key word to every deny statement in my
IPFW firewall config file. For the most part all denied packets are
logged to /var/log/ipfw.log. But about 3-12 per night are not. These
also show up in the security run output email as kernel log messages.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Console Messages Remotely

2002-11-15 Thread Ruben de Groot
On Thu, Nov 14, 2002 at 05:59:27PM -0800, patrick gibson typed:
> I like how when I su to root in FreeBSD, I get the console messages to my
> virtual tty. I have one server, though, where these messages are not being
> displayed. I haven't changed anything of which that I'm aware that would
> cause this, and my /etc/syslog.conf file seems okay:
> 
> *.err;kern.debug;auth.notice;mail.crit  /dev/console

This sends syslog messages to the console. If you su to root on a virtual tty, 
you're not on the console normally. To get the messages anyways put the following 
line in /etc/syslog.conf:

*.err;kern.debug;auth.notice;mail.crit  root

> 
> When I login remotely, and become root, I would like authentication errors
> and such to display on my terminal. I seem to remember once seeing an option
> that asked me if I wanted /dev/console to be redirected to any root tty, but
> for the life of me, I can't seem to locate where this option is. Does anyone
> know how I can (re-)activate this?
> 
> I'm running 4.6.2, by the way.
> 
> Thanks in advance,
> 
> Patrick
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

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



Console Messages Remotely

2002-11-14 Thread patrick gibson
I like how when I su to root in FreeBSD, I get the console messages to my
virtual tty. I have one server, though, where these messages are not being
displayed. I haven't changed anything of which that I'm aware that would
cause this, and my /etc/syslog.conf file seems okay:

*.err;kern.debug;auth.notice;mail.crit  /dev/console

When I login remotely, and become root, I would like authentication errors
and such to display on my terminal. I seem to remember once seeing an option
that asked me if I wanted /dev/console to be redirected to any root tty, but
for the life of me, I can't seem to locate where this option is. Does anyone
know how I can (re-)activate this?

I'm running 4.6.2, by the way.

Thanks in advance,

Patrick


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



Console messages from ahc0 - how serious are they?

2002-09-19 Thread Matthew Emmerton


I'm running 4.4-REL on a bunch of older systems with onboard Adaptec 7870
controllers and recently I've been getting lots of console output from one
of them.  I'm pretty sure it means that one of my drives is dying (which
I've suyspected for a while), but I'm just curious as to what the messages
really mean, and if I can determine the bad drive just from the messages.

The dmesg information (hardware probes):

ahc0:  port 0xf800-0xf8ff mem
0xffbef000-0xffbe irq 11 at device 11.0 on pci0
aic7870: Wide Channel A, SCSI Id=7, 16/255 SCBs
da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queuing Enabled
da0: 2049MB (4197405 512 byte sectors: 64H 32S/T 2049C)
da1 at ahc0 bus 0 targer 4 lun 0
da1:  Fixed Direct Access SCSI-CCS device
da1: 3.300MB/s transfers
da1: 1033MB (2117025 512 byte sectors: 64H 32S/T 1033C)
da2 at ahc0 bus 0 target 6 lun 0
da2:  Fixed Direct Access SCSI-2 device
da2: 10.000MB/s transfer (10.000MHz, offset 15), Tagged Queueing Enabled
da2: 4340MB (543 512 byte sectors: 64H 32S/T 4340C)

The console error messages:

(da0:ahc0:0:0:0): BDR message in message buffer
(da0:ahc0:0:0:0): SCB 0xe - timed out
ahc0: Dumping Card State in Data-in phase, at SEQADDR 0x7a
< snip dump data >
(da0:ahc0:0:0:0): no longer in timeout, status = 34b
ahc0: Issued Channel A Bus Reset.  3 SCBs aborted

I get these kinds of errors on da0, da1 and da2.  However, I only see this
message on da1:

(da1:ahc0:0:4:0): Unexpected busfree in Data-in phase

Is this the error that triggers off all the bus reset (and subsequent
timeouts and aborts)?  Should i look at replacing da1 real soon now?

--
Matt Emmerton



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