English-German mini-FAQ for ISDN4Linux

Englisch-Deutsche mini-FAQ für ISDN4Linux


Mini-FAQ online: http://home.worldonline.dk/~ehcorry/linux/isdn-faq.html

See below for English!


1. Wo gibt es die FAQ?
2. Wo gibt es eine einfache Anleitung für ISDN4Linux?
3. Wo gibt es die SuSE Support-Datenbank, wo viele Fragen zu ISDN4Linux
beantwortet werden?

4. Was gibt es sonst für Dokumentationen?
5. Wo gibt es die "geheime FAQ"?
6. Die erste (Netscape-)Verbindung geht immer kaputt wegen dynamischen
IP-Adressen.

7. Es wird immer wieder gewählt, besonders wenn ich hart auflege (ohne auf
Timeout zu warten).

8. Nur die erste ISDN-Verbindung funktioniert, wegen Routing-Problemen.
oder
Die Verbindung scheint zu klappen, aber keine Daten werden übertragen,
und ISDN4Linux legt nach kurzer Zeit wieder auf.

9. Wird meine Karte unterstützt? Welchen Optionen brauche ich, wenn ich die
Modulen lade?

10. Wo gibt es die neusten ISDN4Linux Software?
11. Es wird gewählt, aber die Verbindung klappt nicht.
12. Was bedeuten diese komischen 'Cause'-Nummern?
13. Kann ich meinen externen Terminal-Adapter mit ISDN4Linux verwenden?
14. Ich habe diverse Debug-Options in ipppd und isdnctrl eingeschaltet, aber
es erscheint nichts in der Datei /var/log/messages.

15. Welche Pakete installiere ich, oder Man-Seiten lese ich, oder
Such-Stichwörter in Deja News verwende ich für:

16. Die ISDN-Verbindung läuft, und ich kann numerischen Adressen pingen, z.B.
mit 'ping -c 20 198.41.0.4' aber Netscape etc. funktioniert nicht.

17. Die ISDN-Verbindung läuft, aber ich kann nicht mal numerischen Adressen
pingen, z.B. mit 'ping -c 20 198.41.0.4' und Netscape etc. funktioniert
nicht.

18. Ich verstehe die verschiedenen Formen von Rufnummerübermittlung (CLIP -
CLIR - COLP - COLR) nicht.

19. Es will einfach nicht klappen!
1. Wo gibt es die FAQ?
http://www.mhessler.de/i4lfaq.html (View + Download)
Die FAQ wird in Englisch gewartet, eine Deutsche Übersetzung findet sich
unter http://www.wolf-b.de/i4l/i4lfaq-de.html
2. Wo gibt es eine einfache Anleitung für ISDN4Linux?
http://www.franken.de/users/klaus/ Wenn du lieber Niederländisch oder
Englisch liest, kann http://www.wurtel.demon.nl/ nützlich sein. Es gibt
auch eine französische Mini-HOWTO unter
http://www.linux-france.org/article/connex/ISDN
3. Wo gibt es die SuSE Support-Datenbank, wo viele Fragen zu ISDN4Linux
beantwortet werden?

