HELP!!! WHAT AM I DOING WRONG??
Red Hat 9, Eicon Diva card, NT-1 (USA)
STEP 1: load isdn etc
% /sbin/modprobe isdn
% /sbin/modprobe hisax type=11 protocol=4
% dmesg
CSLIP: code copyright 1989 Regents of the University of California
ISDN subsystem Rev: 1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1/1.1.4.1 loaded
HiSax: Linux Driver for passive ISDN cards
HiSax: Version 3.5 (module)
HiSax: Layer1 Revision 1.1.4.1
HiSax: Layer2 Revision 1.1.4.1
HiSax: TeiMgr Revision 1.1.4.1
HiSax: Layer3 Revision 1.1.4.1
HiSax: LinkLayer Revision 1.1.4.1
HiSax: Approval certification failed because of
HiSax: unauthorized source code changes
HiSax: Total 1 card defined
HiSax: Card 1 Protocol NI1 Id=HiSax (0)
HiSax: Eicon.Diehl Diva driver Rev. 1.1.4.2
PCI: Found IRQ 11 for device 00:09.0
Diva: IPACX PCI card configured at 0xd08be000 IRQ 11
Diva: IPACX PCI space at 0xd08bc000
Diva: IPACX Design Id: 1
Eicon.Diehl Diva: IRQ 11 count 25
HiSax: IPACX ISDN driver v0.1.0
Eicon.Diehl Diva: IRQ 11 count 28
HiSax: National ISDN-1 Rev. 1.1.4.1
HiSax: National ISDN-1 Rev. 1.1.4.1
HiSax: 2 channels added
HiSax: MAX_WAITING_CALLS added
STEP 2: Configure
% /sbin/hisaxctrl HiSax 1 4
% /sbin/isdnctrl verbose 3
Verbose-level set to 3.
% /sbin/isdnlog /dev/isdnctrl0 &
% /sbin/isdnctrl addif ippp0
ippp0 added
% /sbin/isdnctrl addphone ippp0 out 618zzzz
% /sbin/isdnctrl dialmax ippp0 5
Dialmax for ippp0 is 5 times.
% /sbin/isdnctrl eaz ippp0 623xxxx:520623xxxx1111
EAZ/MSN for ippp0 is 623xxxx:520623xxxx1111
% /sbin/isdnctrl l2_prot ippp0 hdlc
Layer-2-Protocol for ippp0 is hdlc
% /sbin/isdnctrl l3_prot ippp0 trans
Layer-3-Protocol for ippp0 is trans
% /sbin/isdnctrl encap ippp0 syncppp
Encapsulation for ippp0 is syncppp
% /sbin/isdnctrl huptimeout ippp0 300
Hangup-Timeout for ippp0 is 300 sec.
% /sbin/isdnctrl chargehup ippp0 off
Charge-Hangup for ippp0 is off
% /sbin/isdnctrl secure ippp0 on
Security for ippp0 is on
% /sbin/isdnctrl addslave ippp0 ippp1
ippp1 added as slave to ippp0
% /sbin/isdnctrl addphone ippp1 out 618zzzz
% /sbin/isdnctrl eaz ippp1 623yyyy:520623yyyy1111
EAZ/MSN for ippp1 is 623yyyy:520623yyyy1111
% /sbin/isdnctrl l2_prot ippp1 hdlc
Layer-2-Protocol for ippp1 is hdlc
% /sbin/isdnctrl l3_prot ippp1 trans
Layer-3-Protocol for ippp1 is trans
% /sbin/isdnctrl encap ippp1 syncppp
Encapsulation for ippp1 is syncppp
% /sbin/isdnctrl huptimeout ippp1 300
Hangup-Timeout for ippp1 is 300 sec.
% /sbin/isdnctrl chargehup ippp1 off
Charge-Hangup for ippp1 is off
% /sbin/isdnctrl secure ippp1 on
Security for ippp1 is on
% /sbin/isdnctrl list all
Current setup of interface 'ippp0':
EAZ/MSN: 623xxxx:520623xxxx1111
Phone number(s):
Outgoing: 618zzzz
Incoming:
Dial mode: manual
Secure: on
Callback: off
Reject before Callback: on
Callback-delay: 5
Dialmax: 5
Hangup-Timeout: 300
Incoming-Hangup: on
ChargeHangup: off
Charge-Units: 0
Charge-Interval: 0
Layer-2-Protocol: hdlc
Layer-3-Protocol: trans
Encapsulation: syncppp
Slave Interface: ippp1
Slave delay: 10
Master Interface: None
Pre-Bound to: Nothing
PPP-Bound to: Nothing
Current setup of interface 'ippp1':
EAZ/MSN: 623yyyy:520623yyyy1111
Phone number(s):
Outgoing: 618zzzz
Incoming:
Dial mode: manual
Secure: on
Callback: off
Reject before Callback: on
Callback-delay: 5
Dialmax: 1
Hangup-Timeout: 300
Incoming-Hangup: on
ChargeHangup: off
Charge-Units: 0
Charge-Interval: 0
Layer-2-Protocol: hdlc
Layer-3-Protocol: trans
Encapsulation: syncppp
Slave Interface: None
Slave delay: 10
Master Interface: ippp0
Pre-Bound to: Nothing
PPP-Bound to: Nothing
% dmesg
sdn: Verbose-Level is 3
divert: not allocating divert_blk for non-ethernet device ippp0
% cat /var/log/isdnctrl
isdnlog Version 4.58 starting
Error in file `/etc/isdn/isdn.conf', line 10: There is no value for
`AREAPREFIX'!
Holiday Version 1.10-Germany [12-Apr-1999] loaded [11 entries from
/usr/lib/isdn/holiday-de.dat]
Dest V1.01: File '/usr/lib/isdn/dest.cdb' opened fine - Dest 1.0 int (+h)
Zone V1.25: Provider 0 File '/usr/lib/isdn/zone-de-dtag.cdb' opened fine -
V1.25 K2 C2 N256 T157147 O1 L5
Rates Version 2.02 [23-Apr-2002 19:28:07] loaded [52 Providers, 402 Zones,
1966 Areas, 42 Services, 321 Comments, 0 eXceptions, 6 Redirects, 1266 Rates
from /usr/lib/isdn/rate-de.dat]
(ISDN subsystem with ISDN_MAX_CHANNELS > 16 detected, ioctl(IIOCNETGPN) is
available)
isdn.conf:2 active channels, 2 MSN/SI entries
(Data versions: iprofd=0x06 net_cfg=0x06 /dev/isdninfo=0x01)
Everything is fine, isdnlog-4.58 is running in full featured mode.
Got signal 15
exit now 7
% /sbin/ifconfig ippp0 216.39.X.Y pointtopoint 216.39.N.P metric 1
pointtopoint: Host name lookup failure
ifconfig: `--help' gives usage information.
% /sbin/ifconfig ippp0
ippp0 Link encap:Point-to-Point Protocol
inet addr:216.39.X.Y P-t-P:216.39.N.P Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:30
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
% /sbin/ipppd pidfile /var/run/ipppd.ippp0.pid file /etc/ppp/ioptions &
% dmesg
ippp, open, slot: 0, minor: 0, state: 0000
ippp_ccp: allocated reset data structure c099e800
ippp, open, slot: 1, minor: 0, state: 0000
ippp_ccp: allocated reset data structure c008b800
STEP 3: Dial ...
% /sbin/isdnctrl dial ippp0
% /sbin/isdnctrl status all
ippp0 connected to 618zzzz
% dmesg
ippp0: dialing 1 618zzzz...
isdn: HiSax,ch0 cause: 001B
ippp0: dialing 2 618zzzz...
ippp0: dialing 3 618zzzz...
ippp0: dialing 4 618zzzz...
ippp0: dialing 5 618zzzz...
isdn_net: local hangup ippp0
ippp0: Chargesum is 0
% /sbin/isdnctrl status all
ippp0 is not connected
STEP 4: Cry for help!
|