Hi, list users, I finally managed to set all things up and get my callback working. For those of you that may be interested, here are the contents of the scripts (one shell script and two chat scripts): ----------------------------------------------------------------- 1. shell script for making the call (named callback) #!/bin/bash echo "Calling to server..." /usr/sbin/pppd /dev/modem 115200 crtscts lock \ noipdefault name "sole" logfile /root/test-path/mylog \ -detach receive-all callback 3304504:sole \ connect '/usr/sbin/chat -v -f /test-path/dialup.chat' echo "Now wait for a callback..." /usr/sbin/pppd -detach user sole lock modem \ crtscts /dev/modem 115200 defaultroute logfile /test-path/mylog \ connect '/usr/sbin/chat -v -f /test-path/callback.chat' & ------------------------------------------------------------------ 2. chat script for dial up (win-nt.chat) ## dialup.chat ## TIMEOUT 4 ABORT BUSY ABORT "NO DIALTONE" ABORT ERROR ABORT "NO CARRIER" '' AT OK 'ATH0' OK 'AT&FZX7E0' OK 'ATV1&D2&C1S0=0&LS38.3=1S84.4=1' OK 'ATS118.3=1S7=60S50=0L2M1&K3&K00' OK 'AT&H3B40' TIMEOUT 30 OK ATDT3303028 CONNECT "" -------------------------------------------------------------------- 3. chat script that waits for a callback (callback.chat) ## callback.chat ## TIMEOUT 120 #ABORT "NO CARRIER" ABORT "BUSY" ABORT "NO DIALTONE" ABORT "ERROR" '' AT OK 'ATS0=0' OK 'AT&FZX7E0' OK 'ATV1&D2&C1S0=0&LS38.3=1S84.4=1' OK 'ATS118.3=1S7=60S50=0L2M1&K3&K00' OK 'AT&H3B40' OK AT RING ATA CONNECT "" --------------------------------------------------------------------- The call is initiated by invoking: ./callback The call is disconnected by: killall pppd --------------------------------------------------------------------- Now, don't be scared by these AT commands - they are specific to my ZyXEL Omni TA 128 (external ISDN adapter). Just put instead the commands that are needed by your modem. Here, "sole" is the user name - there must be an entry for that in your /etc/ppp/chap-secrets (there must be your password, too - see the comments in the chap-secrets file for explanation) Also - 3303028 is an example phone number of access server, while 3304504 is phone number of the client who calls and waits to be called back. Hope this might be helpful. E.g. the outside calls to office LAN are more secure when callback is mandatory, and also the office is charged for the call duration - not the home. Best regards, Radule Soskic