Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2000 15:04:21 +0200
From:      Hanspeter Roth Bsag <roth@bsag.ch>
To:        "Roberto Nunnari, AGIE" <roberto.Nunnari@agie.ch>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: configuring Ppp
Message-ID:  <20000908150421.B13663@bs11.bsag.ch>
In-Reply-To: <39B8E3B4.D453471A@agie.ch>; from roberto.Nunnari@agie.ch on Fri, Sep 08, 2000 at 02:03:48PM %2B0100
References:  <20000907141226.A32313@bs11.bsag.ch> <39B8A7E2.2DA778B6@agie.ch> <20000908111530.A11401@bs11.bsag.ch> <39B8E3B4.D453471A@agie.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 08, 2000 at 02:03:48PM +0100, Roberto Nunnari, AGIE wrote:
> Hi.
> 
> Hanspeter Roth Bsag wrote:
> > 
> > On Fri, Sep 08, 2000 at 09:48:34AM +0100, Roberto Nunnari, AGIE wrote:
> > > Hi Hanspeter.
> > >
> > > I had a similar problem... It turned out it was my fault.
> > > I missconfigured isdnd.rc with a wrong unit number.
> > 
> > Which unit number do you mean? The `userdeviceunit'?
> > 
> 
> Yes, but reading again your first post, I see you already set
> that to 0, which should be OK.
> 
> So maybe, you should set ppp to a longer carrier detect time.
> 
> > (Now I'm experimenting with synchronous PPP.)
> > I had set to 0 and the userdeivcename was `rbch'.
> > If ppp.conf has `set device /dev/i4brbch0 /dev/i4brbch1' this
> > should match souldn't it?
> 
> Yes. That should do. But if I recall correctly, sppp can use
> only one B channel at a time. For doing multilink you want ppp.
> If you use only one channel, the /dev/i4brbch1 is useless.
> Also, if you have `set device /dev/i4brbch0 /dev/i4brbch1'
> you should add a second entry in isdnd.rc with `userdeviceunit=1'
> 
> Maybe that's the cause 'no carrier' error you have!
> 
> Then, to enable multilink ppp you should then add something like:
>             set mrru 1500
>             clone 1,2,3
>             link deflink remove
>             link * set mode auto
> 
> in your ppp.conf

Ok. I've setup isdnd.rc and ppp.conf as you sujested.
I just ran ppp in -interactive mode and dialed mannually.
The carrier timeout is 40 seconds which is plenty for ISDN I think.
I got some trace output from ppp while I got non from isdnd.
(Isdnd is just reporting incoming calls.)

-Hanspeter

++
ppp ON saturn> dial
tun0: Timer: Select returns 1
tun0: Command: /dev/tty: dial
tun0: Phase: bundle: Establish
tun0: Phase: 1: closed -> opening
tun0: Timer: tun: fdset(r) 3
tun0: ID0: 0 = uu_lock("i4brbch0")
tun0: ID0: 2 = open("/dev/i4brbch0", 6)
tun0: Debug: 1: Opened /dev/i4brbch0 (i4b version 0.95.0)
tun0: ID0: 0x2821e9a0 = fopen("/var/run/i4brbch0.if", "w")
tun0: Timer: timer_Start: Inserting physical throughput timer[0x80b2048]
tun0: Phase: 1: Connected!
tun0: Phase: 1: opening -> dial
tun0: Chat: 1: Dial attempt 1 of 1
tun0: Phase: 1: dial -> carrier
tun0: Debug: 1: Using i4b_Timeout [0x8077578]
tun0: Timer: timer_Start: Inserting i4b CD timer[0x80a6040] before physical thro
ughput timer[0x80b2048], delta = 10
tun0: Debug: Waiting for carrier
tun0: Timer: prompt /dev/tty: fdset(r) 0
ppp ON saturn> tun0: Timer: Select returns -1
tun0: Timer: ---- Begin of Timer Service List---
tun0: Timer: i4b CD timer[0x80a6040]: freq = 1.00s, next = 0.00s, state = runnin
g
tun0: Timer: physical throughput timer[0x80b2048]: freq = 1.00s, next = 0.00s, s
tate = running
tun0: Timer: ---- End of Timer Service List ---
tun0: Timer: timer_Start: Inserting physical throughput timer[0x80b2048]
tun0: Timer: timer_Start: Inserting i4b CD timer[0x80a6040] before physical thro
ughput timer[0x80b2048], delta = 10
tun0: Debug: 1: /dev/i4brbch0: Still no carrier (1/40)
tun0: Timer: tun: fdset(r) 3
tun0: Debug: Waiting for carrier
tun0: Timer: prompt /dev/tty: fdset(r) 0
tun0: Timer: Select returns -1
tun0: Timer: ---- Begin of Timer Service List---
tun0: Timer: i4b CD timer[0x80a6040]: freq = 1.00s, next = 0.00s, state = runnin
g
tun0: Timer: physical throughput timer[0x80b2048]: freq = 1.00s, next = 0.00s, s
tate = running
tun0: Timer: ---- End of Timer Service List ---
tun0: Timer: timer_Start: Inserting physical throughput timer[0x80b2048]
tun0: Timer: timer_Start: Inserting i4b CD timer[0x80a6040] before physical thro
ughput timer[0x80b2048], delta = 10
tun0: Debug: 1: /dev/i4brbch0: Still no carrier (2/40)


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?20000908150421.B13663>