ISDN: Problem s konektivitou [LONG]

RichardS AlexII na point.sk
Pátek Leden 19 21:15:10 CET 2001


Bry Den !

Skusam jednu ISDN kartu (AVM FRITZ!Card Classic) ISA.

Konfiguracia jadra: (iba polozky pre ISDN)  (RedHat 6.2/kernel-2.2.18)
========================================================
# ISDN subsystem
#
CONFIG_ISDN=m
CONFIG_ISDN_PPP=y
CONFIG_ISDN_PPP_VJ=y
CONFIG_ISDN_MPP=y
# CONFIG_ISDN_AUDIO is not set

#
# ISDN feature submodules
#
# CONFIG_ISDN_DRV_LOOP is not set
# CONFIG_ISDN_DIVERSION is not set

#
# Passive ISDN cards
#
CONFIG_ISDN_DRV_HISAX=m
CONFIG_HISAX_EURO=y
CONFIG_HISAX_AVM_A1=y


skript, ktorym sa konektujem k providerovi
====================================================
#! /bin/sh

/sbin/modprobe slhc
/sbin/modprobe isdn
/sbin/modprobe hisax

sleep 1

/usr/sbin/isdnctrl verbose 9
/usr/sbin/hisaxctrl HiSax 11 0xf4f
/usr/sbin/isdnctrl addif ippp0
/usr/sbin/isdnctrl eaz ippp0 7898461
/usr/sbin/isdnctrl addphone ippp0 out 01914
/usr/sbin/isdnctrl dialmode ippp0 auto
/usr/sbin/isdnctrl dialwait ippp0 20
/usr/sbin/isdnctrl huptimeout ippp0 20
/usr/sbin/isdnctrl ihup ippp0 off
/usr/sbin/isdnctrl l2_prot ippp0 hdlc
/usr/sbin/isdnctrl l3_prot ippp0 trans
/usr/sbin/isdnctrl encap ippp0 syncppp
/sbin/ifconfig ippp0 txqueuelen 20 up

/usr/sbin/ipppd /dev/ippp0

sleep 2

/usr/sbin/isdnctrl dial ippp0

detaily ako je 'route add ...' nepisem tam sa zvycajne uz nedostanem
======================================================================
======================================================================
a toto je vypis v /var/log/messages:

Jan 19 20:34:27 pilsner kernel: ISDN subsystem Rev:
1.113/1.84/1.114/1.63/none/1.5 loaded
Jan 19 20:34:28 pilsner kernel: HiSax: Linux Driver for passive ISDN cards
Jan 19 20:34:28 pilsner kernel: HiSax: Version 3.3e (module)
Jan 19 20:34:28 pilsner kernel: HiSax: Layer1 Revision 2.37
Jan 19 20:34:28 pilsner kernel: HiSax: Layer2 Revision 2.20
Jan 19 20:34:28 pilsner kernel: HiSax: TeiMgr Revision 2.13
Jan 19 20:34:28 pilsner kernel: HiSax: Layer3 Revision 2.10
Jan 19 20:34:28 pilsner kernel: HiSax: LinkLayer Revision 2.40
Jan 19 20:34:28 pilsner kernel: HiSax: Approval certification valid
Jan 19 20:34:28 pilsner kernel: HiSax: Approved with ELSA Quickstep series
cards
Jan 19 20:34:28 pilsner kernel: HiSax: Approval registration numbers:
Jan 19 20:34:28 pilsner kernel: HiSax: German D133361J CETECOM ICT Services
GmbH
Jan 19 20:34:28 pilsner kernel: HiSax: EU (D133362J) CETECOM ICT Services
GmbH
Jan 19 20:34:28 pilsner kernel: HiSax: Approved with Eicon Technology Diva
2.01 PCI cards
Jan 19 20:34:28 pilsner kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
Jan 19 20:34:28 pilsner kernel: HiSax: AVM driver Rev. 2.11
Jan 19 20:34:28 pilsner kernel: AVM A1: Byte at 1a40 is 7
Jan 19 20:34:28 pilsner kernel: AVM A1: Byte at 1a43 is 3
Jan 19 20:34:28 pilsner kernel: AVM A1: Byte at 1a42 is 2
Jan 19 20:34:28 pilsner kernel: AVM A1: Byte at 1a40 is 7
Jan 19 20:34:28 pilsner kernel: HiSax: AVM A1 config irq:0 cfg:0x1A40
Jan 19 20:34:28 pilsner kernel: HiSax: isac:0x1640/0x1240
Jan 19 20:34:28 pilsner kernel: HiSax: hscx A:0x640/0x240  hscx
B:0xE40/0xA40
Jan 19 20:34:28 pilsner kernel: AVM A1: ISAC version (0): 2086/2186 V1.1
Jan 19 20:34:28 pilsner kernel: AVM A1: HSCX version A: V2.1  B: V2.1
Jan 19 20:34:28 pilsner kernel: HiSax: DSS1 Rev. 2.23
Jan 19 20:34:28 pilsner kernel: HiSax: 2 channels added
Jan 19 20:34:28 pilsner kernel: HiSax: MAX_WAITING_CALLS added
Jan 19 20:34:30 pilsner kernel: isdn: Verbose-Level is 9
Jan 19 20:34:31 pilsner ipppd[762]: Found 2 devices: /dev/ippp0, /dev/ippp0
Jan 19 20:34:31 pilsner ipppd[763]: ipppd i2.2.10 (isdn4linux version of
pppd by MH) started
Jan 19 20:34:31 pilsner ipppd[763]: init_unit: 0
Jan 19 20:34:31 pilsner ipppd[763]: Connect[0]: /dev/ippp0, fd: 7
Jan 19 20:34:31 pilsner ipppd[763]: init_unit: 1
Jan 19 20:34:31 pilsner ipppd[763]: Connect[1]: /dev/ippp0, fd: 8
Jan 19 20:34:33 pilsner kernel: ippp0: dialing 1 01914...
Jan 19 20:34:41 pilsner kernel: isdn_net: local hangup ippp0  <<<-- TO JE
TEN PROBLEM
Jan 19 20:34:41 pilsner kernel: ippp0: Chargesum is 0
Jan 19 20:35:19 pilsner kernel: isdn: HiSax,ch0 cause: E0010

Mozno ze som niekde spravil nejaku uplne trivialnu chybu (ISDN nie je moja
silna stranka).
Za radu/typ/nakopnutie vopred dakujem.



										AlyoSHA na point.sk




Další informace o konferenci Linux