I'm having a terrible time with getting dial on demand working.
I can't even get it to dial... Can anyone provide help, and before
someone say's it - YES, I have read the man pages
Here's the ppp.conf file:
###############################################################
# ppp.conf file
###############################################################
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cua00
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0
OK \\dATDT\\T TIMEOUT 40 CONNECT"
set redial 3 10
enable dns
myisp:
set phone 12345678
set authname username
set authkey password
# Set the upstream machine as the defaultroute
add default HISADDR
===================================================
Running:
ppp -ddial myisp
Generates the error:
Sep 5 11:50:30 gateway ppp[22975]: Warning: No available tunnel devices
found (No such file or directory)
I recompiled the kernel with the addition of:
pseudo-device tun 4
The modem is on com1. What I'm trying to do is have the modem dial
on demand, and stay up for as long as possible. There is a NIC installed,
but I want the modem to be the gateway.
Terry