Alex Barylo on Thu, 14 Dec 2000 16:37:51 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] ppp question


--- Sean Cummins <scummins@e-vend.net> wrote:
> Just thought I'd throw this out there --
> 
> Is there a way to set up a dialup Linux box so you can
> call it from a remote
> location, have it recognize the call somehow (by a
> login or whatever),
> disconnect, and have that Linux box call you back to
> establish a ppp
> session?

I think I read somewhere in man that some package can
dial back. I don't remember when and where I read that
though. Anyway, there is a simple work around:

- have mgetty to listen to your modem line. It is capable
of firing up pppd when it sees request for ppp
connection.

- create /etc/ppp/ip-down that would check user name ($2
if I'm not mistaken) that was used to get connected. If
it is a 'your_dial-back' user name - run
dip/wvdial/cu/any_other_dialer

Then to have the system call you back you have to dial
it, use 'you_dial_back' account and hang up.

mgetty man page says it can determine caller ID so you
may use this when making a decision to call or not to
call.

Alex.


=====
Before the accident, I could not even spell UNIX

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug