LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-30-2004, 12:19 AM   #1
GD_19
LQ Newbie
 
Registered: Aug 2003
Distribution: Gentoo
Posts: 28

Rep: Reputation: 15
Need help handling a dial-in event


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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP w/: Script for EVENT Handling!!! vitoal18t Programming 2 06-24-2009 02:36 PM
pygtk event handling pita Programming 1 10-20-2005 01:48 PM
VERY strange C# event handling problem, please read. jwn7 Programming 2 10-20-2005 10:28 AM
Has Samba some event handling possibility? vmicho Linux - Networking 1 11-03-2003 01:44 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration