Download Print this page

D-Link DI-300 Frequently Asked Questions Manual page 23

D-link di-300: frequently asked questions
Hide thumbs Also See for DI-300:

Advertisement

D-Link Co.,_______________________________________________________________________ FAQ
This feature can be configured in menu 24.3.2:
- Active= Yes
- Syslog IP Address= [IP address of logging host]
- Log Facility= localn
where 'n' is a number from 0 to 7.
You can use this feature to handle your call accounting because
the Router will send out Call Information Syslog messages
detailing incoming and outgoing calls.
messages are as follows:
- [timestamp] line 1 channel 1, call 41, C01, Incoming Call,
40001
- [timestamp] line 1 channel 1, call 41, C01, ANSWER Connected,
64K 40001
- [timestamp] line 1 channel 1, call 41, C01, Incoming Call, Call
Terminated
6.
How do I setup syslogd in UNIX to use Router build-in log
capability?
Here are some examples of different ways to setup the syslog
daemon configuration file to take the log:
<example 1>
/etc/syslog.conf:
local1.info
local2.info
Go to /var/log create D-Link_log_1 and D-Link_log_2 by 'touch D-
Link_log_1' and 'touch D-Link_log_2'. In Router, if you set the
'Log Facility' to 'local1', then the log will be log to file D-
Link_log_1. If you set to 'local2', the log will go to file D-
Link_lo_2.
<exampel 2>
/etc/syslog.conf:
*.info
Create D-Link in /var/log directory.
<example 3>
local0.*
local1.*
local2.*
*.=info;*.=notice
Note: In the configuration file:
1) Put the most restrictive things at the front. This syslog.conf
will get everything from local 0,1,2, no matter what level it is,
and send it to D-Link_log
2) USE TABS!!!! No spaces!
7.
What are the debugging commands for the Router?
The format of these
/var/log/D-Link_log_1
/var/log/D-Link_log_2
/var/log/D-Link_log
/usr/adm/D-Link.log
/usr/adm/D-Link.log
/usr/adm/D-Link.log
/usr/adm/messages
Can I debug my
FAQ: 23

Advertisement

loading