Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 1998 00:28:31 +0100 (MET)
From:      Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
To:        Eric.Feillant@EUnet-Bretagne.fr (Eric Feillant)
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: ISDN4BSD & SPPP
Message-ID:  <199803102328.AAA00448@rvc1.informatik.ba-stuttgart.de>
In-Reply-To: <35058482.5BE3A49A@EUnet-Bretagne.fr> from Eric Feillant at "Mar 10, 98 07:20:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
> Do someone have some cool and simple scripts to use ISDN4BSD & SPPP ?
> I mean:

Maybe not cool, but simple, this is for pap, chap should work similarly:

ifconfig isppp0 link1 0.0.0.0 lf netmask 0xffffff00 debug
ifconfig isppp0 down
spppcontrol isppp0 myauthproto=pap \
    myauthname=helbig myauthsecret=XXXXXXX
ifconfig isppp0 up

And this is the corresponding entry in /etc/isdn/isdnd.rc

entry
name                    = lf
usrdevicename           = isppp
usrdeviceunit           = 0
isdncontroller          = 0
isdnchannel             = -1
local-phone-incoming    = XXXXXX
remote-phone-incoming   = XXXXXXXXX
local-phone-dialout     = XXXXXXXXXXX
remote-phone-dialout    = 0298xxxxxxxx
remdial-handling        = first
dialin-reaction         = accept
dialout-type            = normal
b1protocol              = hdlc
idletime-incoming       = 240
idletime-outgoing       = 30
ratetype                = 0
unitlength              = 90
unitlengthsrc           = rate
dialretries             = 3
dialrandincr            = on
recoverytime            = 25

> I just want to call my ISP , i know the telephone number 0298xxxxxx, my
> chap username and password,
> the ip address of the remote access server but not my (dynamic ip

You don't need to configure either ip address. All will be done
automatically.

> adressing) and i know that i can
> call him on One B channel or 2 for 128 Kbps.

Channel bundeling (128 kbps) is not (yet) supported by i4b.

Wolfgang

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?199803102328.AAA00448>