[Tech] Dial-in ISDN

Stefano stefano@gse-empoli.it
Sab 26 Lug 2003 00:36:39 CEST


Ho un computer con su un modem interno ISDN PCI Atlantis con Mandrake
9.1
Si connette ad internet senza problemi, ma non ne vuole sapere di fare
accettare connessioni di dial-in dall'esterno.
Gli Howto disponibili in rete sono quasi tutti in tedesco (cioe'
incomprensibili).
Qui sotto vi c'e' un po di log e la configurazione (i numeri di telefono
sono stati mascherati)
Come si vede bene dal log, l'interfaccia ISDN rileva ma ignora
completamente le chiamate in arrivo.
Dove ho sbagliato ?

# tail /var/log/messages

Jul 25 23:06:12 localhost ifup: Adding ippp device ippp0
Jul 25 23:06:12 localhost ifup: ippp0 added
Jul 25 23:06:12 localhost ifup: Configuring device ippp0
Jul 25 23:06:12 localhost ifup: EAZ/MSN for ippp0 is 055xxxxxxx
Jul 25 23:06:12 localhost ifup: Security for ippp0 is off
Jul 25 23:06:12 localhost ifup: Dialmax for ippp0 is 3 times.
Jul 25 23:06:12 localhost ifup: Hangup-Timeout for ippp0 is 300 sec.
Jul 25 23:06:12 localhost ifup: Incoming-Hangup for ippp0 is off
Jul 25 23:06:12 localhost ifup: Charge-Hangup for ippp0 is off
Jul 25 23:06:12 localhost ifup: Layer-2-Protocol for ippp0 is hdlc
Jul 25 23:06:12 localhost ifup: Layer-3-Protocol for ippp0 is trans
Jul 25 23:06:12 localhost ifup: Encapsulation for ippp0 is syncppp
Jul 25 23:06:12 localhost ifup: ippp0 bound to 0
Jul 25 23:06:12 localhost ifup: ISDN Configuration read from
/etc/isdn/isdnctrl.conf.
Jul 25 23:06:12 localhost ifup: Adding device ippp0
Jul 25 23:06:12 localhost ifup: Starting ppp-daemon if needed
Jul 25 23:06:12 localhost ifup: Starting PPP-daemon for ippp0
Jul 25 23:19:27 localhost kernel: isdn: Verbose-Level is 7
Jul 25 23:22:31 localhost kernel: isdn_net: call from 55zzzzzzz,7,0 ->
55xxxxxxx
Jul 25 23:22:31 localhost kernel: isdn_net: call from 55zzzzzzz -> 0
55xxxxxxx ignored
Jul 25 23:22:31 localhost kernel: isdn_tty: call from 55zzzzzzz ->
55xxxxxxx ignored
Jul 25 23:27:02 localhost kernel: isdn_net: call from 55zzzzzzz,7,0 ->
55xxxxxxx
Jul 25 23:27:02 localhost kernel: isdn_net: call from 55zzzzzzz -> 0
55xxxxxxx ignored
Jul 25 23:27:02 localhost kernel: isdn_tty: call from 55zzzzzzz ->
55xxxxxxx ignored

# cat /etc/ppp/ioptions
/dev/ippp0
proxyarp
192.168.0.1:192.168.0.2
useifip
-vj
-vjccomp
-ac
-pc
-bsdcomp
noccp
mru 1524
mtu 1500
+pap
login
auth
ms-dns 192.168.0.1
domain prova
netmask 255.255.255.255

# isdnctrl list ippp0

Current setup of interface 'ippp0':

EAZ/MSN:                055xxxxxxx
Phone number(s):
  Outgoing:             702yyyyyyy
  Incoming:             055zzzzzzz 55zzzzzzz
Dial mode:              auto
Secure:                 off
Callback:               off
Reject before Callback: on
Callback-delay:         5
Dialmax:                3
Hangup-Timeout:         300
Incoming-Hangup:        off
ChargeHangup:           off
Charge-Units:           0
Charge-Interval:        0
Layer-2-Protocol:       hdlc
Layer-3-Protocol:       trans
Encapsulation:          syncppp
Slave Interface:        None
Slave delay:            10
Slave trigger:          6000 cps
Master Interface:       None
Pre-Bound to:           Nothing
PPP-Bound to:           0

# ifconfig ippp0

ippp0     Link encap:Point-to-Point Protocol
          inet addr:192.168.0.1  P-t-P:192.168.0.2  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)

# cat /etc/isdn/isdnctrl.conf

 [ISDNLOG]
    LOGFILE = /var/log/isdn.log
    ILABEL = %b %e %T %ICall to tei %t from %N2 on %n2
    OLABEL = %b %e %T %Itei %t calling %N2 with %n2
    REPFMTWWW = "%X %D %17.17H %T %-17.17F %-20.20l SI: %S %9u %U %I %O"
    REPFMTSHORT = "%X%D %8.8H %T %-14.14F%U%I %O"
    REPFMT = "  %X %D %15.15H %T %-15.15F %7u %U %I %O"
    CHARGEMAX = 1000.00


 [ISDNCTRL]
    INTERFACES = {
                [INTERFACE]
                NAME = ippp0
                EAZ = 055xxxxxxx
                PHONE_OUT = 702yyyyyyy
                SECURE = off
                DIALMODE = auto
                DIALMAX = 3
                HUPTIMEOUT = 300
                IHUP = off
                CHARGEHUP = off
                L2_PROT = hdlc
                L3_PROT = trans
                ENCAP = syncppp
                PPPBIND = 0
              }

Saluti
Stefano





Maggiori informazioni sulla lista flug-tech