PPPd on rtems 4.5 beta1c
Thomas Doerfler
Thomas.Doerfler at imd-systems.de
Thu Apr 27 20:28:12 UTC 2000
Hi,
I reworked the sources from Tomasz and integrated them into my
current project. I plan to feed them back to the RTEMS project but
some cleanups are still outstanding.
Here is what I did:
- added line discipline support for termios
- added task-driven serial I/O model to termios
- split the hardware-independent parts from Tomasz's modem driver
apart, so any serial driver (based on task-driven termios) can handle
PPP
- added some makefile support
Currently I still have one problem in task-driven termios concerning
multiple close/open sequences on the same device. I think this is no
big bug, but I had no time to fix it up to now.
I was glad to start with Tomasz's sources, but some parts were a bit
confusing...
I had no big needs for customization, my system is working as a
client directly connected to a WindowsNT Server :-(( so there were no
big dial-in scripts etc.
Bye,
Thomas.
> 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
>
>
>
>
--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Herbststrasse 8
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
More information about the users
mailing list