chat(8) doesn't parse special strings correctly
Michael Schuh
michael.schuh at gmail.com
Wed Dec 6 18:30:04 PST 2006
Hello,
i update my ppp.conf to
set speed 115200
#set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT\
OK-AT-OK AT%C3M0E1Q0%G1%B56000 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set dial "REPORT CONNECT ABORT BUSY ABORT NO\\sCARRIER TIMEOUT
5 \"\" AT\
OK-AT-OK AT%C3M0E1Q0%G1%B56000 OK \\dATDT\\T TIMEOUT 40 CONNECT"
man say's this is the right way to log any answer after CONNECT like
46666/LANP/V.42bis.....
But with the above configuration chat says:
Dec 7 03:20:52 brenner ppp[2691]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 7 03:20:52 brenner ppp[2691]: tun0: Chat: Expect(30): REPORT
Dec 7 03:20:56 brenner ppp[2691]: tun0: Phase: Signal 15, terminate.
after digging in the source it seem's to me that chat doesn't really
parse the special string "REPORT" and "ABORT" correctly, but i am not
really sure.
can anyone shed me some light on this or give me hints on this problem?
google tells me not the right informations.......
thanks
cheers
michael
More information about the freebsd-stable
mailing list