Für alle: Die Lösung
Hallo zusammen!
Da es mir der RedHat Linux Konfiguration folgend nicht gelungen ist Kanalbündelung einzurichten habe ich, basierend auf einem Beispielskript aus dem isdn4linux-Paket, folgendes eigenes Shell-Skript gebastelt, mit dem das automatisch zu bewerkstelligen ist.
Vielleicht hilft es ja mal jemandem, der das gleiche Problem hat…
(Den Variablen müssen am Anfang natürlich noch Werte zugewiesen werden, wo noch nicht geschehen… z.B. USER)
---- schnipp ------
#!/bin/sh
don’t forget to edit the files
/etc/ppp/pap-secrets or
/etc/ppp/chap-secrets
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
LOCAL_NUMBER=""
REMOTE_NUMBER=""
LOCAL_IP=""
REMOTE_IP=""
DEVICE=„ippp0“
USER=""
NAME=„AVM PCI (Fritz!PCI)“
MODULE=„hisax“
RESOURCES=„type=27 protocol=2 id=HiSax“
additional for channel bundling:
DEVICE1=„ippp1“
VERSION=cat /proc/version | awk '{ print $3 }'
when setting the environment variable MODPATH you
can omit the full path.
SYSPATH="/sbin/"
load modules
/sbin/modprobe $MODULE $RESOURCES
start logging
if ["$MODULE" = hisax]; then
hisaxctrl HiSax 1 0x3ff > /dev/null 2>&1
fi
Setting up the master interface
isdnctrl addif $DEVICE # Create new interface ‚DEVICE‘
isdnctrl addphone $DEVICE out $REMOTE_NUMBER # Set outgoung phone-number
isdnctrl eaz $DEVICE $LOCAL_NUMBER # Set local EAZ …
isdnctrl l2_prot $DEVICE hdlc # for sync PPP: set Level 2 to HDLC
isdnctrl l3_prot $DEVICE trans # not really necessary, ‚trans‘ is default
isdnctrl encap $DEVICE syncppp # encap the IP Pakets in PPP frames
isdnctrl huptimeout $DEVICE 300 # Hangup-Timeout is 300 sec. -> 5 min
isdnctrl chargehup $DEVICE off # Hangup before next Charge-Info
isdnctrl pppbind $DEVICE 0 # Binding to ppp interface
additional slave interface for channel bundling:
isdnctrl addslave $DEVICE $DEVICE1 # Create new slave interface ‚DEVICE1‘
isdnctrl addphone $DEVICE1 out $REMOTE_NUMBER # Set outgoung phone-number
isdnctrl dialmode $DEVICE1 auto
isdnctrl eaz $DEVICE1 $LOCAL_NUMBER # Set local EAZ …
isdnctrl l2_prot $DEVICE1 hdlc # for sync PPP: set Level 2 to HDLC
isdnctrl l3_prot $DEVICE1 trans # not really necessary, ‚trans‘ is default
isdnctrl encap $DEVICE1 syncppp # encap the IP Pakets in PPP frames
isdnctrl huptimeout $DEVICE1 300 # Hangup-Timeout is 300 sec. -> 5 min
isdnctrl chargehup $DEVICE1 off # Hangup before next Charge-Info
isdnctrl pppbind $DEVICE1 1 # Binding to ppp interface
ipppd user $USER /dev/ippp0 /dev/ippp1
isdnctrl dial ippp0
----- schnapp ---------
Mit „isdnctrl addlink ippp0“ kann dann die Kanalbündelung hergestellt werden.
Viele Grüsse und Danke nochmal an Fritze,
Andreas