Linux und ISDN
Holger Mense
holger at sky.rhwd.owl.de
Mon Oct 26 19:41:15 CET 1998
Hi...
So, da die Geschichte mit dem Mailsharing zwischen Win95 und Linux nicht
so ganz geklappt hat, nerve ich euch mal wieder mit meinem ISDN Problem
unter Linux.
Also, ich habe eine Teles 16.3c PNP ISDN-Karte, und ich möchte mich damit
bei meinem ISP einwählen.
Als Software verwende ich Debian 2.0, Kernel 2.0.36pre14, isdn4linux
9810241100 (vom 24.10.98 :) sowie isdn4k-utils 9810241100 .
Beim starten von Linux wird die Karte korrekt mit isapnp initialisiert,
der HiSax-Treiber wird geladen und erkennt die Karte.
Wenn ich nun aber mit kISDN oder mit dem Script, welches ich von meinem
Provider bekommen habe, eine Verbindung aufbauen will, funktioniert das
nicht, und folgendes steht im syslog:
=== cut ===
Oct 26 19:25:05 comet ipppd: info: no CHAP secret entry for this user!
Oct 26 19:25:05 comet ipppd[186]: Found 1 device: /dev/ippp0
Oct 26 19:25:05 comet ipppd[187]: ipppd i2.2.10 (isdn4linux version of pppd by MH) started
Oct 26 19:25:05 comet ipppd[187]: init_unit: 0
Oct 26 19:25:05 comet ipppd[187]: Connect[0]: /dev/ippp0, fd: 7
Oct 26 19:25:05 comet ipppd[187]: ioctl(PPPIOCGDEBUG): Invalid argument
=== cut ===
Das Script zum einwählen sieht wiefolgt aus:
=== cut ===
#!/bin/sh
LOCAL_NUMBER='900461' # Your ISDN card's number
DRIVERID='isdn0' # Name of your ISDN driver (cf lilo.conf)
BCHANNEL='0' # Channel to use. "0" is first channel
REMOTE_NUMBER3='901415' # The ISDN dialin number 1 of your Pop
REMOTE_IP='194.123.65.162' # IP of the dialed server
SYSTEM="sky.rhwd.owl.de"
DEVICE='ippp0' # Device to work with
LOCAL_IP='0.0.0.0' # We use dynamic IPs
BCHANNEL='0'; DEVICE='ippp0';
IPPPD='ipppd'
ISDNCTRL='isdnctrl'
IFCONFIG='ifconfig'
ROUTE='route'
#== End of common configuration ===============================================
#==============================================================================
$ISDNCTRL addif $DEVICE # Create new interface 'DEVICE'
$ISDNCTRL addphone $DEVICE out $REMOTE_NUMBER3 # 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 240 # Hangup-Timeout is 240 sec.
$ISDNCTRL chargehup $DEVICE off # Hangup before next Charge-Info
$ISDNCTRL secure $DEVICE on # Accept only configured phone-number
$ISDNCTRL bind $DEVICE $DRIVERID,$BCHANNEL # Bind DEVICE to first ISDN channel
$IFCONFIG $DEVICE $LOCAL_IP pointopoint $REMOTE_IP metric 1
$ROUTE add $REMOTE_IP dev $DEVICE
$ROUTE add default gw $REMOTE_IP
$IPPPD $DEVICE useifip defaultroute remotename $SYSTEM &
=== cut ===
Wäre schön, wenn jemand das Problem lösen könnte...
CU, Holger
P.S.: Derjenige, der das Problem lösen kann, bekommt von mir eine Kiste
Bier spendiert; vielleicht spornt das ja den einen oder anderen an ;)
--
Holger Mense
More information about the Linux
mailing list