Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49861 - net-dialup/ppp: /etc/init.d/net.ppp0 does not handle INITSTRING correctly
Summary: net-dialup/ppp: /etc/init.d/net.ppp0 does not handle INITSTRING correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 65513
  Show dependency tree
 
Reported: 2004-05-03 10:03 UTC by Alin Năstac (RETIRED)
Modified: 2004-09-27 04:23 UTC (History)
0 users

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


Attachments
patch against net.ppp0 (net.ppp0.patch,373 bytes, patch)
2004-09-02 23:05 UTC, Alin Năstac (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2004-05-03 10:03:34 UTC
There is a small mistake in /etc/init.d/net.ppp0 related to creation of /etc/ppp/chat-* file. I guess the template of chat file got modified.

Old line: 
   sed -e "9i\\'OK\' \'${INITSTRING}\'"
Correct line:
   sed -e "12i\\'OK\' \'${INITSTRING}\'"

Maybe it's best to put something like:
   'OK' 'AT$INITSTRING'
in template chat file.

Reproducible: Always
Steps to Reproduce:
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-08-29 12:01:58 UTC
does anyone care to close this bug? 
it has a solution in it, folks! 
Comment 2 Cory Visi (RETIRED) gentoo-dev 2004-08-29 21:03:37 UTC
Hi guys... Sorry for the delay in this bug. The net-dialup team was a little strained. I will be gathering up all the ppp bugs and features and rolling out a new release soon. Thank you for your patience and for reporting this bug!
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-08-29 22:25:30 UTC
if you are a little understaffed, I'm offering to do the job; I could donate 5-8 hours/week for this extraordinar distribution.
I'm a proffesional software developer and I have significant gentoo experience - about 1.5 years.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2004-09-02 23:05:11 UTC
Created attachment 38798 [details, diff]
patch against net.ppp0

the patch is made against net.ppp0 from ppp-2.4.2-r2 ebuild.
with this script, INITSTRING line is inserted just above $NUMBER line.
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-27 04:23:49 UTC
fixed.