PPPd on rtems 4.5 beta1c

suvrat gupta suvrat at utstar.com
Thu Apr 27 20:09:41 UTC 2000


Hi,
I am trying to use PPPD and the modem_example( by  Tomasz) on rtems 4.5
beta1c. I have couple of problems
1. How do I compile the daemon(it seems to be the part of EXTRA_FILES
distribution which can be installed via make distdir ).
2. How do I configure it?
I tried to compile the code directly(compiling everything as part of
libnetworking/pppd library) but had to extensively path it up in terms of
missing global variables, header files and some functions. Also pppdmain()
, the main entry function for the daemon seems to be broken, it waits
forever in the following loop
 while (1) {
   rtems_event_set events;
   int status;
   rtems_event_receive(RTEMS_EVENT_1, RTEMS_WAIT | RTEMS_EVENT_ANY,
RTEMS_NO_TIMEOUT, &events);
  }
This loop is called even before the modem port is openend and set as PPP.
Am I on the right track here? Is anybody using the PPPd? Anyone been
advanterous enough to try porting user PPP(and the tunnel intf)? BTW I
have a working routed daemon on rtems if anyone is interested).
thanks
-suvrat








More information about the users mailing list