I had this problem today. Solved it by calling tcpip_init() before calling pppos_example_init():
tcpip_init( NULL, NULL ); pppos_example_init();