Hi!
Here's the idea:
I've got a ACM modem configured at /dev/usb/ttyACM0. This device is actually an ISDN terminator, ISDN modem (both USB and RS232), and provides interfaces for POTS and S-bus (ISDN) devices (
http://netmod.intracom.gr).
It's pretty problematic a piece of hardware but after years of tweaking, it seems to be finally working (kinda).
What this post is about however, is that I want to take advantage of a certain characteristic of this device: it will only send a "dial-in signal" to the PC it's connected to if it detects an incoming data call from another ISDN modem (or so I have understood, by reading the manual...)
Here's what I want to do: When such a call is detected, and the PC connected to the modem receives the dial-in event (which is running linux of course), I want the linux box to hang the connection (reject the incoming call) and initiate a script to connect to the internet.
Thus I will be able to ssh it from another computer already connected to the internet. This is preferred because in my country calls to ISPs are charged less than normal calls. And in cases of long distance calls this is quite useful.
Now I have already kppp set up under X. The problem is I know nothing about pppd. Could you please help me configure the PC so that it detects the incoming connection, rejects it and invokes this odd kind of dial-on-demand procedure?
I hope I'll get ADSL soon and this will no longer be an issue :-)
Thanks in advance,
GD