Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 62969

Summary: ppp-2.4.1-r14.ebuild (Update)
Product: Gentoo Linux Reporter: Sverre <gentoobugs>
Component: New packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: enhancement CC: gentoobugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 65513    
Attachments: ppp-2.4.1-r14.ebuild (Update)
ppp-dhcpc.tgz

Description Sverre 2004-09-05 22:23:51 UTC
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)
Comment 1 Sverre 2004-09-05 22:28:10 UTC
Created attachment 39025 [details]
ppp-2.4.1-r14.ebuild (Update)
Comment 2 Sverre 2004-09-05 22:29:41 UTC
Created attachment 39027 [details]
ppp-dhcpc.tgz

Can also be downloaded from http://www.netservers.co.uk/gpl/
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-27 03:23:52 UTC
can you please make this patch for the latest ppp version
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-27 04:51:34 UTC
you got a lucky day, added to ppp-2.4.2-r5 :)