Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 1998 17:11:16 +0100 (CET)
From:      Frederique Rijsdijk <free@euronet.nl>
To:        freebsd-isdn@FreeBSD.ORG
Subject:   ISDN Dialback on a PM2
Message-ID:  <199812231611.RAA25588@support.euronet.nl>

next in thread | raw e-mail | index | archive | help
Hi,

I was wondering if anyone could help me a hand. I'm trying to set up a
dialback configuration with i4b.

As of now i'm dialing into a PM2 using PAP, wich disconnect me after
authentication, and then die PM2 calls me back, without any authentication;
giving me HDLC/network directly.

The problem here is that when the PM2 disconnects me and dials back, i4b
starts dialing into the PM2 again at almost the same time, which results in
something like this:

Dec 23 15:47:08 p100 /kernel: isppp0: phase establish
Dec 23 15:47:11 p100 /kernel: isppp0: phase authenticate
Dec 23 15:47:11 p100 /kernel: isppp0: phase network
Dec 23 15:47:11 p100 /kernel: isppp0: phase terminate
Dec 23 15:47:11 p100 /kernel: isppp0: phase dead
Dec 23 15:47:12 p100 /kernel: isppp0: phase establish
Dec 23 15:47:14 p100 /kernel: isppp0: phase authenticate
Dec 23 15:47:14 p100 /kernel: isppp0: phase network
Dec 23 15:47:14 p100 /kernel: isppp0: phase terminate

.. and so on. Sometimes it holds the network, and i have a dialback. But
most of the time it just keeps dialing/disconnecting/dialing/and-so-on

At time of dialing in, i have done:

- spppcontrol -v isppp0 authproto=pap myauthproto=pap hisauthproto=none \
  myauthname=mylogin myauthsecret='mypwd' myauthkey='mypwd' \
  hisauthsecret=none hisauthkey=none 

- /sbin/ifconfig isppp0 link1
  /sbin/ifconfig isppp0 194.134.1.136 194.134.122.40 netmask 0xffffff00
  /sbin/ifconfig isppp0 down
  /sbin/route add default 194.134.122.40

- isdnd.rc:

  name                    = Dedicated
  usrdevicename           = isppp
  usrdeviceunit           = 0
  isdncontroller          = 0
  isdnchannel             = -1
  local-phone-incoming    = <mynumber>
  remote-phone-incoming   = <hisnumber>
  local-phone-dialout     = <mynumber>
  remote-phone-dialout    = <hisnumber>
  remdial-handling        = first
  dialin-reaction         = accept
  dialout-type            = calledback
  calledbackwait          = 60
  b1protocol              = hdlc
  idletime-incoming       = 300
  idletime-outgoing       = 20
  # ratetype              = 0
  # unitlength            = 0
  # unitlengthsrc         = none
  dialretries             = 0
  dialrandincr            = on
  recoverytime            = 60
  # usedown               = on
  # downtries             = 3
  # downtime              = 15

As you can see here i've set the dialretries to 0, but still it keeps on
dialing after the initial dail-in/disconnect.

Can someone tell me what i'm doing wrong here, or point me into the right
direction, info, URL's, anything... i'm stuck.

TIA,

Frederique

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812231611.RAA25588>