hi, Ray: you are right this time again. My assumption was wrong. It does not use PAP at all. after adding ^M as first line of chat, the prompt for username and password appear. After script authentication, it entered ppp mode directly. Thank you again. (your help always saves me a lot of time.) Weizhong
