Find attached a new ebuild for ppp-2.4.1-r14 (which would make it ppp-2.4.1-r15) and required files (/usr/portage/net-dialup/ppp/files/ppp-dhcpc.tgz) that adds a USE flag "dhcp" and installs the ppp-dhcp plugin (see http://www.netservers.co.uk/gpl/) to ppp if the dhcp USE flag is present. The ppp-dhcp plugin acts as a dhcp relay to assign ppp connections ip addresses from a local or remote dhcp server. Add these lines to the ppp options file (e.g. /etc/ppp/options.l2tp): plugin dhcpc.so dhcp-interface lo (replace with remote interface if not local) dhcp-relay-address 192.168.0.1 (replace with ppp server's ip) Note the limitation that while the plugin claims to use the ppp authentication details as the dhcp client-id, my experience has found that no client-id is sent at all)
Created attachment 39025 [details] ppp-2.4.1-r14.ebuild (Update)
Created attachment 39027 [details] ppp-dhcpc.tgz Can also be downloaded from http://www.netservers.co.uk/gpl/
can you please make this patch for the latest ppp version
you got a lucky day, added to ppp-2.4.2-r5 :)