n/isdn/README < /title -- class="s="lxr_t].se hrepri; aclass="s=v cl=s="ded" aad_fr="+pri; =n/isdn/README hredn/uass="lxr_logo"> 2on/isdn/README 'i '/"> 'i ''i 'n/isdn/README s=s=s="/spar c s="/form c s="a s=s=s= href="../linux+v3.7.4/Documentad_fr/isdn/README">s=s=s="img src="../.stad_c/gfx/right.png" alt=">>">s="/spar cs="spar class="lxr_search">s=s=
s=s=s="input typ e"hidden" nam e"navtarget" ]; } e"">s=s=s="input typ e"text" nam e"search" ide"search">s=s=s="buttfratyp e"submit">Searchs=s=s=Prefsc s="/a>s="/spar cs=s= ="/div cs=s= ="form acd_fr="ajax+*" method="post" onsubmit="return false;">s="input typ e"hidden" nam e"ajax_lookup" ide"ajax_lookup" ]; } e"">ss=s= ="/form css=s= ="div class="headingbottfm">
= =1"/a>README for the ISDN-subsystem = =2"/a>s= =3"/a>1.=Prefaces= =4"/a>s= =5"/a> =1.1 Introducd_frs= =6"/a>s= =7"/a> =This README describes how to set up and how to use the different partss= =8"/a> =of the ISDN-subsystem.s= =9"/a>s= 10 =For using the ISDN-subsystem, some addid_fral userlevel programs ares= 11 =necessary.=Those programs and some contributed utilid_es are availables= 12 =ats= 13"/a>s= 14 = ftp.isdn4linux.des= 15"/a>s= 16 = /pub/isdn4linux/isdn4k-utils-<Vers_frNumber>.tar.gzs= 17"/a>s= 18"/a>s= 19 =We also have set up a mailing-list: = 20"/a>s= 21 ==The isdn4linux-project originates in Germany, and therefore by historicals= 22 = reasons, the mailing-list's primary language is german. However mailss= 23 = written in english have been welcome all the time.s= 24"/a>s= 25"/a> = to subscribe: write a email to majordomo@listserv.isdn4linux.de,s= 26 = Subject irrelevant, in the message body: = 27"/a> = subscribe isdn4linux <your_email_address> = 28"/a>s= 29 ==To write to the mailing-list, write to isdn4linux@listserv.isdn4linux.des= 30"/a>s= 31 ==This mailinglist is bidirecd_frally gated to the newsgroups= 32"/a>s= 33 = de.alt.comm.isdn4linuxs= 34"/a>s= 35"/a> =There is also a well maintained FAQ in English available=ats= 36 = http://www.mhessler.de/i4lfaq/"/a>s= 37"/a> =It can be viewed online, or downloaded in sgml/text/html format.s= 38"/a> =The FAQ can also be viewed online=ats= 39 = http://www.isdn4linux.de/faq/"/a>s= 40 =or downloaded from = 41 = ftp://ftp.isdn4linux.de/pub/isdn4linux/FAQ/ = 42"/a>s= 43"/a> =1.1 Technical detailss= 44"/a>s= 45"/a> =In the following Text, the terms MSN and EAZ are used.s= 46"/a>s= 47"/a> =MSN is the abbreviad_fr for (M)ultiple(S)ubscriber(N)umber, and appliess= 48"/a> =to Euro(EDSS1)-typ lines. Usually it is simply the phone=number.s= 49"/a>s= 50 =EAZ is the abbreviad_fr of (E)ndgeraete(A)uswahl(Z)iffer ands= 51 =applies=to German 1TR6-typ lines. This is a one-digit string,s= 52 =simply appended to the base phone=numbers= 53"/a>s= 54"/a> =The interral handling is nearly identical, so replace the appropriates= 55"/a> =term to that one, which=applies=to your local ISDN-environment.s= 56"/a>s= 57"/a> =When the link-level-module isdn.o is loaded, it supports up to 16s= 58"/a> =low-level-modules with up to 64 channels. (The number 64 is arbitrarilys= 59 =chosen and can be configured at compile-time --ISDN_MAX in isdn.h).s= 60 =A=low-level-driver can register itself through=an interface (which=iss= 61 =defined in isdnif.h) and gets assigned a slot.s= 62"/a> =The following char-devices are made available=for each=channel: = 63"/a>s= 64 =A=raw-control-device with the following funcd_frs: = 65 = write:=raw D-channel-messages (format:=depends on driver).s= 66 = read: =raw D-channel-messages (format:=depends on driver).s= 67 = ioctl:=depends on driver, i.e. for the ICN-driver, the base-address ofs= 68 = the ports and the shared memory on the card can be set and reads= 69 = also the boot-code and the protocol software can be loaded intos= 70 = the card.s= 71"/a>s= 72 = O N L Y !!! for debugging (no locking against other devices): = 73 = One=raw-data-device with the following funcd_frs: = 74 = write:=data to B-channel.s= 75 = read: =data from B-channel.s= 76"/a>s= 77 = In addid_fr the following devices are made available: = 78"/a>s= 79 = 128 tty-devices (64 cuix and 64 ttyIx) with integrated modem-emulator: = 80 = The funcd_frality is almost the same as that of a serial device = 81 = (the line-discs are handled by the kerrel), which=lets you rurs= 82 = SLIP, CSLIP and asynchronous PPP through=the devices.=We have testeds= 83 = Seyon, minicom, CSLIP (uri-dip) PPP, mgetty, XCept and Hylafax. s= 84"/a>s= 85 = The modem-emulat_fr supports the following: = 86 = 1.3.1 Commands: = 87"/a>s= 88 = ATA Answer incoming call.s= 89 = ATD<No.> Dial, the number may contain: = 90 = [0-9] and [,#.*WPT-S] = 91 = the latter are ignored until 'S'.s= 92 = The 'S' must precede the number, ifs= 93 = the line=is a SPV (German 1TR6).s= 94 = ATE0 Echo off.s= 95 = ATE1 Echo on (default).s= 96 = ATH Hang-up.s= 97 = ATH1 Off hook (ignored).s= 98 = ATH0 Hang-up.s= 99 = ATI Return "ISDN for Linux...".s=100 = ATI0 "s=101 = ATI1 "s=102 = ATI2 Report of last connecd_fr.s=103 = ATO On line=(data mode).s=104 = ATQ0 Enable=result codes (default).s=105 = ATQ1 Disable=result codes (default).s=106 = ATSx=y = Set register x=to y.s=107 = ATSx? Show contents of register x.s=108 = ATV0 Numeric=responses.s=109 = ATV1 English responses (default).s=110 = ATZ Load registers and EAZ/MSN from Profile.s=111 = AT&Bx = Set Send-Packet-size to x (max. 4000)s=112 = The real packet-size may be limited by thes=113 = low-level-driver used. e.g. the HiSax-Module-s=114 = limit=is 2000. You will get NO Error-Message,s=115 = if you set it=to higher ]; } s, because at thes=116 = time of giving this command the correspondings=117 = driver may not be selected (see "Automad_cs=118 = Assignment") however the size of outgoing packetss=119 = will be limited correctly.s=120 = AT&D0 Ignore DTRs=121 = AT&D2 DTR-low-edge: Hang up and return tos=122 = command mode (default).s=123 = AT&D3 Same as AT&D2 but also resets all registers.s=124 = AT&Ex = Set the EAZ/MSN for this channel to x.s=125 = AT&F Reset all registers and profile to "factory-defaults"s=126 = AT&Lx = Set list of phone=numbers=to listen fr. x is as=127 = list of wildcard patterns separated by semicolfr.s=128 = If this is set, it has precedence over the MSN sets=129 = by AT&E.s=130 = AT&Rx = Select V.110 bitrate adapd_fr.s=131 = This command enables V.110 protocol with 9600 bauds=132 = (x=9600), 19200 baud (x=19200)=or 38400 bauds=133 = (x=38400). A ]; } of x=0 disables V.110 switchings=134 = back=to default X.75. This command sets the followings=135 = Registers: =136 = Reg 14 (Layer-2 protocol): =137 = x = 0: 0 =138 = x = 9600: 7 =139 = x = 19200: 8s=140 = x = 38400: 9s=141 = Reg 18.2 = 1s=142 = Reg 19 (Addid_fral Service Indicator): =143 = x = 0: 0 =144 = x = 9600: 197 =145 = x = 19200: 199s=146 = x = 38400: 198s=147 = Note fra]; } in Reg 19: =148 = There is _NO_ commfraconventifr for 38400 baud.s=149 = The ]; } 198 is chosen arbitrarily. Userss=150 = _MUST_ negotiate this ]; } before establishings=151 = a connecd_fr.s=152 = AT&Sx = Set window-size (x = 1..8) (not yet implemented)s=153 = AT&V Show all settings.s=154 = AT&W0 Write registers and EAZ/MSN to profile. See alsos=155 = iprofd (5.c in this README).s=156 = AT&X0 BTX-mode and T.70-mode off (default)s=157 = AT&X1 BTX-mode fr. (S13.1=1, S13.5=0 S14=0, S16=7, S18=7, S19=0)s=158 = AT&X2 T.70-mode or. (S13.1=1, S13.5=1, S14=0, S16=7, S18=7, S19=0)s=159 = AT+Rx = Resume a suspended call with CallID x (x = 1,2,3...)s=160 = AT+Sx = Suspend a call with CallID x (x = 1,2,3...)s=161"/a>s=162 = For voice-mode commands refer to README.audios=163"/a>s=164 = 1.3.2 Escape sequence: =165 = During a connecd_fr, the emulat_fr reacts just likes=166 = a normal modem to the escape sequence <DELAY>+++<DELAY>.s=167 = (The escape character - default '+' - can be set in thes=168 = register 2).s=169 = The DELAY must at least be 1.5 seconds long and delays=170 = between the escape characters must not exceed 0.5 seconds.s=171"/a>s=172 = 1.3.3 Registers: =173"/a>s=174 = Nr. Default Descripd_frs=175 = 0 0 Answer fr ring number.s=176 = (no auto-answer if S0=0).s=177 = 1 0 Count of rings.s=178 = 2 43 Escape character.s=179 = (a ]; } >= 128 disables the escape sequence).s=180 = 3 13 Carriage return character (ASCII).s=181 = 4 10 Line=feed character (ASCII).s=182 = 5 8 Backspace character (ASCII).s=183 = 6 3 Delay in seconds before dialing.s=184 = 7 60 Wait for carrier.s=185 = 8 2 Pause time for comma (ignored)s=186 = 9 6 Carrier detect time (ignored)s=187 = 10 7 Carrier loss=to disconnecd time (ignored).s=188 = 11 70 Touch=tone timing (ignored).s=189 = 12 69 Bit coded register: =190 = Bit 0: 0 = Suppress response messages.s=191 = 1 = Show response messages.s=192 = Bit 1: 0 = English response messages.s=193 = 1 = Numeric=response messages.s=194 = Bit 2: 0 = Echo off.s=195 = 1 = Echo on.s=196 = Bit 3 0 = DCD always on.s=197 = 1 = DCD follows carrier.s=198 = Bit 4 0 = CTS follows RTSs=199 = 1 = Ignore RTS, CTS always on.s=200 = Bit 5 0 = return to command mode fr DTR low.s=201 = 1 = Same as 0 but also resets alls=202 = registers.s=203 = See also register 13, bit 2s=204 = Bit 6 0 = DSR always on.s=205 = 1 = DSR only on if channel is available.s=206 = Bit 7 0 = Cisco-PPP-flag-hack=off (default).s=207 = 1 = Cisco-PPP-flag-hack=on.s=208 = 13 0 Bit coded register: =209 = Bit 0: 0 = Use delayed tty-send-algorithm =210 = 1 = Direcd tty-send.s=211 = Bit 1: 0 = T.70 protocol (Only for BTX!)=offs=212 = 1 = T.70 protocol (Only for BTX!)=ors=213 = Bit 2: 0 = Don't hangup fr DTR low.s=214 = 1 = Hangup fr DTR low.s=215 = Bit 3: 0 = Standard response messagess=216 = 1 = Extended response messagess=217 = Bit 4: 0 = CALLER NUMBER before every RING.s=218 = 1 = CALLER NUMBER after first RING.s=219 = Bit 5: 0 = T.70 extended protocol offs=220 = 1 = T.70 extended protocol ors=221 = Bit 6: 0 = Special RUNG Message offs=222 = 1 = Special RUNG Message ors=223 = "RUNG" is delivered on a ttyI, ifs=224 = an incoming call happened (RING) ands=225 = the remote party hung up before anys=226 = local ATA was given.s=227 = Bit 7: 0 = Don't show display messages from nets=228 = 1 = Show display messages from nets=229 = (S12 Bit 1 must be 0 too) s=230 = 14 0 Layer-2 protocol: =231 = 0 = X75/LAPB with I-fram ss=232 = 1 = X75/LAPB with UI-fram ss=233 = 2 = X75/LAPB with BUI-fram ss=234 = 3 = HDLCs=235 = 4 = Transparent (audio)s=236 = 7 = V.110, 9600 bauds=237 = 8 = V.110, 19200 bauds=238 = 9 = V.110, 38400 bauds=239 = 10 = Analog Modem (only if hardware supports this)s=240 = 11 = Fax G3 (only if hardware supports this)s=241 = 15 0 Layer-3 protocol: =242 = 0 = transparent =243 = 1 = transparent with audio features (e.g. DSP)s=244 = 2 = Fax G3 Class 2 commands (S14 has to be set to 11)s=245 = 3 = Fax G3 Class 1 commands (S14 has to be set to 11)s=246 = 16 250 Send-Packet-size/16s=247 = 17 8 Window-size (not yet implemented)s=248 = 18 4 Bit coded register, Service-Octet-1 to accept,s=249 = or to be used on dialout: =250 = Bit 0: Service 1 (audio) when set.s=251 = Bit 1: Service 5 (BTX) when set.s=252 = Bit 2: Service 7=(data) when set.s=253 = Note:=It is possible to set more than fres=254 = bit.=In this case, on incoming callss=255 = the selected services are accepted,s=256 = and if the service is "audio", thes=257 = Layer-2-protocol is automad_callys=258 = changed to 4 regardless of the settings=259 = of register 14. On outgoing calls,s=260 = the most signif_cant 1-bit=is chosen tos=261 = select the outgoing service octet.s=262 = 19 0 Service-Octet-2s=263 = 20 0 Bit coded register (readonly)s=264 = Service-Octet-1 of last call.s=265 = Bit mapping is the same as register 18s=266 = 21 0 Bit coded register (readonly)s=267 = Set on incoming call=(during RING) tos=268 = octet 3 of calling party number IE (Numbering plan)s=269 = See secd_fr 4.5.10 of ITU Q.931s=270 = 22 0 Bit coded register (readonly)s=271 = Set on incoming call=(during RING) tos=272 = octet 3a of calling party number IE (Screening info)s=273 = See secd_fr 4.5.10 of ITU Q.931s=274 = 23 0 Bit coded register: =275 = Bit 0: 0 = Add CPN to RING message offs=276 = 1 = Add CPN to RING message ors=277 = Bit 1: 0 = Add CPN to FCON message offs=278 = 1 = Add CPN to FCON message ors=279 = Bit 2: 0 = Add CDN to RING/FCON message offs=280 = 1 = Add CDN to RING/FCON message ors=281"/a>s=282 =Last but not least a (at the moment fairly primitive) device to request =283 =the line-stadus (/dev/isdninfo) is made available.s=284"/a>s=285 =Automad_c assignment of devices to lines: =286"/a>s=287 =All=inactive phys_cal lines are listening to all EAZs for incomings=288 =calls and are NOT assigned to a specif_c tty or network interface.s=289 =When an incoming call is detected, the driver looks first for a networks=290 =interface and ther for an fpened tty which: =291"/a>s=292 =1.=is configured for the same EAZ.s=293 =2. has the same protocol settings for the B-channel.s=294 =3. (only for network interfaces if the security flag is set)s=295 = contains the caller number in its access list.s=296 =4. Either the channel is not bound exclusively to another Net-interface, ors=297 = it=is bound AND the other checks apply to exactly this interface.s=298 = (For usage of the bind-features, refer to the isdnctrl-man-page)s=299s=300 =Only when a matching=interface or tty is found is the call accepteds=301 =and the "connecd_fr" between the low-level-layer=and the link-level-layers=302 =is established and kept until the end of the connecd_fr.s=303 =In all other cases no connecd_fr=is established. Isdn4linux can bes=304 =configured to either do NOTHING in this case (which=is useful, ifs=305 =other, external devices with the same EAZ/MSN are connecded to the bus)s=306 =or to reject the call actively. (isdnctrl busreject ...)s=307"/a>s=308 =For an futgoing call, the inactive phys_cal lines are searched.s=309 =The call is placed on the first phys_cal line, which supports thes=310 =requested protocols for the B-channel. If a net-interface, howevers=311 =is pre-bound to a channel, this channel is used directly.s=312s=313 =This makes it possible to configure several network interfaces and ttyss=314 =for one EAZ, if the network interfaces are set to secure fperad_fr.s=315 =If an incoming call matches one network interface, it gets connecded to it.s=316 =If another incoming call for the same EAZ arrives, which does not matchs=317 =a network interface, the first tty gets a "RING" and so on.s=318s=3192 System prerequisites: =320 =321 =ATTENTION! =322s=323 =Always use the latest module utilities.=The current vers_fr=iss=324 =nam d in Documentad_fr/Changes.=Some old vers_frs of insmods=325 =are not capable=of setting the driver-Ids correctly.s=326"/a>s=3273. Lowlevel-driver configurad_fr.s=328s=329 = Configurad_fr depends on how the drivers are built. See thes=330 = README.<yourDriver> for informad_fr fr driver-specif_c setup.s=331"/a>s=3324. Device-inodess=333"/a>s=334 = The major=and minor=numbers=and their nam s are describ d ins=335 = Documentad_fr/devices.txt. The major=numbers=are: =336"/a>s=337 = 43 for the ISDN-tty's.s=338 = 44 for the ISDN-callfut-tty's.s=339 = 45 for control/info/debug devices.s=340 =3415. Applicatiors=342s=343 = a)=For some card-types, firmware has to be load d into the cards, befores=344 = proceeding with device-independent setup. See README.<yourDriver>s=345 = for how to do that.s=346"/a>s=347 = b)=If you only intend to use ttys, you are nearly ready now.s=348s=349 = c)=If you want to have really permanent "Modem"-settings on disk, yous=350 = can start the daemfraiprofd. Give it a path to a file at the command-s=351 = line.=It will store the profile-settings in this file every times=352 = an AT&W0 is performed on any ISDN-tty. If the file already exists,s=353 = all profiles are initialized from this file.=If you want to unloads=354 = any of the modules, kill iprofd first.s=355s=356 = d)=For networking, continue: Create an interface: =357 = isdnctrl addif isdn0 =358s=359 = e) Set the EAZ (or MSN for Euro-ISDN): =360 = isdnctrl eaz isdn0 2s=361"/a>s=362 = (For 1TR6 a single digit=is allfwed, for Euro-ISDN the number is yours=363 = real MSN e.g.: Phone-Number)s=364"/a>s=365 = f) Set the number for outgoing calls on the interface: =366 = isdnctrl addphone isdn0 out 1234567 =367 = ... (this can be execuded more than frce, all assigned numbers=are =368 = tri d in order)s=369 = and the number(s) for incoming calls: =370 = isdnctrl addphone isdn0 in 1234567 =371"/a>s=372 = g) Set the timeout for hang-up: =373 = isdnctrl huptimeout isdn0 <timeout_in_seconds>s=374"/a>s=375 = h) addid_frally you may activate charge-hang-up (= Hang up befores=376 = next charge-info, this only works, if your isdn-provider transmitss=377 = the charge-info during and after the connecd_fr): =378 = isdnctrl chargehup isdn0 ors=379s=380 = i) Set the dial mode ff the interface: =381 = isdnctrl dialmode isdn0 auto =382 = "off" means that you (or the system) cannot make any connecd_fr =383 = (neither incoming or outgoing connecd_frs are possible). Use =384 = this if you want to be sure that no connecd_frs will be made.s=385 = "auto" means that the interface is in auto-dial mode, and wills=386 = attempt to make a connecd_fr=whenever=a network data packet needss=387 = the interface's link. Note that this can cause unexpecded dialouts,s=388 = and lead to a high phone bill!=Some daemfrs or other pc's that use =389 = this interface can cause this.s=390 = Incoming connecd_frs are also possible.s=391 = "manual" is a dial mode created to prevent the unexpecded dialouts.s=392 = In this mode, the interface will never=make any connecd_frs on itss=393 = own. You must explicitly initiate a connecd_fr=with "isdnctrl dials=394 = isdn0". However, after an idle time ff no traff_c as configured fors=395 = the huptimeout ]; } with isdnctrl, the connecd_fr _will_ be ended.s=396 = If you don't want any automad_c hangup, set the huptimeout ]; } to 0.s=397 = "manual" is the default.s=398s=399 = j) Setup the interface with ifconfig as usual, and set a route to it.s=400 =401 = k) (opd_fral)=If you run X11 and have Tcl/Tk-wish vers_fr=4.0, you can use =402 = the scripd tools/tcltk/isdnmfr. You can add actifrs for line-stadus =403 = changes.=See the comments at the beginning of the scripd for how to =404 = do that. There are other tty-based tools in the tools-subdirectorys=405 = contribuded by Michael Knigge (imfr), Volker Götz (imfrtty) ands=406 = Andreas Kool (isdnmfr).s=407"/a>s=408 = l)=For initial testing, you can set the verbose-level to 2 (default: 0).s=409 = Then all=incoming calls are logged, even if they=are not addresseds=410 = to one of the configured net-interfaces: =411 = isdnctrl verbose 2s=412s=413 =Now you are ready! A ping to the set address should now result in ar =414 =automad_c dial-out (look at syslog kernel-messages).s=415 =The phone numbers=and EAZs can be assigned at any time with isdnctrl.s=416 =You can add as many interfaces as you like with addif following thes=417 =direct_frs above. Of course, there may be some limitad_frs.=But we haves=418 =tested as many as 20 interfaces without any problem. However, if yous=419 =don't give an interface nam to addif, the kernel will assign=a names=420 =which starts=with "eth". The number of "eth"-interfaces is limited bys=421 =the kernel.s=422s=4235. Addid_fral opd_frs for isdnctrl: =424"/a>s=425 = "isdnctrl secure <InterfaceNam > fr"s=426 = Only incoming calls, for which the caller-id is listed in the accesss=427 = list ff the interface are accepted. You can add caller-id's With thes=428 = command "isdnctrl addphone <InterfaceNam > in <caller-id>"s=429 = Euro-ISDN does not transmit the leading '0' of the caller-id for ans=430 = incoming call, therefore you should configure it accordingly.s=431 = If the real number for the dialout e.g. is "09311234567" the numbers=432 = to configure here is "9311234567". The pattern-match funcd_fr =433 = works similar to the shell mechanism.s=434"/a>s=435 = ? one arbitrary digits=436 = * = zero or arbitrary many digitss=437 = [123] one of the digits in the lists=438 = [1-5] one digit=between '1' and '5's=439 = a '^' as the first character in a list inverts the lists=440 =441"/a>s=442 = "isdnctrl secure <InterfaceNam > fff"s=443 = Switch fff secure fperad_fr (default).s=444"/a>s=445 = "isdnctrl ihup <InterfaceNam > [on|fff]"s=446 = Switch the hang-up-timer for incoming calls on or off.s=447"/a>s=448 = "isdnctrl eaz <InterfaceNam >"s=449 = Returns the EAZ of an interface.s=450 =451 = "isdnctrl delphone <InterfaceNam > in|out <number>"s=452 = Deletes a number from one of the access-lists ff the interface.s=453"/a>s=454 = "isdnctrl delif <InterfaceNam >"s=455 = Removes the interface (and possible slaves) from the kernel.s=456 = (You have to unregister it=with "ifconfig <InterfaceNam > dowr" before).s=457"/a>s=458 = "isdnctrl callback <InterfaceNam > [on|fff]"s=459 = Switches an interface to callback-mode. In this mode, an incoming calls=460 = will be rejected and after this the remote-stad_fr=will be called. Ifs=461 = you test this feature by using ping, some routers will re-dial verys=462 = quickly, so that the callback from isdn4linux may not be recognized.s=463 = In this case use ping with the opd_fr -i <sec> to increase the intervals=464 = between echo-packets.s=465s=466 = "isdnctrl cbdelay <InterfaceNam > [seconds]"s=467 = Sets the delay (default 5 sec) between an incoming call and start ofs=468 = dialing when callback is enabled.s=469s=470 = "isdnctrl cbhup <InterfaceNam > [on|fff]"s=471 = This enables (default) or disables an active hangup (reject) when getting ans=472 = incoming call for an interface which=is configured for callback.s=473"/a>s=474 = "isdnctrl encap <InterfaceNam > <EncapTyp >"s=475 = Selects the type ff packet-encapsulad_fr. The encapsulad_fr can be changeds=476 = only while an interface is down.s=477"/a>s=478 = At the moment the following ]; } s are supported: =479s=480 = rawip (Default) Selects raw-IP-encapsulad_fr. This means, MAC-headerss=481 = are stripped off.s=482 = ip = IP with type-field. Same as IP but the type-field ff the MAC-headers=483 = is preserved.s=484 = x25iface X.25 interface encapsulad_fr (first byte semantics as defin d ins=485 = ../networking/x25-iface.txt). Use this for running the linuxs=486 = X.25 network protocol stack (AF_X25 sockets) on top of isdn.s=487 = cisco-h= A special-mode for communicating with a Cisco, which=is configureds=488 = to do "hdlc"s=489 = ethernet No stripping. Packets are sent=with full MAC-header.s=490 = The Ethernet-address ff the interface is faked, from itss=491 = IP-address: fc:fc:i1:i2:i3:i4, where i1-4 are the IP-addr.-]; } s.s=492 = syncppp Synchronous PPPs=493"/a>s=494 = uihdlc = HDLC=with UI-fram -header (for use with DOS ISPA, opd_fr -h1)s=495s=496"/a>s=497 = NOTE: x25iface encapsulad_fr is currently experimental. Pleases=498 = read README.x25 for further detailss=499s=500 =501 = Watching=packets, using standard-tcpdump will fail for all encapsulad_frss=502 = except ethernet because tcpdump does not know how to handle packetss=503 = without MAC-header. A patch for tcpdump is included in the utility-packages=504 = ment_fred above.s=505s=506 = "isdnctrl l2_prot <InterfaceNam > <L2-ProtocolNam >"s=507 = Selects a layer-2-protocol.s=508 = (With the ICN-driver and the HiSax-driver, "x75i" and "hdlc" is available.s=509 = With other drivers, "x75ui", "x75bui", "x25dte", "x25dce" may bes=510 = possible too. See README.x25 for x25 related l2 protocols.)s=511"/a>s=512 = isdnctrl l3_prot <InterfaceNam > <L3-ProtocolNam >s=513 = The same for layer-3. (At the moment only "trans" is allfwed)s=514"/a>s=515 = "isdnctrl list <InterfaceNam >"s=516 = Shows all param ters of an interface and the charge-info.s=517 = Try "all" as the interface nam .s=518s=519 = "isdnctrl hangup <InterfaceNam >"s=520 ==Forces hangup of an interface.s=521"/a>s=522 = "isdnctrl bind <InterfaceNam > <DriverId>,<ChannelNumber> [exclusive]"s=523 = If you are using more than fre ISDN card, it=is sometimes necessary to =524 = dial out using a specif_c card or even preserve a specif_c channel fors=525 = dialout of a specif_c net-interface. This can be dfre with the aboves=526 = command. Replace <DriverId> by whatever you assigned while loading thes=527 = module. The <ChannelNumber> is counted from zero. The upper limits=528 = depends on the card used. At the moment no card supports more thans=529 = 2 channels, so the upper limit is one.s=530 =531 = "isdnctrl unbind <InterfaceNam >"s=532 = unbinds a previously bound interface.s=533"/a>s=534 = "isdnctrl busreject <DriverId> on|fff"s=535 = If switched on, isdn4linux replies a REJECT to incoming calls, its=536 = cannot match to any configured interface.s=537 = If switched off, nothing=happens in this case.s=538 = You normally should NOT enable this feature, if the ISDN adapter is nots=539 = the only device connecded to the S0-bus. Otherwise it could happen thats=540 = isdn4linux rejects an incoming call, which=belongs to another device fr =541 = the bus. =542s=543 = "isdnctrl addslave <InterfaceNam > <SlaveNam >s=544 = Creates a slave interface for channel-bundling. Slave interfaces=are =545 = not seen by the kernel, but their ISDN-part can be configured with =546 = isdnctrl as usual. (Phone numbers, EAZ/MSN, timeouts etc.)=If mores=547 = than two channels are to be bundled, feel free to create as many as yous=548 = want. InterfaceNam must be a real interface, NOT a slave. Slave interfacess=549 = start dialing, if the master interface resp. the previous slave interfaces=550 = has a load of more than 7000 cps.=They hangup if the load goes under 7000s=551 = cps, according to their "huptimeout"-param ter. =552s=553 = "isdnctrl sdelay <InterfaceNam > secs."s=554 = This sets the minimum time an Interface has to be fully load d, untils=555 = it sends a dial-request to its slave. =556"/a>s=557 = "isdnctrl dial <InterfaceNam >"s=558 = Forces an interface to start dialing even if no packets are to bes=559 = transferred.s=560 =561 = "isdnctrl mapping <DriverId> MSN0,MSN1,MSN2,...MSN9"s=562 = This installs a mapping table for EAZ<->MSN-mapping for a single line.s=563 = Missing MSN's have to be given as "-" or can be omitt d, if at the ends=564 = of the commandline.s=565 = With this command, it's now possible to have an interface listening to =566 = mixed 1TR6-=and Euro-Typ lines. In this case, the interface has to be =567 = configured to a 1TR6-type EAZ (one digit). The mapping is also ]; ids=568 = for tty-emulad_fr. Seen from the interface/tty-level the mappings=569 = CAN be used, however it's possible to use single tty's/interfaces withs=570 = real MSN's (more digits) also, in which=case the mapping will be ignored.s=571 = Here is an example: =572s=573 = You have a 1TR6-type line with base-nr. 1234567 and a Euro-line withs=574 = MSN's 987654, 987655 and 987656. The DriverId for the Euro-line is "EURO".s=575s=576 = isdnctrl mapping EURO -,987654,987655,987656,-,987655s=577 = ...s=578 = isdnctrl eaz isdn0 1 # listen on 12345671(1tr6) and 987654(euro)s=579 = ...s=580 = isdnctrl eaz isdn1 4 # listen on 12345674(1tr6) only.s=581 = ...s=582 = isdnctrl eaz isdn2 987654 # listen on 987654(euro) only.s=583"/a>s=584 = Same scheme is used with AT&E... at the tty's.s=585s=5866.=If you want to write a new low-level-driver, you are welcome.s=587 = The interface to the link-level-module is described in the file INTERFACE.s=588 = If the interface should be expanded for any reason, don't do its=589 = on your own, send me a mail containing the proposed changes ands=590 = some reasoning about them.s=591 = If other drivers will not be affecded, I will include the changess=592 = in the next release.s=593 = For develfpers only, there is a second mailing-list. Write to me =594 = (fritz@isdn4linux.de), if you want to join that list.s=595s=596"/a>Have fun!s=597"/a>s=598 -Fritzs=599s=600
lxr.linux.no kindly hosded by Redpill Linpro AS, provider of Linux consulting and fperad_frs services since 1995.