On Fri, 12 Nov 1999, brem Belguebli wrote:

|But there is still another problem:
|
|After the negociation for the callback, pppd terminates. Then the NAS
|calls back. According that there is no process ( pppd ) that 
|runs over my tty nothing happens. The only way to make it work is to
|manually run pppd /dev/modem, once the modem responded.
|
|So, there must be an option that would avoid pppd to exit after the
|negociation.

There are scripts that can help with callback.  There are two here

http://www.inetport.com/~kite/RAScb.gz

from an old post with a fix for ppp-2.3.5 that is equivalent to the
receive-all option that the current ppp-2.3.10 has.  These were clearly
meant to run pppd twice, perhaps with another script such as

# !/bin/sh
pppd call script1
pppd call script2

where script1 and script2 are in /etc/ppp/peers

There is also a callback script in ppp-2.3.10/scripts of the pppd source
tree that seems not to terminate pppd between connections.  That one looks
like you would need to run pppd with something like

  pppd /dev/ttySx <... other options ...> connect '/etc/ppp/callback'

assuming you put the callback script in /etc/ppp

I've not had to do callback so I can't be more precise, you'll likely have
to experiment a little.

|
|I saw the option receive-all ( didn't understand what it is for ), and i
|tried it, but it's the same.

It's for buggy peers, like Microsoft NT RAS.

---
Clifford Kite                                               Not a guru. (tm)


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to