Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33290 - pppd config poorly suited to leased line setup
Summary: pppd config poorly suited to leased line setup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 02:08 UTC by Mike Morris
Modified: 2003-12-22 07:15 UTC (History)
2 users (show)

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


Attachments
Patch against /etc/init.d/net.ppp0 (net.ppp0.patch,77 bytes, patch)
2003-11-12 02:09 UTC, Mike Morris
Details | Diff
Patch (diff -e) against /etc/conf.d/net.ppp0 (net.ppp0.conf.patch,98 bytes, patch)
2003-11-12 02:13 UTC, Mike Morris
Details | Diff
Same fix; diff -u (net.ppp0.diff-u,344 bytes, patch)
2003-11-16 22:19 UTC, Mike Morris
Details | Diff
Proposed patch to /etc/init.d/net.ppp0 and /etc/conf.d/net.ppp0 (patch,1.23 KB, patch)
2003-12-10 23:03 UTC, Mike Morris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Morris 2003-11-12 02:08:47 UTC
Configuration in /etc/conf.d/net.ppp0 is not well suited to leased-line pppd
setups, since the script in /etc/init.d/net.ppp0 assumes that there must be a
phone number to dial.  All that's needed is a simple change to the net.ppp0 script.

Reproducible: Always
Steps to Reproduce:
Comment 1 Mike Morris 2003-11-12 02:09:56 UTC
Created attachment 20635 [details, diff]
Patch against /etc/init.d/net.ppp0
Comment 2 Mike Morris 2003-11-12 02:13:31 UTC
Created attachment 20636 [details, diff]
Patch (diff -e) against /etc/conf.d/net.ppp0

Fixes comment in config file to document "no ISP phone number" option for
leased-line operation.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-16 15:04:57 UTC
Unified diff (diff -u) ?
Comment 4 Mike Morris 2003-11-16 22:19:40 UTC
Created attachment 20848 [details, diff]
Same fix; diff -u

Thanks for advice on the preferred format (of which I was ignorant).
Comment 5 Steve Arnold archtester gentoo-dev 2003-11-28 17:03:41 UTC
Mike:

If you put both changes into one duff -u patch and attach it to this bug report, then I'll update the ppp ebuild.
Comment 6 Mike Morris 2003-12-10 23:03:02 UTC
Created attachment 22018 [details, diff]
Proposed patch to /etc/init.d/net.ppp0 and /etc/conf.d/net.ppp0

Hope I got this patch right...
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-22 07:15:16 UTC
fixed in ppp-2.4.2_beta3-r1 :)