http://sdb.suse.de/sdb/de/html/katlist.ISDN.html
4. Was gibt es sonst für Dokumentationen?
'man isdnctrl', schau auch unter "SEE ALSO". Auch 'man ipppd'. Und die
README-Dateien in /usr/src/linux/Documentation/isdn Viele von den HOWTOs
haben generell mit Netzwerk zu tun, und sind auch für ISDN4Linux
relevant. Siehe deinen Lieblingsmirror vom LDP, z.B.
http://SunSITE.auc.dk/ldp/HOWTO/HOWTO-INDEX-3.html
5. Wo gibt es die "geheime FAQ"?
http://www.deja.com/=dnc/ bzw. http://www.deja.com/=dnc/home_ps.shtml
Suche mit Stichwort isdn4linux (wer hätt's gedacht). Nicht vergessen,
auch in der Datenbank mit den alten Artikeln zu suchen, wenn du erstmal
nichts findest.
6. Die erste (Netscape-)Verbindung geht immer kaputt wegen dynamischen
IP-Adressen.

Hast du SuSE 5.2, 3. Auflage oder neuer schreibst du in /etc/rc.config
IP_DYNIP="yes"
Sonst (oder wenn du nicht neu booten willst) machst du
echo 5 > /proc/sys/net/ipv4/ip_dynaddr
Das kannst du z.B. auch in /etc/rc.d/rc.local schreiben.
Die Nummer 5 ist immer unproblematisch, aber die genauen Nummern, die
verstanden werden, sind von Kernel zu Kernel unterschiedlich. Siehe
/usr/doc/kernel-doc-deineversion/networking/ip_dynaddr.txt oder
/usr/src/linux/Documentation/networking/ip_dynaddr.txt und
http://sdb.suse.de/sdb/de/html/dynippatch.html
Wenn die Verbindung von einer Windows-Maschine stammt (und die
ISDN4Linux-Maschine Masquerading/NAT macht), kann es sein, daß
die Windows-Maschine einfach zu schnell aufgibt. Die Default-Wert von
Hkey_Local_Machine\System\CurrentControlSet\Services\VxD\MSTCP\MaxConnectRetries
ist 3 (6 Sekunden), sollte aber mindestens 5 (24 Sekunden) sein.
Das kann man mit dem Registry Editor ändern.
7. Es wird immer wieder gewählt, besonders wenn ich hart auflege (ohne auf
Timeout zu warten).

Starte den RST-Provoking-Mode. Zum Aktivieren siehe Frage 6 und siehe
auch http://sdb.suse.de/sdb/de/html/katlist.ISDN.html Wenn du Kernel
2.2 verwendest, siehe auch
http://www-users.rwth-aachen.de/Michael.Mueller4/dynip.html Mit neueren
Kernels (2.2.14) musst du stattdessen diese Version nehmen:
http://www.grueneberg.de/linux/linux-2.2.14-rst.patch Für die 2.3er
Kernels ist der Patch noch nicht verfügbar.
8. Nur die erste ISDN-Verbindung funktioniert, wegen Routing-Problemen.
oder
Die Verbindung scheint zu klappen, aber keine Daten werden übertragen,
und ISDN4Linux legt nach kurzer Zeit wieder auf.

Du hast wahrscheinlich keine Default-Route. Siehe das Output von 'route
-n'. Du brauchst die Zeile:
/sbin/route add default $1
in deiner /etc/ppp/ip-up-Datei (für Red Hat etc/ppp/ip-up.local) und
deiner /etc/ppp/ip-down-Datei (für Red Hat etc/ppp/ip-down.local). Diese
Dateien müssen genau mit:
#!/bin/sh
am Anfang der ersten Zeile anfangen, und müssen ausführbar sein (siehe
'man chmod'). Befehle müssen mit vollem Pfad angegeben werden, z.B.
'/sbin/route ...', nicht einfach 'route ...'.
9. Wird meine Karte unterstützt? Welchen Optionen brauche ich, wenn ich die
Modulen lade?

Schau in den README-Dateien in /usr/src/linux/Documentation/isdn und frag
Deja News mit den Stichwörtern "isdn4linux" und "wiedeinekartegenauheisst".
10. Wo gibt es die neusten ISDN4Linux Software?
Die Utils von ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/testing
Den Kernel-Treiber aus dem neusten offiziellen Kernel von www.kernel.org
oder ein Mirror, z.B. ftp://ftp.de.kernel.org/pub/linux/kernel
Wenn der Kernel sehr neu sein muß (aus der -ac Serie) schaue unter z.B.
ftp://ftp.de.kernel.org/pub/linux/kernel/people/alan/
Siehe auch den Web-Server deines Distributions, und deine lokale
RPM-Repository, z.B. http://SunSITE.auc.dk/linux/RPM/
11. Es wird gewählt, aber die Verbindung klappt nicht.
Du musst in ipppd debug einschalten, und dann in /var/log/messages
nachschauen (siehe auch Frage 14). Dabei heisst:
sent ConfReq ... Dein Rechner wollte etwas
sent ConfRej ... Dein Recher weigerte sich etwas zu tun
sent ConfNak ... Dein Rechner wollte was anderes stattdessen machen
sent ConfAck ... Dein Rechner stimmte etwas zu
rcvd ... Was die Gegenseite dazu gesagt hat
12. Was bedeuten diese komischen 'Cause'-Nummern?
Siehe 'man isdn_cause'
13. Kann ich meinen externen Terminal-Adapter mit ISDN4Linux verwenden?
Nein, nicht mit ISDN4Linux aber schon mit Linux, Sie werden wie Modems
behandelt. Du brauchst also pppd und vielleicht diald. Fragen 6, 7, 8
und 11 sind auch für dich relevant. Bedingung: AT-Befehlssatz zur
Steuerung: Fritz!X-PC und Eumex 404 werden nicht unterstützt.
14. Ich habe diverse Debug-Options in ipppd und isdnctrl eingeschaltet, aber
es erscheint nichts in der Datei /var/log/messages.

Es kann sein, daß du dein Syslog anders konfigurieren musst. Siehe z.B.
'man syslogd' und 'man syslog.conf' und die Datei /etc/syslog.conf.
Falls deine Distribution kein GUI-Tool zum Administrieren vom Syslog
bietet kannst du auch als Schnelllösung:
echo '*.* -/var/log/isdnfix' >> /etc/syslog.conf
killall -HUP syslogd
tippen. Dann wird alles Relevante und Irrelevante in /var/log/isdnfix
geschrieben. Um das hinterher zu entfernen (empfehlenswert da die Datei
schnell sehr groß wird) schreibst du:
grep -v isdnfix /etc/syslog.conf > /etc/syslog.conf.new
mv -f /etc/syslog.conf.new /etc/syslog.conf
killall -HUP syslogd
15. Welche Pakete installiere ich, oder Man-Seiten lese ich, oder
Such-Stichwörter in Deja News verwende ich für:

Alles: ISDN4Linux Kernel-Modul und isdn4kutils
Ein Telefonbeantworter: vbox oder vgetty
Eine Fax-Maschine: Siehe FAQ (Frage 1)
Sync-PPP (Internet): isdnctrl und ipppd
Async-PPP oder externer ISDN: pppd und diald
ISDN Terminal-Programm: minicom und /dev/ttyI0 (man ttyI)
Euro-File Transfer: Noch nicht (EFTP4Linux)
ISDN-Anrufe mitprotokollieren: isdnlog in dual mode
ISDN-Anrufe belauschen: geht nicht mit ISDN4Linux
Lokalnetz ans Internet: Masquerading/ipfwadm. Alternativ mit
squid/sendmail. Siehe auch Frage 2.
Plug-n-Play ISA-Karten: isapnptools.
16. Die ISDN-Verbindung läuft, und ich kann numerischen Adressen pingen, z.B.
mit 'ping -c 20 198.41.0.4' aber Netscape etc. funktioniert nicht.

Du hast Probleme mit Nameserver-Einstellungen. Siehe Frage 2.
17. Die ISDN-Verbindung läuft, aber ich kann nicht mal numerischen Adressen
pingen, z.B. mit 'ping -c 20 198.41.0.4' und Netscape etc. funktioniert
nicht.

Du hast Probleme mit Routing. Siehe Fragen 8 und 2.
18. Ich verstehe die verschiedenen Formen von Rufnummerübermittlung (CLIP -
CLIR - COLP - COLR) nicht.

Siehe CLIP-CLIR-COLP-COLR-Mini-FAQ unter
http://home.t-online.de/home/rbschmitt/cccc.htm
19. Es will einfach nicht klappen!
Frag mal hier in der Newsgruppe/Mailingliste. Wir versuchen hilfreich zu
sein, aber es geht leichter, wenn wir ein Paar Infos haben:
Versionsnummern vom Kernel, ISDN Treiber Version (wenn der ISDN Treiber
nicht aus dem Kernel stammt), Distribution (z.B. Red Hat 7.6), isdn4kutils.
Kurze Auszüge aus /var/log/messages wenn da was steht. Das Output von
'route -n', 'ifconfig', 'lsmod' und 'isdnctrl list ippp0' Kommentare wilkommen, bitte direkt an mich, Erik Corry <erik@arbat.com>.

English mini-FAQ for ISDN4Linux


0. Why is everyone speaking German here?
1. Where's the FAQ?
2. Where can I find a simple guide to using ISDN4Linux?
3. Where is the SuSE Support Database, where many of my questions are
answered?

4. What other documentation is available?
5. Where is the "secret FAQ"?
6. The first (Netscape-)connection never works because of dynamic IP addresses.
7. ISDN4Linux keeps redialling, especially if I do a hard hangup (without
waiting for timeout).

8. Only the first ISDN connection works because of routing problems.
or
The connection appears to work, but no data is sent over the link. After
a short interval, ISDN4Linux cuts the connection again.

9. Is my card supported? What options should I give when loading modules?
10. Where can I get the newest ISDN4Linux software?
11. ISDN4Linux dials, but the connection isn't set up.
12. What do these funny 'cause' codes mean?
13. Can I use ISDN4Linux with my external ISDN Terminal Adapter?
14. I activated various debug options in ipppd and isdnctrl, but I don't see
anything in /var/log/messages.

15. Which packages should I install, or man pages/HOWTOs should I read, or
keywords should I use in Deja News for:

16. The ISDN connection is working, and I can ping numeric addresses eg with
'ping -c 20 198.41.0.4' but Netscape etc. don't work.

17. The ISDN connection is working, but I can't even ping numeric addresses
eg. with 'ping -c 20 198.41.0.4' and Netscape etc. don't work.

18. I don't understand the various forms of calling line identification
(CLIP - CLIR - COLP - COLR).

19. It just doesn't work!
0. Why is everyone speaking German here?
That's because they are mostly German. If you start an English thread it
will be continued in English. If you have trouble getting this group
(de.alt.comm.isdn4linux) it is also available as a mailing list. See the
FAQ. Since most Germans would be more likely to take part in an English
thread here than in a new English-only mailing list, there seems little
point in a split.
1. Where's the FAQ?
http://www.mhessler.de/i4lfaq.html (View + Download)
2. Where can I find a simple guide to using ISDN4Linux?
See http://www.wurtel.demon.nl/ (also available in Dutch). There is
a different HOWTO in German on http://www.franken.de/users/klaus/
You will also find a French Mini-HOWTO under
http://www.linux-france.org/article/connex/ISDN
3. Where is the SuSE Support Database, where many of my questions are
answered?

http://sdb.suse.de/sdb/en/html/katlist.ISDN.html
4. What other documentation is available?
'man isdnctrl', see also under "SEE ALSO". Also 'man ipppd'. And the
README files in /usr/src/linux/Documentation/isdn Many of the HOWTOS
deal with general networking questions and are relevant to ISDN4Linux,
too. See your favourite LDP mirror, eg.
http://SunSITE.auc.dk/ldp/HOWTO/HOWTO-INDEX-3.html
5. Where is the "secret FAQ"?
http://www.deja.com/=dnc/ or http://www.deja.com/=dnc/home_ps.shtml
Search with the keyword isdn4linux (surprise, surprise).
Many articles, but not all, are in German. Don't forget to look in the
'past' article database if you don't find anything in the 'current' one.
6. The first (Netscape-)connection never works because of dynamic IP addresses.
If you have SuSE 5.2, 3rd edition or newer you can put
IP_DYNIP="yes"
in /etc/rc.config. Otherwise (or if you don't want to reboot) you do an:
echo 5 > /proc/sys/net/ipv4/ip_dynaddr
You can put that in /etc/rc.d/rc.local The value 5 is always safe but
the exact numbers understood vary from kernel to kernel. The
documentation for your kernel can be found in
/usr/doc/kernel-doc-yourversion/networking/ip_dynaddr.txt or
/usr/src/linux/Documentation/networking/ip_dynaddr.txt and
http://sdb.suse.de/sdb/en/html/dynippatch.html
If the problematic connection comes from a Windows machine (and goes through
the ISDN4Linux machine because of masquerading/NAT) it could be that the
Windows machine is simply giving up too quickly. The default value of
Hkey_Local_Machine\System\CurrentControlSet\Services\VxD\MSTCP\MaxConnectRetries
is 3 (6 seconds). It should be at least 5 (24 seconds). You can change it
with the registry editor.
7. ISDN4Linux keeps redialling, especially if I do a hard hangup (without
waiting for timeout).

This can be alleviated with RST-provoking. Activate this as in question
6 and see also http://sdb.suse.de/sdb/en/html/katlist.ISDN.html If you
use kernel 2.2 see also
http://www-users.rwth-aachen.de/Michael.Mueller4/dynip.html For newer
2.2 kernels (2.2.14) that patch will not go in cleanly, use this instead:
http://www.grueneberg.de/linux/linux-2.2.14-rst.patch The patch has not
yet been ported to the 2.3 kernels.
8. Only the first ISDN connection works because of routing problems.
or
The connection appears to work, but no data is sent over the link. After
a short interval, ISDN4Linux cuts the connection again.

You probably don't have a default route. See the output of 'route -n'.
You need the line
/sbin/route add default $1
in your /etc/ppp/ip-up file (for Red Hat etc/ppp/ip-up.local)
and your /etc/ppp/ip-down file (for Red Hat etc/ppp/ip-down.local).
These files should have the exact text:
#!/bin/sh
at the start of the first line, and be executable (see 'man chmod').
Commands should be written with full paths, eg '/sbin/route ...', not
just 'route ...'.
9. Is my card supported? What options should I give when loading modules?
See the README-files in /usr/src/linux/Documentation/isdn and ask Deja
News with the search word "isdn4linux" and "yourcardsprecisename".
10. Where can I get the newest ISDN4Linux software?
Get the utils from ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/testing
Get the kernel driver from the newest official kernel from www.kernel.org
or a mirror, eg. ftp://ftp.us.kernel.org/pub/linux/kernel
If you need a very new kernel (in the -ac series) check eg.
ftp://ftp.us.kernel.org/pub/linux/kernel/people/alan/
See also the web/ftp server of your distribution and your local RPM
repository, eg. http://SunSITE.auc.dk/linux/RPM/
11. ISDN4Linux dials, but the connection isn't set up.
You have to switch on debug in ipppd, and then take a look at
/var/log/messages (see also question 14). Here are some explantions
to help you see what is going on:
sent ConfReq ... What your machine wanted
sent ConfRej ... Your machine rejected a configuration/password option
sent ConfNak ... Your machine suggested something else instead
sent ConfAck ... Your machine agreed to something
rcvd ... What the remote server said
12. What do these funny 'cause' codes mean?
See 'man isdn_cause'
13. Can I use ISDN4Linux with my external ISDN Terminal Adapter?
No, they don't work with ISDN4Linux, but they do work with Linux. You
treat these like a modem, so you need pppd and perhaps diald. Questions
6, 7, 8 and 11 still apply, using pppd instead of ipppd. Note: AT-
commands must be understood by the device. External 'winmodems' like
Fritz!X-PC and Eumex 404 are not supported.
14. I activated various debug options in ipppd and isdnctrl, but I don't see
anything in /var/log/messages.

You may need to reconfigure syslog. See eg. 'man syslogd' and 'man
syslog.conf' and the file /etc/syslog.conf. If you distribution doesn't
have a GUI-tool for configuring syslog you could use the quick commands:
echo '*.* -/var/log/isdnfix' >> /etc/syslog.conf
killall -HUP syslogd
at the command prompt. This will cause all relevant and irrelevant data
to be logged to /var/log/isdn. Don't leave this logging around as the
log file will quickly become very big. You can remove it again with:
grep -v isdnfix /etc/syslog.conf > /etc/syslog.conf.new
mv -f /etc/syslog.conf.new /etc/syslog.conf
killall -HUP syslogd
15. Which packages should I install, or man pages/HOWTOs should I read, or
keywords should I use in Deja News for:

Everything: ISDN4Linux kernel module and isdn4kutils
A telephone answering machine vbox or vgetty
A fax machine: See FAQ (question 1).
Sync-PPP (Internet): isdnctrl and ipppd
Async-PPP or external ISDN: pppd and diald
ISDN terminal programm: minicom and /dev/ttyI0 (man ttyI)
Euro-File Transfer: Not yet (EFTP4Linux)
Logging of ISDN calls: isdnlog in dual mode
Bugging of ISDN calls: not possible with ISDN4Linux
Local area network to the Internet: Masquerading/ipfwadm. Alternatively
with squid/sendmail. See also question 2
Plug-n-Play ISA cards: isapnptools.
16. The ISDN connection is working, and I can ping numeric addresses eg with
'ping -c 20 198.41.0.4' but Netscape etc. don't work.

You have a problem with your nameserver. See question 2.
17. The ISDN connection is working, but I can't even ping numeric addresses
eg. with 'ping -c 20 198.41.0.4' and Netscape etc. don't work.

You have a problem with your routing. See questions 8 and 2.
18. I don't understand the various forms of calling line identification
(CLIP - CLIR - COLP - COLR).

There's a Mini-FAQ about this on http://home.t-online.de/home/rbschmitt/cccc.htm
Unfortunately it's not available in English.
19. It just doesn't work!
Ask us in the news group/mailing list. We try to be helpful, but it is
simpler if we have a few facts:
Version numbers for the kernel, the ISDN driver version number (if it didn't
come with the kernel), distribution name (eg. Red Hat 7.6) and isdn4kutils.
Short extracts from /var/log/messages if it contains anything interesting. The
output from 'route -n', 'ifconfig', 'lsmod' and 'isdnctrl list ippp0' Corrections and suggestions welcome, please send them directly to me, Erik Corry, <erik@arbat.com>. Thanks to Andreas Barth, Wolfgang Bornath, Frank Derichsweiler, Klaus Franken, Florian Groß, Andre Grueneberg, Jürgen Lennefer, Eyal Lotem, Christian Otto-Lange, Wolfgang Schetter and Gerhard Sittig. -- Erik Corry