> I've to install an On-Demand connection between 2 networks using 
> an analog connection, I've decided to install diald on our Linux used 
> as TS and route a little network though ppp, the other end uses 
> mgetty to start PPP defaultrouted to the TS (ts<->cisco<->internet).
> The Question, are there problems if I install diald on the other end 
> and mgetty on our TS to have a bidirectional on-demand service? 
> Are there any modem locking problem and things like that?
> 
> INTERNET<---> TS/DIALD----->LINUX/MGETTY
> INTERNET<---->TS/MGETTY<---LINUX/DIALD<-----Workstation
> 

I have half an answer!

I've run mgetty and diald together on one Linux Box without problems.

The setup for incoming calls needs to send a connect message to the
diald fifo, and have diald start pppd rather than starting pppd
directly.  I did this by modifying /etc/login.conf (read by mgetty),
and having the 'hub' (in our case) login run a script that checks the
password and then sends a message to the diald fifo.

You could also do this with a special account that did nothing but
send a message to the diald fifo.

As for locking, just make sure that both diald and mgetty agree on
where the lock files are and the format of the lock files.

There is more detail in the diald documentation.

Note: As I said, this is a half answer.  In our case the other end is
a Cisco RAS.  I haven't set up 2 identical linux systems back to back
yet.

One more hint:  strace is your friend.

-- cary


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

Reply via email to