I was trying to test a patch for ppp that is being discussed in tech@
(Subject: Re: ppp(8) cleanup/fix) and blindly copied the following from
the FAQ (faq6.html)
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cua01
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
and changed the items below with the number for my ISP
myisp:
set phone 1234567
set authname ppp
set authkey ppp
set login
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
Without white spaces in front of the set commands, I got errors such as:
$ ppp -ddial mts
Warning: Bad label in /etc/ppp/ppp.conf (line 3) - missing colon
Warning: Bad label in /etc/ppp/ppp.conf (line 4) - missing colon
Warning: Bad label in /etc/ppp/ppp.conf (line 5) - missing colon
Warning: Bad label in /etc/ppp/ppp.conf (line 6) - missing colon
Working in ddial mode
With white space, the errors were not there and it worked. Just in case
someone else has this problem . . .
Vijay
vsan...@foretell.ca