mgetty as callback client

Karsten Kreher (kk@pixie.swb.de)
Wed, 1 Sep 1999 05:49:38 GMT


Thomas <radtke@itk.de> wrote:
- is it possible to catch an incomming analog call with mgetty and advise 
- the pppd to authenticate at the caller (which is a server) ?
- The incomming call is a callback, which is released by calling the 
- server before (i can do it f.e. with a phone or minicom).
- BUT, this call doesn't cause a connect, because I send my phonenumber 
- (analog feature of the german telcom) and the call is rejected by the 
- server.
- The server recognize me by the phone number and call me back.
- I have taken a look at the callback feature of the mgetty, but if I 
- understand it right , it's made for an outgoing callback to a client.

easy if you know how o do it, otherwise a bit tricky: use a chat script that is
started by your local pppd:

TIMEOUT 210
ABORT BUSY
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "DELAYED CALL"

REPORT CONNECT

'' ATZ
OK ATL1M1DT(remote modem)
SAY "\n<I> dialling"

PASSWORT (password at remote modem)

SAY "\n<I> waiting for callback"
RING ATA
PASSWORT (again: who am i - if necessary for callbeck scheme)

SAY "\n<I> logging in at server"
login: (login)
Password: (password)

SAY "\n<I> starting remote pppd"
(your prompt at remote server) '/usr/sbin/pppd (remote ip):(local ip)

-- 
Karsten Kreher  kk@pixie.swb.de