How to make a ppp interface?

I am using EPC-R3720 + Yocto + AIW-344.

How to make a ppp interface (e.g. ppp0) ?
Use pap for ppp.
And I would also like to know how to get a ppp connection at startup (before login) automaticaly.