my god , I have tried to solve this problem for 2 days!
I just want to know, can I use IPC in pppd and pppoe-server?
I put some code in both pppoe-server and pppd , let them communicate with each other. using shared memory. shmget functions etc.
But pppoe-server can't get the right data that pppd has write to the shared memory. I have test my lib functions and it just work right. So , why ? is it chance that I can't use IPC in pppd? my god ,I have worked on this problem for 2 days :(
I know nothing that would prevent IPC from working between a pppd plugin and another program. IPC shmget technique needs to have the same keys, and the same process UID and GID. Check that. Use ipcs to view the IPC shared memory segments created.
Signature · 3 lines
James Cameron http://quozl.netrek.org/ HP Open Source, Volunteer http://opensource.hp.com/ PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/