Operating System - HP-UX
1838363 Members
3202 Online
110125 Solutions
New Discussion

Network cable connection interrupt = kernel/driver message ?

 
SOLVED
Go to solution
Kasper_USB
Frequent Advisor

Network cable connection interrupt = kernel/driver message ?

Hello

Is there a default logging if a network-connection to a switchport is broken or reconnected. (like in Tru64 -> interface up/down message in the messages-File.)

(could depend on the driver ?)

Thanks for all Feedbacks.

Olaf Kasper
4 REPLIES 4
Torsten.
Acclaimed Contributor
Solution

Re: Network cable connection interrupt = kernel/driver message ?

Yes. Normally you see a message on console and in syslog like "link down".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Kasper_USB
Frequent Advisor

Re: Network cable connection interrupt = kernel/driver message ?

Any idea, if i see nothing in the syslog after a switch/port - change ?
John Talaga
Advisor

Re: Network cable connection interrupt = kernel/driver message ?

Kasper_USB,

Check /etc/syslog.conf. I am experiencing similar issues that you are, but the first place I checked was what logging looked like in syslog.conf.

Here is my configuration, which is default I believe.

mail.debug /var/adm/syslog/mail.log
auth.debug /var/adm/syslog/debug-ssh.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *


The *.info line should allow for this link loss event to be logged to syslog. At least I would assume that a link loss error message would be Info or higher, yet I see nothing in syslog for this event.

Is there some other log file somewhere that is perhaps getting this event written to it instead of syslog?

Kasper_USB -- what does your syslog.conf look like?

Thanks all,
Kasper_USB
Frequent Advisor

Re: Network cable connection interrupt = kernel/driver message ?

Hello

Here my config:

# @(#)B.11.31_LR
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *


its default.

Greetings Olaf