Main Page | Report this Page
Linux Forum Index  »  Linux Development - Applications  »  supporting pppos along with incoming call...
Page 1 of 1    

supporting pppos along with incoming call...

Author Message
zix...
Posted: Mon Sep 07, 2009 9:29 pm
Guest
Hi Everybody,
I am supporting pppos for our target box. As we
have 1 single serial for console and pppos, so I am blocking getty
in /
etc/inittab. Now, I have to support the "incoming call" functionality.
Can anybody give some
idea how to go about this? I am wondering if I run mgetty, can ppp
over
serial run? How can both the things be supported simultaneously?I
thing its possible, but now idea how to go about it. Any help wil be
great.

I have already posted in this in comp.os.linux.system, sorry for cross
posting Sad. just wondering if there are some folks here who can chip
in...sorry for the inconveneince though :-(

Thanks a lot for your time,
zix
 
Bill Marcum...
Posted: Tue Sep 08, 2009 1:06 pm
Guest
On 2009-09-08, zix <zixenus at (no spam) gmail.com> wrote:
Quote:
Hi Everybody,
I am supporting pppos for our target box. As we
have 1 single serial for console and pppos, so I am blocking getty
in /
etc/inittab. Now, I have to support the "incoming call" functionality.
Can anybody give some
idea how to go about this? I am wondering if I run mgetty, can ppp
over
serial run? How can both the things be supported simultaneously?I
thing its possible, but now idea how to go about it. Any help wil be
great.

Mgetty is made to support incoming ppp and fax calls. Use the command

"info mgetty" for information.
 
zix...
Posted: Wed Sep 09, 2009 8:00 pm
Guest
Quote:
Mgetty is made to support incoming ppp and fax calls. Use the command
"info mgetty" for information.
/*sorry for crossposting, but just hope if anybody here knows the

answer*/

well, some points are unclear to me. You
are respawning the mgetty over the only serial port, so how can pppos
for internet work over the same? I think ppp when runs needs the
exclusive access over serial, but if mgetty runs over the same
everytime, how do i run ppp over serial for internet?
lemme say it in a bit detail...
(1) First I get a call, so as mgetty is running it calls ppp and let
the process continue...then I hangup, can i now run pppd client over
serial to connect my isp and connect to the internet(but I guess
mgetty will stil be running as it wil be respawned in /etc.inittab)?
(2) If (1) is possible, then the reverse is also possible(first the
internet, then closing connection, then receive a call). But can I do
that in middle? I mean can I receive any call while in the middle
of surfing? or start the internet connection while I am also connected
over the phone line?

Please let me know in a bit detail....
Thanks and Regards,
zix
 
Bill Marcum...
Posted: Wed Sep 09, 2009 9:36 pm
Guest
On 2009-09-10, zix <zixenus at (no spam) gmail.com> wrote:
Quote:
Mgetty is made to support incoming ppp and fax calls. Use the command
"info mgetty" for information.
/*sorry for crossposting, but just hope if anybody here knows the
answer*/

well, some points are unclear to me. You
are respawning the mgetty over the only serial port, so how can pppos
for internet work over the same? I think ppp when runs needs the
exclusive access over serial, but if mgetty runs over the same
everytime, how do i run ppp over serial for internet?

Mgetty can use a lock file for the serial port. pppd has to be told to use
a lock file.
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Tue Dec 01, 2009 12:47 am