ATTENTION! The following header is not fully valid yet! From: dl4mhk@lrz.uni-muenchen.de (Bernhard Hailer) Newsgroups: de.alt.comm.isdn4linux,de.answers,news.answers Subject: ISDN4linux-FAQ Followup-To: de.alt.comm.isdn4linux Summary: This posting describes what every reader of de.alt.comm.isdn4linux ought to know about ISDN under Linux using isdn4linux. This is an English translation of the original document, which is in German, like the Newsgroup. Archive-name: eng-i4l-faq Posting-frequency: monthly Last-modified: 18-Mar-97 URL: http://www.lrz-muenchen.de/~ui161ab/www/isdn/ FAQ for isdn4linux - Version 1.3.2 (translation 3-Oct-97) ########################################################## 1 General information about isdn4linux ====================================== 1. What is isdn4linux? 2. What can isdn4linux do? | 3. What can't isdn4linux do (yet)? | 4. Can I use isdn4linux in North America? | 5. What do I need for isdn4linux? 6. How can I get isdn4linux? 7. What documents should I read first? | 8. What helpful links are there about isdn4linux? 9. Is there a mailing list for isdn4linux? 10. How can I have myself removed from the mailing list? | 11. Is the mailing list mirrored to a newsgroup? 12. Is there an archive of the isdn4linux mailing list? 13. In which countries does isdn4linux work? 14. Is isdn4linux approved for use by the telecommunications authorities? 15. What is the most recent version? | 16. What hardware is _NOT_ supported? | 17. Does isdn4linux support external terminal adapters? 18. Which internal cards are supported? 19. What is the new HiSax driver all about? | 20. What about the active AVM B1? | 21. Now that my AVM produces so many interrupts with the HiSax driver, which | is the best passive card to use with HiSax? 22. Does isdn4linux support external ISDN adapters? 23. Which ISDN modes are supported? | 24. Does isdn4linux support channel bundling? 25. What is the difference between an active and a passive ISDN card? 26. Are there sites that offer guest access where I can test my isdn4linux setup? 27. Can I combine isdn4linux with diald? 28. Can I use isdn4linux as an answering machine? | 29. Can I fax with isdn4linux? 30. Is videotex/Btx/Datex-J possible with isdn4linux? | 31. Can I connect to Compuserve with isdn4linux? | 32. Which ISDN features can not be offered by isdn4linux? 33. I'd like to write a new hardware driver. Where can I find a description of the interfaces to the link level module? | 34. How can I access the source from the current development/what is the CVS | tree all about? 35. Can I use isdn4linux under dosemu? | 36. Is there a working ISDN card for a DEC Alpha with Linux? | 37. Can isdn4linux run in parallel to UISDN? | 38. What are AOC-x, CLIR, COLP, CVS, HDLC, HSCX, ISAC, TEI...? 2 Configuration =============== 2.1 General ----------- 1. Where can I find scripts and other information on configuring i4l? 2. How many ISDN cards can I stuff into my computer? | 3. Do I need a DOS setup program to setup my Teles card? 4. Does the driver support "dial on demand"? | 5. Does isdn4linux support PNP (Plug and Play)? 6. Is there a trick to sometimes boot Linux with ISDN and sometimes without? 7. Is it possible to initiate call forwarding with i4l? 8. Has anybody routed ipx/spx over ISDN with Linux? 9. Can I use kerneld to load the ISDN modules in the kernel as needed? | 10. How can I get a tcpdump patched for ISDN? | 11. How can I set up user permissions for the use of ISDN? 2.2 MSN ------- | 1. What is an MSN? | 2. What is an EAZ? | 3. How many MSNs do I need if I want to do the following: | * Telephone | * Analogue modem (used for data, fax or voice mailbox) | * Dialin for X.75 (modem emulation) | * Dialin for syncPPP | 4. What is my MSN? | 5. How do I tell the modem emulation what my MSN is? | 6. How do I configure my MSN using syncPPP? | 7. Where should I configure my own MSN in order to test syncPPP by calling | myself? | 8. How can I find out how my telephone number is transmitted to the calling | party? | 9. Can I do the following on *THE SAME* MSN: | - Telephony (voice) | - VBOX (voice, of course) | - X.75 login (mgetty, /dev/ttyI?) | - IP interface for IP connections to other computers? | 10. How can I minimize the number of MSNs needed for dialin? | 11. How do I set the MSN in a Cisco? | 12. Why don't I always receive from the German Telekom the number of a caller | ("Caller ID")? | 13. Do I receive the Caller ID from foreign calls (German Telekom)? | 14. I've heard that actually two Caller IDs are transmitted? 2.3 Teles driver ---------------- 1. I use SETUP.EXE under DOS, to configure my Teles/Creatix with memory xxxxx and IRQ yy. How do I do this under isdn4linux? | 2. I'm confused: according to the documentation, my Teles card is configured | for IO address 0x180. In Linux (and also in some Windows programs) the | address is shown as 0xd80? 3. When compiling the Teles driver I get an error similar to: too many arguments to function '_get_free_pages_R5243d78b'? 4. I'm using kernel 1.3.x, the Teles driver compiles fine, all the correct parameters are set in config.c, but the card still won't work. 5. Is it possible to have more than 1 Teles card in one computer? 6. How can I tell whether or not my Teles card is recognized correctly? | 7. Where can I send complaints to Teles? 2.4 HiSax driver ---------------- 1. Where can I find the HiSax driver? 2. Which version is current? 3. How is HiSax better as the original Teles driver? 4. How do I install HiSax? 5. Are there patches to the HiSax driver? 6. What does the remark: "Known Bugs: incoming calls are only delivered, if channel == B-channel (same on teles)" mean? 7. My ELSA card has 2 LEDs that light up like a neon sign. What does that mean? 2.5 ICN driver -------------- 1. Where can I buy the ICN card? 2. Where can I get the newest firmware for my ICN? 3. Is it possible to use several ICN cards in one computer? 4. My ICN 4B is recognized only as an ICN 2B. How is the syntax for loading icn.o with insmod for the ICN 4B? 5. What is "lanx75i.bin" in the ICN directory? 2.6 Working together with other ISDN devices ---------------------------------------------- 1. What settings does ISPA etc. (DOS, Windows) need to work with the standard settings of isdn4linux? 2. What do I have to watch out for to connect to Windows95? 3. Can use only syncPPP with Windows95 to connect to isdn4linux? 4. A Windows95 user with a Fritz! Card poor transfer rates when connected with isdn4linux - what can one do? 5. Where in Windows95 can I find the settings to get a terminal window when I log in? 6. I'd like to exchange data with a Macintosh (Leonardo card), what do I or the Mac user have to watch out for? | 7. A Macintosh with a Leonardo card tries to call in , and wants to | negotiate chap md5. How can I switch it to CHAP/PAP? 8. How does isdn4linux work with a Cisco (HDLC) on the other side 9. My Cisco has a Bug - which IOS is recommended? 10. When I call in to an ASCEND, does it cost a charge unit even if I get a "BUSY"? | 11. Is there a mailing list about Ascend? | 12. How do I switch on Raw IP on the Ascend Max with Radius? | 13. How do I switch on "uihdlc" encapsulation on the Max (an Ascend) with | Radius ? 14. What settings does an ELink need to work with isdn4linux? 15. I can I use Internet with the German T-Online with i4l? 16. I've set up an Internet connection over T-Online as described in the groups, but the chat script fails ("Connect script failed"). 2.7 Raw IP ---------- | 1. What is Raw IP? | 2. What are the advantages and disadvantages of Raw IP? | 3. How can I run a script when a raw IP connection is established? 2.8 Modem emulation (use with ttyI* devices) -------------------------------------------- | 1. Does modem emulation mean that I can toss out my analog modem? 2. Which device should I use for calls out or calls in? 3. How to I switch the modem emulation from X.75 to HDLC? 4. How can I poll with Taylor-UUCP using isdn4linux? 5. What speed should I set for the modem emulation? 6. Is 'init-chat "" ATZ OK AT&E4 OK ATS14=3 OK' correct for 1TR6 (the other side has DSS1)? | 7. Was does the register S13 exactly mean? 2.9 Async PPP ------------- 1. pppd, ipppd, async PPP, sync PPP - what are they? Which should I use? 2. I would like to use asynchronous PPP. Can I use the network interface from isdn4linux? 3. How can I reduce the login time? | 4. How can I increase my transfer rates with PPP? 2.10 Sync PPP ------------- 1. pppd, ipppd, syncPPP, asyncPPP .. what is they? What should I use? 2. How do I compile isdn4linux with syncPPP? 3. How does use isdn4linux with syncPPP? | 4. How should I name my network interface? 5. How do I configure a PPP connection with ipppd? | 6. How do I get ipppd to open a PPP connection? | 7. How can I tell if a connection is unsuccessful (busy)? | 8. Where can I find the latest version of ipppd? 9. How can I use more than one ippp* device? 10. I want to talk to remote machines which needs different configurations. The only way I found to do this is to kill the ipppd and start a new one with another config to connect to the second machine. | 11. How does the (little-documented) "pppbind" command in isdnctrl work? 12. I want to use dynamic IP address assignment. How must I configure the network device? | 13. According to the manpage, ipppd offers the option "dns-addr". But my | ipppd refuses to take this option! | 14. How can I do IPX over ipppd? 15. How can I reduce login delay? | 16. How can I increase my PPP data transfer rates? 2.11 ISDN4Linux in a network ---------------------------- | 1. I've successfully used the Internet with my Linux system using | isdn4linux. Now I'd like to have another computer on my Ethernet profit | from the Internet as well. But how? | 2. How does this fourth possibility work, Linux + Masquerading? 3. I have a local area network, (LAN) with computers based on several platforms - Win95, Win311, NT, Amiga (AmiTCP) and Macintosh (MacTCP) - all connected to the outside world through a Linux router. The Linux machine has an ISDN card. My ISP provides me with a dynamic IP address each time I log in. I want all the computers to reach the INTERNET not just the Linux box. How can I do this? | 4. How can I allow the users in my local network to use the ISDN card(s) in | my Linux PC? | 5. Where can I find "modemd", and for which platforms are there "clients"? | 6. Where can I find COMt? | 7. How exactly does this "PERL one-liner" "modemd" look? 2.12 Isdnlog ------------ 1. isdnlog doesn't always show the High Layer Compatibility (Speech, Video,...) as I'd like it to. | 2. Can I see the service type from an incoming call in the output from | isdnrep? | 3. Why doesn't isdnlog record the number dialed by my other ISDN devices, | since it records the charges? | 4. How can I get isdnlog to also show the telephone numbers for other ISDN | devices? | 5. Does isdnlog also calculate the new pricing plans of the German Telecom | (City Weekend, City Plus)? | 6. How can I get isdnlog to calculate the charges for the Dutch telephone | company? | 7. How can I get isdnlog to calculate the charges for the Swiss telephone | company? | 8. How can I display the data transfer rates graphically? 2.13 Isdnbutton --------------- | 1. What script should I use to bring down isdnbutton? | 2. What do the different states of isdnbutton mean (green, yellow, red)? 2.14 Audio ---------- 1. What is the format of the audio messages (.msg) vbox plays when it answers a call? 2. How can I record my own messages for vboxgetty? 3. How can I play audio messages locally using /dev/audio? 4. If vboxgetty has recorded a message in a format which can not be played using "cat xxx>/dev/audio" how can I still hear the message? 5. How can I convert audio messages which where recorded by vbox to other formats (i.e. from uLaw to WAV)? | 6. How can I format WAV for uLaw (for my vbox announcement message)? 2.15 Diald ---------- 1. How can I combine i4l with diald? 2. Are there any example scripts for diald? 2.16 Chargeint -------------- 1. How can I use the "chargeint" patch, so i4l will hang up before the next charge unit begins? | 2. With which drivers can I use the chargeint patch? | 3. When does it not make sense to use the chargeint patch? 4. How does the chargeint patch work? | 5. How do I configure the chargeint patch? | 6. Where can I find more detailed instructions for the chargeint patch? | 7. How can I be sure that the chargeint patch is using the correct time? 2.17 Dial-In ------------ | 1. How can I enable others to login via ISDN? 2. Someone would like to dial in to my mgetty with HDLC. Is ttyI1 correct, or do I have to start with ttyI0? 3. Is it possible with mgetty to automatically start pppd when LCP frames are received? | 4. How can I have (i)pppd check passwords from /etc/passwd instead of | /etc/ppp/pap-secrets when someone dials in? | 5. How can I allow several people to call in to me at once? | 6. Can I use just _one_ MSN to serve customers both with a getty (modem | emulation and with the network? | 7. Can I get the advantages of a multiple-PBX line (one MSN for all ISDN | ports) with a multiple-device line [German Telekom]? 8. When a Fritz! card calls with X.75, Linux crashes. What can I do? 9. An AVM (A1 or B1) cannot call in to me with X.75, either under Win95 or under OS/2? 10. How can enable a Fritz! card to call in to me? 11. Which ISDN routers are there that are OS-independent? 2.18 Leased lines ------------------ 1. How does establishing and ending a connection work with D64S without signaling? 2. With i4l, how can I successfully use the Teles card on a D64 leased line? | 3. Can I connect two computers with ICN cards over a D64s leased line? How? | Where can I find documentation? 4. With ISDN, can I use one channel as a leased line and other as a dialup line? 5. I have a leased line connection to a ICN, however the ping times are too long. 2.19 SPV -------- | 1. What is a SPV? | 2. How long will there still be SPVs? | 3. Does isdn4linux support SPVs? How? 2.20 Channel bundling --------------------- | 1. What is channel bundling and how can I use it? | 2. What is raw bundling? | 3. How do I use raw bundling? | 4. What are the advantages and disadvantages of raw bundling? | 5. Is there are working example script for raw bundling? | 6. What's the current situation with raw bundling? | 7. What is MPPP? 8. How can I use the MPPP material? | 9. What are the advantages and disadvantages of MPPP? 10. I tried MPPP but it doesn't work. The ipppd writes in the debug log something like: ... rcvd [0][proto=0x3d] c0 00 00 00 80 fd 01 01 00 0a ... sent [0][LCP ProtRej id=0x2 00 3d c0 00 00 00 80 fd 01 ... 11. I use MPP. Unfortunately it hangs when just one packet is lost. 3 Troubleshooting ================= 3.1 General ----------- | 1. My isdn4linux doesn't work! How do I best go about finding the problem? 2. I have problems compiling isdn4k-utils-2.0. "ncurses.h" or "panel.h" is not found. But curses.h does exist. | 3. Why does neither my telephone nor my fax machine ring when I call them | with isdn4linux? 4. If i4l uses one B-channel then the other one will be blocked (incoming as well as outgoing)... | 5. In the instructions for my NTBA it says that a crossed a/b cable pair has | no effect on the operation? | 6. How can I test whether a a/b cable pair has been crossed? 7. Even though I deactivated the signalling for incoming calls, an incoming caller does not get a BUSY signal, although neither i4l nor any other ISDN device is configured to use that MSN. Even when every usable B-channel is used by i4l or another user an incoming caller will not get BUSY. The same is true when I deactivate audio support for i4l. 8. When the router is active, incoming calls from customers hear ringing, even when we're on the line with a support call. This gives the impression that our employee doesn't answer the phone. 9. I closed all ISDN applications. Why can't I unload my ISDN modules ("isdn: Device or resource busy")? | 10. I'm now certain I've closed all ISDN applications. I still sometimes | cannot unload the ISDN module ("isdn: Device or resource busy")... | 11. I still can't unload the modules. I use callback. 12. My charge "impuls typ A" [German charge impulse at the end of a connection] is not correctly transmitted, although the Telekom says they activated it. | 13. My PBX produces a reset on the SO bus every hour, after which isdn4linux | no longer accepts any calls? 14. My Ascotel PBX crashes i4l (connected on my internal bus). | 15. My Teles 16.3 works behind a Quante IS-2 (identical to the Ackermann | Euracom 181) after a reset, only when I: | 1. unplug the PBX | 2. turn off the PC | 3. plug in the PBX | 4. turn on the PC 16. I'm connected through an old PBX. Any attempt to dial out is refused with cause 64? | 17. I can't get my PBX, a proprietary Siemens Hicom, to work? 18. isdnctrl returns a "bus error" when I do a "isdnctrl list"? 19. After a hangup "no routine" is printed on /dev/isdnctrl. Did it release my line or is there still some bug in the driver? 20. I get many "HSCX RME out of buffers" messages in my syslog. | 21. My pppd or ipppd has problems with PAP/CHAP authentication. 22. I get the error "SIOCADDRT: Invalid argument" when telling route to route to isdn0. | 23. Where can I find a summary of all causes? | 24. On my ELSA card, the LED for the loss of the TEI often blinks. My | connections are also often disrupted... | 25. My isdn driver crashes my machine! Since I've configured it as a module, | the addresses change each time it's loaded. How can I find out where the | driver is crashing? | 26. My hard disk becomes very active when isdn4linux run. How can I turn this | off? 3.2 Teles driver ---------------- 1. How can I know that my Teles card (or compatible) is recognized correctly? | 2. What is the name if my Teles driver (especially if compiled into the | kernel)? 3. On bootup I get "HSCX version A:5 B:5" but I still have the impression that my Teles card is not used correctly. What else can I check? 4. Why should I avoid IRQ 12 and 15 for my ISDN card? 5. My Teles card will not be recognized correctly when I use LILO with my parameters. 6. If I first start DOS and the Teles driver included with the card, and then start Linux with Loadlin, everything works fine. However, if I start Linux directly with LILO, the Teles driver doesn't respond directly. 7. After a reset, my card does not initialize correctly. 8. The Teles driver recognizes my 16.3 card as a 16.0. 9. I use i4l and the Teles driver. From time to time the driver hangs and I have to reload it. 10. My machine often crashes. On the console I get about every few seconds l1state 4 l1state 8 l1state 13 ph_command 9 l1state 4 l1state 0 ph_command 0 l1state 7 ph_command 9 11. My Teles driver always says "isdn0: Chargesum is 0" although I get charge information from the [German] Telekom. 12. My Teles driver does not work in 2.1.x! 13. I have two Teles cards in my computer but it seems that only one is used! | 14. When compiling the Teles driver I get some undefined symbols (only kernel | 2.0.26)? 3.3 HiSax driver ---------------- | 1. How can I tell whether my ISDN card has been corrected recognized by the | HiSax driver? 2. The Teles crashes again and again with the following error message in the log: