Relevante Dateien
Hier soll auf die unter RedHat Linux relevanten Dateien eingegangen werden. Konfigurationsbeispiele für SuSE finden sich zur Genüge - unter anderem unter oben genannter URL. RedHat kommt hier leider oftmals etwas zu kurz. Unter anderen Distributionen sollte es allerdings ähnlich aussehen wie unter RedHat.
/etc/sysconfig/isdn
Wichtig ist hier die Anpassung von I4L_TYPE, I4L_IRQ und I4L_PORT. Type definiert die Karte (Teles, AVM, US Robotics, etc.), IRQ und I/O-Port sollte man schon wissen, mit pnpdump oder unter Windows in der Systemsteuerung ausfindig machen. cat /proc/pci bzw. cat /proc/ioports und cat /proc/interrupts können auch Aufschlüsse geben.
#
# start isdn4linux? ("yes" or "no")
#
I4L_START=yes
#
# kernel module to use (teles, hisax, icn, pcbit)
#
I4L_MODULE="hisax"
#
# driver-id for ISDN-Card
# set to "Fritz!"
# or whatever you defined when loading driver within kernel
# set to "" if you don't have a teles-card/hisax-card
#
I4L_ID="Fritz!"
#
# 2. id-string for ICN ISDN-card
# When using the ICN double card, you MUST define TWO idstrings
# e.g. "icn2"
I4l_ID2=""
#
#
# D-channel protocol 1=1TR6, 2=EDSS1(Euro-ISDN) for Teles/HiSax
# remember: when using the ICN card, you have to load different firmwares
#
I4L_PROTOCOL=2
#
# type of HiSax-driver (set to '' for using old teles-modul or within kernel)
# 1 Teles 16.0 pa=irq pb=membase pc=iobase
# 2 Teles 8.0 pa=irq pb=membase
# 3 Teles 16.3 pa=irq pb=iobase
# 4 Creatix PNP pa=irq pb=IO0 (ISAC) pc=IO1 (HSCX)
# 5 AVM A1 (Fritz) pa=irq pb=iobase
# 6 ELSA PCC16 pa=iobase or nothing for autodetect
#
I4L_TYPE=5
#
# IRQ of Teles/HiSax Card
# eg. 12 or 15 when loading as module
# set to "" when driver is loaded within kernel
#
I4L_IRQ="11"
#
# Membase of Teles/HiSax card (e.g. '0xd2000' for Teles S0/16,
# '0' for Teles S0/16.3)
#
I4L_MEMBASE="0xd2000"
#
# Portaddress of Teles/HiSax card (e.g. 0xd80, "0" for S0/8)
#
I4L_PORT="0x300"
#
# for Creatix PNP: IO0 (ISAC)
#
I4L_IO0=''
#
# for Creatix PNP: IO1 (HSCX)
#
I4L_IO1=''
#
# EOF
/etc/sysconfig/network-scripts/ifcfg-ippp0
Hier sollte die LOCAL_MSN auf die Nummer gesetzt werden, unter der dann auch die Abrechnung auf der Telefonrechnung erfolgt. I4L_REMOTE_INx erlaubt das Entgegennehmen von Anrufen unter angebener Nummer. I4L_REMOTE_OUTx definiert die Telfonnummern des Providers. In diesem Beispiel sind der neue RA Server der FHTE in Esslingen und die Nummer von Göppingen angegeben.
# name of master device
#
DEVICE=ippp0
#
# name of slave device for multilink ppp
#
SLAVE=slv1
#
# my ip address
#
IPADDR=134.108.34.10
#
# remote ip address
#
REMOTEADDR=134.108.34.2
NETMASK=255.255.252.0
NETWORK=134.108.0.0
BROADCAST=134.108.34.255
ONBOOT=no
# start iprofd ("yes" or "no")
# (re-)store ISDN-modem setup in /etc/isdnlog/modemsettings
# restore automatically at boot-time
# store with "AT&W0" in terminal-emulation
#
I4L_IPROFD="no"
#
# idletime before hangup (in seconds)
#
I4L_IDLETIME=300
#
# hangup befor next charge info ("on" or "off")
# this only works, if your isdn-provider transmits the charge-info during
# and after the connection
# it does NOT work with the Teles on an EDSS1-Line :-(
I4L_CHARGEHUP=off
#
# hang-up-timer for incoming calls ("on" or "off")
#
I4L_IHUP=off
#
# Set the number of dial atempts for each number
# set to "" for unlimited
#
I4L_DIALMAX=5
#
# remote station phone number 1 dialout
#
I4L_REMOTE_OUT1="071616190"
#I4L_REMOTE_OUT1="07113964040"
#
# remote station phone number 2 dialout
#
I4L_REMOTE_OUT=""
#
# remote station phone number 1 dialin
#
I4L_REMOTE_IN1="123456"
#
# remote station phone number 2 dialin
#
I4L_REMOTE_IN2=""
#
# my phone number
#
I4L_LOCALMSN="123456"
#
# Debug Level, 4 (some..) to 31 (all messages)
#
I4L_DEBUG=31
#
#
# layer-2 protocol (default: "hdlc")
# With the ICN-driver and the Teles-driver, "x75i" and "hdlc" is available.
# With other drivers, "x75ui", "x75bui" may be possible too
#
I4L_L2="hdlc"
#
# layer-3 protocol (only "trans" is allowed)
#
I4L_L3="trans"
#
# encapsulation
# possible values: "rawip" (default), "ip", "cisco-h", "ethernet",
# "syncppp", "uihdlc"
# see: /usr/src/linux/Documentation/isdn/README
#
I4L_ENCAP="syncppp"
#
# secure
# "on" = only defined numbers are allowed to call in
# "off" = all numbers are allowed to call in
#
I4L_SECURE="on"
#
# callback ("on", "off", "in" or "out")
# the other host must accept this
#
I4L_CALLBACK="off"
#
# callback delay in seconds (default: 5)
#
I4L_CBDELAY=5
#
# activ hangup when getting an incoming call (default: "on")
#
I4L_CBHUP="off"
#
# EOF
BOOTPROTO=none
USERCTL=no
/etc/ppp/ioptions
Hier sollte der user angepaßt werden - auf das eigene Login unter Unix an der FHTE.
/dev/ippp0
0.0.0.0:0.0.0.0
user login
defaultroute
-chap
noipdefault
ipcp-accept-local
ipcp-accept-remote
debug
lcp-restart 2 # LCP Timeout verkuerzen
-mn # Magic Number Negotiation ausschalten
-vjccomp # Abschalten der VJ-Kompression der Connection-ID
-vj # Keine Kompression nach Van Jacobson
-ac # Abschaltung der Adress/Kontrollfeld-Kompression
-pc # Abschalten der Protokollfeld-Kompression
-bsdcomp # BSD-Kompression aus (ipppd kann das nicht!)
mru 2048 # Maximum Receive Unit- Groesse des Uni-Routers
-detach # Prozess soll nicht selbstaendig werden
/etc/ppp/pap-secrets
Diese Datei sollte nur von root lesbar sein, denn hier wird das remote access password in plain ASCII gespeichert! login und password sind durch das Unix login und das Unix password zu ersetzen. Die authentification an der FHTE erfolgt ausschließlich durch PAP, wie der Name der Datei schon erkennen läßt.
# Secrets for authentication using PAP
# client server secret IP addresses
login * password