Hallo Markus,
in aller "Kürze" ;o)))
ftp://ftp.avm.de/cardware/fritzxusb.v...
ftp://ftp.samba.org/pub/ppp/ppp-2.4.3.tar.gz
ftp://ftp.in-berlin.de/pub/capi4linux...
1. kernel mit capifs-support kompilieren und installieren
# Details siehe fxusb-suse8.2-03.11.02.tar.gz/fritz/compile-help-*.txt
make menuconfig
ISDN subsystem / Active cards
<M>CAPI2.0 support
[*] CAPI2.0 Middleware support
[*] CAPI2.0 filesystem support
make dep; make clean; make bzImage; make modules; make modules_install
2. fxusb.o Modul kompilieren und installieren
# Sourcen entpacken
tar -xzvf fxusb-suse8.2-03.11.02.tar.gz
# fxusb.o übersetzen & installieren
cd fritz; make; make install
# fxusb.o für die Teledat X120 patchen mit z.B. bpe (aus der ap-Serie)
# suche 7C 05 00 20 ersetze 7C 05 00 28 (an 2 Stellen)
bpe
<l> 7C 05 00 20 <h> 7C 05 00 28 <esc> <w>
<l> 7C 05 00 20 <h> 7C 05 00 28 <esc> <w>
<q>
depmod -a
3. ppp-2.4.3 kompilieren und installieren
# Slackware installiert ppp-2.4.4b1
# capi4k-utils enthält das pppdcapiplugin nur für ppp<=2.4.3
# Ich habe ein Slackware-Paket ausgehend von source/n/ppp gebaut
tar -xzvf ppp-2.4.3.gz
cp ppp-2.4.3 ppp.2.4.3.orig
vi ppp.2.4.3/pppd/Makefile.linux:
[35] COPTS = -O2 -pipe -Wall
[65] HAVE_INET6=y
[71] CBCP=y
diff -r -u ppp-2.4.3.orig/pppd/Makefile.linux ppp-2.4.3/pppd/Makefile.linux > ppp.slack.diff
gzip ppp.slack.diff
cp ppp.slack.diff SLACKWARE/source/n/ppp
cd SLACKWARE/source/n/ppp
vi ppp.SlackBuild:
[09] VERSION=2.4.3
[11] BUILD=1xxx
[24] tar xzvf $CWD/ppp-$VERSION.tar.gz
ppp.SlackBuild
cd /tmp
upgradepkg ppp-2.4.3.tar.gz
4. capi4k-utils kompilieren und installieren
tar -zxvf capi4k-utils-2005-07-18.tar.gz
cd capi4k-utils
make menuconfig
# alles ankreuzen, insb. [*] pppdcapiplugin
make; make install
cp capiinit/capi.conf /etc
vi /etc/capiconf:
#card file proto io irq mem cardnr options
fxusb - DSS1 - - - -
5. Kleinkram
cd /dev; ./MAKEDEV capi
ln -s /etc/resolv.conf /etc/ppp/resolv.conf
capiinit
vi /etc/ppp/peers/isdn/PROVIDER:
debug
sync
oauth
-chap
user xxxxx
plugin userpass.so
password xxxxx
defaultroute
plugin capiplugin.so
number xxxxx
protocol hdlc
multilink
mrru 1500
usepeerdns
/dev/null
pppd call isdn/PROVIDER