1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
1999-03-07 16:12:47 +00:00
|
|
|
.\" Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
|
1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1999-12-14 21:14:28 +00:00
|
|
|
.\" $Id: isdntest.8,v 1.10 1999/12/13 22:11:55 hm Exp $
|
|
|
|
.\"
|
1999-08-28 01:35:59 +00:00
|
|
|
.\" $FreeBSD$
|
1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
1999-12-14 21:14:28 +00:00
|
|
|
.\" last edit-date: [Mon Dec 13 23:07:23 1999]
|
1998-12-27 21:47:14 +00:00
|
|
|
.\"
|
1999-12-14 21:14:28 +00:00
|
|
|
.Dd December 10, 1999
|
1999-08-15 08:47:11 +00:00
|
|
|
.Dt ISDNTEST 8
|
|
|
|
.Os
|
1998-12-27 21:47:14 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm isdntest
|
|
|
|
.Nd isdn4bsd debugging and verification tool
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl c Ar unit
|
1999-12-14 21:14:28 +00:00
|
|
|
.Op Fl d Ar level
|
1998-12-27 21:47:14 +00:00
|
|
|
.Op Fl i Ar number
|
1999-12-14 21:14:28 +00:00
|
|
|
.Op Fl h
|
1998-12-27 21:47:14 +00:00
|
|
|
.Op Fl o Ar number
|
1999-12-14 21:14:28 +00:00
|
|
|
.Op Fl t Ar num
|
1998-12-27 21:47:14 +00:00
|
|
|
.Op Fl w
|
|
|
|
.Sh DESCRIPTION
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
2000-11-20 20:10:44 +00:00
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility is part of the isdn4bsd package and may be used as a stimulation tool
|
1998-12-27 21:47:14 +00:00
|
|
|
for debugging the isdn4bsd kernel functionality.
|
|
|
|
.Pp
|
2001-07-15 08:06:20 +00:00
|
|
|
NOTE:
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility must be run
|
1998-12-27 21:47:14 +00:00
|
|
|
.Em instead
|
|
|
|
of the
|
|
|
|
.Xr isdnd 8
|
2001-08-08 18:32:06 +00:00
|
|
|
daemon and cannot be used while the daemon runs.
|
1998-12-27 21:47:14 +00:00
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl c
|
|
|
|
Use controller unit number for test.
|
1999-12-14 21:14:28 +00:00
|
|
|
.It Fl d
|
|
|
|
Set the debugging level
|
1998-12-27 21:47:14 +00:00
|
|
|
.It Fl h
|
|
|
|
Use HDLC as the B channel layer 1 protocol instead of no protocol.
|
|
|
|
.It Fl i
|
|
|
|
Use number to verify the incoming number.
|
|
|
|
.It Fl o
|
|
|
|
Use number as the outgoing number to dial.
|
1999-12-14 21:14:28 +00:00
|
|
|
.It Fl t
|
|
|
|
Set number of times the test pattern on the B-channel is exchanged
|
1998-12-27 21:47:14 +00:00
|
|
|
.It Fl w
|
|
|
|
Wait for keyboard input for terminating the call.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is currently of not much use for end users, it is primarily a debugging
|
|
|
|
tool for development and is part of the release in the hope, that someone
|
|
|
|
enhances it as a real self test and setup-verification tool!
|
|
|
|
.Pp
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility does almost no error checking and error recovery, so unexpected
|
1998-12-27 21:47:14 +00:00
|
|
|
hangs or crashes may occur.
|
|
|
|
.Sh EXAMPLES
|
2001-07-15 08:06:20 +00:00
|
|
|
For the following example, it is assumed that a machine with isdn4bsd
|
1998-12-27 21:47:14 +00:00
|
|
|
installed is connected to an S0 bus and that one of the valid MSN's (MSN = Multiple Subscriber Number
|
|
|
|
= telephone number) on this bus is
|
|
|
|
.Em 42 .
|
2001-07-15 08:06:20 +00:00
|
|
|
The
|
1998-12-27 21:47:14 +00:00
|
|
|
.Xr isdnd 8
|
|
|
|
.Em must
|
2004-07-02 23:13:00 +00:00
|
|
|
not currently running on that machine!
|
|
|
|
Executing:
|
1998-12-27 21:47:14 +00:00
|
|
|
.Bd -literal -offset indent
|
|
|
|
isdntest -i 42 -o 42
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
will setup an outgoing call from that machine to itself, connect to itself
|
|
|
|
and disconnect after 5 seconds.
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility has to be finished by the user by entering Control-C.
|
1998-12-27 21:47:14 +00:00
|
|
|
.Sh FILES
|
2000-12-27 15:30:30 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Pa /dev/i4b
|
|
|
|
.El
|
2000-11-17 11:44:16 +00:00
|
|
|
.Sh AUTHORS
|
1998-12-27 21:47:14 +00:00
|
|
|
The
|
|
|
|
.Nm
|
2001-07-15 08:06:20 +00:00
|
|
|
utility and this manpage were written by
|
1999-12-14 21:14:28 +00:00
|
|
|
.An Hellmuth Michaelis Aq hm@kts.org .
|