Hello

I wish to connect two ethernet LANs together with a PPP dialup connection
between the two using some kind of callback implementation. I will need
some help with the connect scripts please.

In the one direction (where Machine A calls Machine B), a simple
dial-on-demand implementation will be fine, and I think I have enough
information to set this up on my own.

In the other direction (where Machine B calls Machine A), I don't
necessarily require dial on demand (I could dial manually), the main
criterion is that I want Machine A to incur the cost of the call.

So Machine A is the usual diald implementation, and Machine B is connected
to a modem which needs to reside in the auto-answer mode, because its usual
state is to expect calls from Machine A. Machine A will close each
connection whenever network traffic is idle, and reestablish the connection
whenever there is network traffic from A to B. No problem so far (I don't
think).

However, on the odd occasion when B needs to connect to A, it must dial A
(using the same physical line and serial devices) and A must recognize from
the ringing of the phone line that B is trying to connect, and establish a
connection to B in the usual way.

In the simplest scenario, B will call A whenever the phone rings. If I can
get that working, I will be very happy with my progress.

The ideal setup would be to somehow encode the rings, for example the phone
rings 3 times and hangs up, then after at least 30 seconds but not more
than 60 seconds, the phone rings another twice and hangs up. Machine A
would need some sort of daemon process listening all the time to the modem
port and counting  the number of rings and timing the pauses between the
calls.

This is where my imagination has exceeded my skill.

Any takers / suggestions anyone?

Many thanks in advance.

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

Reply via email to