After further investigation, it now appears that I may not have to do anything as complicated as pppoe does to make pppd understand hdlc_generic. My current thoughts are to alter hdlc_ppp.c to register with ppp_generic and add fields to struct if_settings (linux/if.h) to retrieve the PPP channel number. A pppd plugin will know how to put the hdlc%d device into PPP mode (I'll copy from sethdlc.c), retrieve the channel number, attach a new instance of /dev/ppp to it, and the rest should just work. :) -----Original Message----- From: Eble, Dan [mailto:DanE@aiinet.com] Sent: Friday, May 30, 2003 9:03 AM To: 'linux-net' Subject: RFC: converting generic HDLC to use pppd I have embarked on a mission to make the generic HDLC driver work with pppd rather than its current syncppp implementation. It appears that the best thing to do would be to use a "PPP over X" socket like PPPoE does, with a new protocol PX_PROTO_HDLC. I will be working with powerpc linux 2.4.21-pre4. If you have requests, advice, or rude words, now is the time... -- Dan Eble <dane@aiinet.com> _____ . | _ |/| Applied Innovation Inc. | |_| | | http://www.aiinet.com/ |__/|_|_| - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html