Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43923 - net.ppp0 "enhancement" to make it work smoothly with eagle-usb
Summary: net.ppp0 "enhancement" to make it work smoothly with eagle-usb
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Dialup Developers
Depends on: 53954
  Show dependency tree
Reported: 2004-03-06 16:19 UTC by Florian Loitsch
Modified: 2005-11-29 09:46 UTC (History)
0 users

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

changes Peer to wildcard ("*") (net.ppp0.diff,448 bytes, patch)
2004-03-06 16:20 UTC, Florian Loitsch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Loitsch 2004-03-06 16:19:04 UTC
the net.ppp0-script of the ppp-package, overwrites the /etc/ppp/chap-secrets file whenever net.ppp0 is executed. this isn't inherently bad (as the parameters are mostly ok). But in order to make it work smoothly with eagle-usb (a driver for the sagem800) a wildcard is necessary instead of the Peer-name.
the following diff does just that. It shouldn't break the ppp-package, but makes the eagle-package ( work.
note, that this is only necessary, if both packages are used in parallel (i have two adsl-modems), which should rarely happen.

Reproducible: Always
Steps to Reproduce:

flo@basil /tmp $ emerge info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
System uname: 2.6.4-rc1-mm1 i686 AMD Athlon(TM) XP 2200+ 
Gentoo Base System version 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" 
FEATURES="autoaddcvs ccache sandbox" 
USE="3dnow X alsa apm arts avi berkdb cdr crypt cups dga directfb doc dvd encode 
esd foomaticdb gdbm ggi gif gpm gtk2 imap imlib innodb ipv6 jpeg libg++ libwww mad 
mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib 
perl png python quicktime readline sdl slang spell sse ssl svga tcpd tetex truetype x86 
xinerama xml2 xmms xv zlib"
Comment 1 Florian Loitsch 2004-03-06 16:20:45 UTC
Created attachment 26965 [details, diff]
changes Peer to wildcard ("*")

as described: changes the peer-name into wildcard, so eagle-usb works in
Comment 2 Elliot Mackenzie 2005-04-13 14:33:16 UTC
Is this really a good idea for general use?  I just unwired this change in my own net.ppp0 so that I can have different passwords for different ppp connections without blasting all my passwords to each host I try to connect to...

Is it better perhaps to separate the PEER and the remotename?
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2005-05-16 23:20:19 UTC
Perhaps it is more appropriate to fix the eagle-usb driver?
Comment 4 Florian Loitsch 2005-06-16 09:45:28 UTC
I'm not sure if the driver is really broken. I just happened to make both 
modems work with this hack. I don't even have the modem anymore, and the bug 
might be fixed already... 
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2005-06-23 14:31:14 UTC
the actual net.ppp0 will be replaced by a new ppp net module of the upcoming
this bug will remain open until net.ppp0 will be removed.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2005-11-29 09:46:21 UTC
the net.ppp0 has been removed in net-dialup/ppp-2.4.3-r10, which will become
stable at the same moment with sys-apps/baselayout-1.12.0

FYI: now all kinds of PPP connections (serial, PPPoE, PPPoA) are handled by the
pppd net module found in >=sys-apps/baselayout-1.12.0_pre11.