Many thanks for your code at first.
I try it on my Linux.When it began waitting for character
">",it stopped.So Not enter PPP mode.
My ISP just need username and password.Does it need extra
actions to launch remote PPP between sending password and launching local pppd?