This is from the isdn4linux mailing list.
---------- Forwarded message ----------
Date: Fri, 16 Apr 1999 11:15:01 +0200
From: Erik Corry <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Weekly ISDN Mini-FAQ
English-German mini-FAQ for ISDN4Linux
Englisch-Deutsche mini-FAQ f�r ISDN4Linux
Mini-FAQ online: http://www.franken.de/users/klaus/
See below for English!
1. Wo gibt es die FAQ?
http://www.lrz-muenchen.de/~ui161ab/www/isdn/ Leider nicht ganz aktuell.
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.
3. Wo gibt es die SuSE Support-Datenbank, wo viele Fragen zu ISDN4Linux
beantwortet werden?
http://www.suse.de/sdb/de/html/katlist.ISDN.html
4. Was gibt es sonst f�r Dokumentation?
'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"?
www.dejanews.com. 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 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 Siehe
/usr/src/Linux/Documentation/networking/ip_dynaddr.txt und
http://www.suse.de/Support/sdb/dynippatch.html
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://www.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
8. Nur die erste ISDN-Verbindung funktioniert, wegen Routing-Probleme.
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.
http://www.isdn4linux.de/download.php3 Siehe auch den Web-Server deines
Distributions, und deine lokale RPM-repository, z.B.
http://SunSITE.auc.dk/linux/rpmrepository.html
11. Seitdem ich Kernel-2.0.36 verwende geht ISDN4Linux nicht mehr.
Du brauchst die neusten isdn4k-utils, 3.0beta1 oder neuer. Siehe oben.
Siehe insbesondere den neuen 'dialmode'-Befehl in isdnctrl. Bemerke:
die Utils m�ssen mit der verwendeten Kernel-Version �bersetzt werden,
d.h. wenn du dein Kernel updatest, musst du u.U. die Utils auch neu
�bersetzen.
Achtung! Die '2.0.36'-er Kernel in Red Hat 5.2 ist keine richtige
2.0.36er, sondern eine Prerelease ohne die neuen ISDN-�nderungen.
Du brauchst also entweder die richtige 2.0.36 von www.kernel.org oder
den neusten Kernel-Treiber, siehe Frage 10.
12. Seitdem ich Kernel-2.2.1 verwende geht ISDN4Linux nicht mehr.
Die Version von ISDN4Linux in 2.2.1 ist leider nicht die neuste,
bug-�rmste. Du brauchst eine neuere Version vom Kernel-Treiber und den
Utils. Siehe Fragen 10 und 11.
13. Kann ich mit ISDN4Linux faxen? Wieso nicht?
Nur mit der Aktiven Karte, AVM B1, und dann auch nur ziemlich
umst�ndlich. Siehe Deja News f�r das warum. Siehe auch
http://x16.dejanews.com/getdoc.xp?AN=436035944
14. 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 17). 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
15. Was bedeuten diese komischen 'Cause'-Nummern.
Siehe 'man isdn_cause'
16. 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 14 sind auch f�r dich relevant.
17. 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 relevantes und irrelevantes 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
18. 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 Frage 13
Sync-PPP (Internet): isdnctrl und ipppd
Async-PPP oder eksterner 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.
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, Distribution, 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 <[EMAIL PROTECTED]>.
English mini-FAQ for ISDN4Linux
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.lrz-muenchen.de/~ui161ab/www/isdn/ Unfortunately, it is not
totally up to date
3. 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/
4. Where is the SuSE Support Database, where many of my questions are
answered?
http://www.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"?
www.dejanews.com. 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 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 See
/usr/src/Linux/Documentation/networking/ip_dynaddr.txt and
http://www.suse.de/Support/sdb_e/dynippatch.html
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://www.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
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?
http://www.isdn4linux.de/download.php3 See also the web/ftp server of
your distribution and your local RPM repository, eg.
http://SunSITE.auc.dk/linux/rpmrepository.html
11. ISDN4Linux doesn't work any more since I updated to kernel 2.0.36
You need the newest isdn4k-utils, 3.0beta1 or newer. See above. In
particular you need the new 'dialmode' command isdnctrl. Note: the
utils must be compiled with the version of the kernel you are using, so
when you upgrade your kernel, you may need to recompile the utils.
Warning! The '2.0.36' kernel in Red Hat 5.2 is not the real 2.0.36, but
rather a pre-release without the new ISDN code. So you either need the
real 2.0.36 kernel from www.kernel.org or an update for the kernel
driver, see question 10.
12. ISDN4Linux doesn't work any more since I updated to kernel 2.2.1
Unfortunately, the version of ISDN4Linux in 2.2.1 is not the latest
greatest. You need a newer version of the kernel driver and the utils.
See questions 10 and 11.
13. Can I fax with ISDN4Linux? Why not?
Only with the active card, AVM B1, and it is a somewhat messy solution.
As for the 'why', see Deja News. In short, noone has coded it for the
passive cards.
14. 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 17). 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
15. What do these funny 'cause' codes mean?
See 'man isdn_cause'
16. 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 14 still apply, using pppd instead of ipppd.
17. 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
18. Which packets 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 question 13
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.
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, ISDN driver, distribution 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, <[EMAIL PROTECTED]>.
Thanks to Andreas Barth, Klaus Franken, J�rgen Lennefer, Wolfgang Schetter and
Gerhard Sittig.
--
Erik Corry
---------------------------------------------------
To remove yourself from this mailing list send
email to [EMAIL PROTECTED] containing
"unsubscribe isdn4linux <your_email_address>" in
the message body [-vg]