Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62969 - ppp-2.4.1-r14.ebuild (Update)
Summary: ppp-2.4.1-r14.ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 65513
  Show dependency tree
 
Reported: 2004-09-05 22:23 UTC by Sverre
Modified: 2004-09-27 04:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ppp-2.4.1-r14.ebuild (Update) (ppp-2.4.1-r15.ebuild,4.93 KB, text/plain)
2004-09-05 22:28 UTC, Sverre
Details
ppp-dhcpc.tgz (ppp-dhcpc.tgz,32.71 KB, application/x-gzip)
2004-09-05 22:29 UTC, Sverre
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :)