The Care and Feeding of ISDN4BSD
previous up next
10 Setting up a 10 Setting up a 10.2 sppp and isp0

10.1 isdnd.rc Setup

This is the isdnd configuration file for out example setup:


#    isdnd.rc for

#    last edit-date: [Fri Feb 26 11:21:41 1999]



# SYSTEM section: global configuration parameters



ratesfile       = /etc/isdn/isdnd.rates # name & location of rates file

useacctfile     = yes                   # generate accounting info to file

acctall         = on                    # generate info for everything

acctfile        = /var/log/isdnd.acct   # name & location of accounting file

rtprio          = 25                    # modify isdnd's priority





name                    = I4BPPP        # name for reference

usrdevicename           = isp           # ipr, tel, rbch

usrdeviceunit           = 0             # unit number

isdncontroller          = 0             # controller to use or -1 to use any

isdnchannel             = -1            # channel (1/2) to use or 0 or -1 for any

                                        # numbers used to verify at DIAL IN

local-phone-incoming    = 241           # this is my number

remote-phone-incoming   = 581           # this one can call in

                                        # numbers used to DIAL OUT

local-phone-dialout     = 241           # this is my number

remote-phone-dialout    = 581           # i call this number

dialin-reaction         = accept        # accept, reject, ignore, answer

dialout-type            = normal        # normal / calledback

b1protocol              = hdlc          # hdlc, raw

idletime-incoming       = 30            # 3 seconds idle timeout

idletime-outgoing       = 30            # 3 seconds idle timeout

ratetype                = 0             # ratesfile entry to use

unitlength              = 60            # unitlength to assume

dialretries             = 2             # # of dial retries

recoverytime            = 5             # time to wait between 2 dial tries

What it does:

First, the system section specifies some obvious things you already know: the location of my ratesfile, i want to use an accounting file and the type of accounting information and the location of my accounting file. Also, i'd like to run my isdnd at realtime priority and this priority shall be 25. Thats all for the system section.

The entry section first defines a symbolic name. This name is used for example in the accounting records or on the full screen display.

Then the usrdevicename and the usedevicenumber are configured. This two items configure the device and unit number a B-channel is connected to (in the kernel) after a successful connection is made to a remote site.

The isdncontroller and isdnchannel specify which ISDN card (in case multiple ISDN cards are installed in a PC) and which B-channel on the card is to be used.

The phone numbers contain the extension numbers of the two ISDN S0 ports the Cisco and the PC are connected to, in this case 241 and 581.

The b1protocol keyword is mandatory and is used to configure the Layer 1 protocol on the B-channel, for PPP it must be set to hdlc.

The other keywords are relatively unimportant for the example and are explained in detail in section 6.1.3 of this handbook.

previous index next

Hellmuth Michaelis 2000-05-08