OK heres my recepie for dial on demand, works great, doesnt seem to suffer from loseing first lookup ...
Debian 3.0, pppd Oh what a world of trouble !!!!! First kill the default diald demon for /etc/rc2.d to /etc/rc5.d mv S20diald _S20diald setup pppd with pppconfig BEWARE, the default connection for everything is provider, use it. pppconfig also sometimes screws up, delete provider and start again. NTL uses chat, yes chat authentication !!! pppd options are held in /etc/ppp/peers/provider the chat script is held in /etc/chatscripts/provider The pppd options needed are ... # This optionfile was generated by pppconfig 2.0.10. # # hide-password noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/provider" debug /dev/modem 115200 defaultroute noipdefault user XXXX.XXXX ipparam provider demand usepeerdns idle 240 holdoff 3 And the chat script is .... # This chatfile was generated by pppconfig 2.0.10. # Please do not delete any of the comments. Pppconfig needs them. # # ispauth PAP # abortstring ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED # modeminit '' ATZ # ispnumber OK-AT-OK ATDT126308005190100 # ispconnect CONNECT \d\c # prelogin # ispname # isppassword # postlogin # end of pppconfig stuff To start the dial on demand link pon To stop the dial on demand link poff Ensure authorised users are entered in pppconfig. Put pon in ~/.kde/Autostart for all users who want it. GOOD LUCK dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]