On Tue, 21 Sep 1999, Smith, Leroy (NICL) wrote:

>       I don't know if this has been covered, but I'm trying to run diald
> with ISDN (syncPPP). I've got (finally!!), ISDN working with RH6.0 + 2.2.11
> upgrade and isdn4linux - the 'isdnctrl dial ippp0' command is my current way
> of bringing the link up.

That works. Or can be made to. Basically you want the interface
in manual mode and use "isdnctrl dial" to connect and "isdnctrl hangup"
to disconnect.

> Using dialmode=auto works ok but whenever I boot my
> machine, named asks for the link - I know that diald stops this.

Actually it doesn't - unless you get *seriously* fancy with
your filter rules or disable *all* external DNS queries.
The only way to stop this sensibly is configure /etc/hosts
or you name server correctly.

>       1. Will diald run up ipppd or do I do this at boot time on a once
> only basis?

Diald doesn't start ipppd itself. You could do it that way
but if you want to support two way connections you have to
have ipppd running continuously (and have ipppd's ip-up
script send connect messages to diald's control fifo).

>       2. Is there anything I should watch out for - like special
> addroute/delroute/connect/disconnect scripts?

Not really.

>       3. Can I simply use 'connect "isdnctrl dial ippp0"' in the
> diald.conf file?(It couldn't be that simple!)

It should be :-). Personally I use a script that sets
phone numbers etc. on the interface, does a dial, then
loops waiting for addresses to appear on the interface.
This is because my ISDN machine (actually a customer's)
is handling many possible connections (lot's of dialds :-) ).
The observant will notice that ISDN has no blocking dial
and if you simply tell it to dial and wait for the interface
to come up it can be difficult to know whether the dialled
link came up or whether the dial quietly timed out and the
ISDN interface answered some incoming call...

> I'm sorry for asking all of these before going to town on diald, but I've
> just spend 8 weeks getting ISDN working with RH6.0 (I should have stopped
> with RH5.2!!) and my investigative nature is at an all time low!!

Yeah :-). Basically with an ethernet-like interface like
ISDN which is already configured the minimum diald config should 
be little more than:

mode dev
device ippp0
connect "isdnctrl dial ippp0"
disconnect "isdnctrl hangup ippp0"
local a.b.c.d
remote e.f.g.h

                                Mike

-- 
.----------------------------------------------------------------------.
| Mike Jagdis                   | Internet: [EMAIL PROTECTED]  |
| 280, Silverdale Road, Earley, | Voice:    +44 118 926 6996           |
| Reading RG6 7NU ENGLAND       | Work:     +44 118 989 0403           |
`----------------------------------------------------------------------'


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to