Hi,
I'm using a Teles 16.3 ISDN card but I can't dial out.
Here is what I have done :
INSTALL
=======
Linux Kernel : V2.1
(those commands are running through the script below)
. loading module
insmod slhc
insmod isdn
(ppp built in kernel)
. loading Teles driver
insmod teles io=io=0x0000,15,0xd80,2 teles_id=MyTeles
. startd ipppd daemon (user, username are to be fixed)
ipppd user myusername \
ipcp-accept-local ipcp-accept-remote \
-vjccomp -ac -pc -detach mru 1524 \
-bsdcomp debug useifip dev/ippp0 &
. Result in /var/adm/messages :
kernel: CSLIP: code copyright 1989 Regents of the University of California
kernel: ISDN subsystem Rev: 1.23/1.21/1.18/1.13/none loaded
kernel: Teles 16.3 found, io: d80 irq: 15 proto: EDSS1
kernel: HSCX version A:5 B:5
kernel: channels 2
kernel: Teles module installed
pppd[147]: pppd 2.2.0 started by root, uid 0
pppd[147]: init_unit: 0
pppd[147]: Connect[0]: /dev/ippp0, fd: 6
Seems to be OK
TEST 1
======
To test the configuration, I ping outside my network :
ping 130.104.117.5
Result in /var/adm/messages :
pppd[147]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 6
kernel: ippp0: dialing 0 3874110...
kernel: isdn_net: local hangup ippp0
kernel: ippp0: Chargesum is 0
pppd[147]: Modem hangup
pppd[147]: Connection terminated.
pppd[147]: taking down PHASE_DEAD link 0, linkunit: 0
pppd[147]: link 0 closed , linkunit: 0
pppd[147]: reinit_unit: 0
TEST 2
======
Replacing the ISP phone number by the number of an internal phone, just to
heck
if dialing is OK.
Result : same problem...
TEST 3
======
Calling Teles ISDN card from outside, just to check the line and Teles
river...
Result in /var/adm/messages :
kernel: isdn_tty: call from 12 -> 0 ignored (try 1 : internal call)
kernel: isdn_tty: call from 26550400 -> 0 ignored (try 2 : external call)
Seems to be ok...
QUESTIONS
=========
. WHERE IS THE PROBLEM ?
. HOW CAN I CHECK IF DIAL OUT IS WORKING PROPERLY ?
. THERE IS NO HARDWARE DETECTION FOR TELES CARD. HOW CAN I CHECK IF IO/MEM BASE/IRQ
ARE OK ?
Thanks for your help and be indulgent for my poor English.
Bertrand Renuart
---------------------------------------------------------------------------
Here is a copy of my loading script :
TO BE CHANGED : REMOTE_IP -> dynamically allocated
user, username for ipppd
#
#!/bin/sh
#
LOCAL_NUMBER="6550409"
REMOTE_NUMBER="3874110"
LOCAL_IP="192.168.2.254"
REMOTE_IP="172.16.2.123" # ----- TO BE CHANGED ------
DEVICE="ippp0"
# load VJ-compression module
insmod slhc.o
# load isdn4linux and teles driver
insmod isdn
insmod teles io=0x0000,15,0xd80,2 teles_id=MyTeles
telesctrl MyTeles 1 4 # enable verbose '4' mode
isdnctrl addif $DEVICE # Create new interface 'DEVICE'
# isdnctrl addphone $DEVICE in $REMOTE_NUMBER # Set incoming phone-number
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 600 # Hangup-Timeout is 600 sec.
isdnctrl chargehup $DEVICE off # Hangup before next Charge-Info
isdnctrl secure $DEVICE on # Accept only configured phone-number
ifconfig $DEVICE $LOCAL_IP pointopoint $REMOTE_IP metric 1
route add default $DEVICE
# start the ipppd deamon:
ipppd user myusername \
ipcp-accept-local ipcp-accept-remote \
-vjccomp -ac -pc -detach mru 1524 \
-bsdcomp debug useifip dev/ippp0 &