First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 129232
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Dialup Developers <net-dialup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Przemek Kulik <przemek.kulik@neostrada.pl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
patch.diff README.diff patch Paul Bredbury 2006-04-08 09:03 0000 735 bytes Details | Diff
patch.diff README.diff patch Paul Bredbury 2006-04-08 10:44 0000 1010 bytes Details | Diff
patch.diff README.diff patch Paul Bredbury 2006-04-08 11:58 0000 1.68 KB Details | Diff
README.diff README.diff patch Paul Bredbury 2006-04-09 10:58 0000 3.37 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129232 depends on: Show dependency tree
Bug 129232 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-08 06:40 0000
New speedtouch-usb requirers ~x68 arch-ed baselayout (1.12*) and ~x86 arch-ed
ppp (2.4.3), so I've emerged them. Emerging this new ppp it tells me:
* Gentoo is moving toward common configuration file for all network
* interfaces. Thus starting from >=ppp-2.4.3-r10 the following files
* are obsoleted and should be removed to avoid future confusion:
*     /etc/conf.d/net.ppp0 - conflict with baselayout
*     /etc/init.d/net.ppp0 - conflict with baselayout
*     /etc/ppp/chat-default - unused by this version
*     /etc/ppp/options-pppoe - unused by this version
*     /etc/ppp/options-pptp - unused by this version
* If you use the old net.ppp0 script, you need to:
*    - upgrade to >=sys-apps/baselayout-1.12.0_pre11
*    - set ppp0 parameters in /etc/conf.d/net (see example file)
*    - remove conflicting files
*    - upgrade net-dialup/ppp
* If you never used net.ppp0 script, just run the following commands:
*     rm //etc/conf.d/net.ppp0 //etc/init.d/net.ppp0 //etc/ppp/chat-default
//etc/ppp/options-pppoe //etc/ppp/options-pptp
*     emerge --resume
I have never use net.ppp0 (but my own script to start ADLS connection using
pppd) so I deleted al conflicting files and ppp emerged succesfully saying this
at the end:
* The old /etc/init.d/net.ppp0 script has gone!
* The new way of handling PPP connections of any kind (PPPoE, PPPoA, etc)
* is through the baselayout's pppd net module.
* Make sure you have a supported version of baselayout by running:
*    emerge -u '>=sys-apps/baselayout-1.12.0_pre11'
I had a proper version of base layout and /etc/init.d/net.ppp0 was gone indeed
- I deleted it myself earlier.
But speedtouch-usb tells me to use /etc/init.d/net.ppp0 to kick up my Internet
connection. I can't do it since it;s not there!
While booting it bring up only net.lo

-----------------------------------------------------------
emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3,
2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mmmx -msse -msse2 -fomit-frame-pointer -pipe
-ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/contr ol"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo
/etc/env.d"
CXXFLAGS="-O2 -march=prescott -mmmx -msse -msse2 -fomit-frame-pointer -pipe
-ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl                
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/       h
ttp://gentoo.math.bme.hu"
LANG="pl_PL@euro"
LC_ALL="pl_PL@euro"
LINGUAS="pl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib alsa apache2 apm atm avi bitmap-fonts bootsplash bzip2
cairo cdr cli crypt ctype cups curl dba dri dv dvd dvdr dvdread eds encode esd
evolution exif expat fam ffmpeg firefox flac foomaticdb force-cgi-redirect
fortra n ftp gd gdbm gif glibc-omitfp glut glx gnome gnome-print gnomecanvas
gpm gstreamer gtk gtk2 gtkhtml hal hddtemp idn iml ib ipv6 isdnlog java jpeg
jpeg2k junit lame lcms libg++ libwww lm_sensors mad memlimit mikmod mime mjpeg
mmx mng motif m oznocompose moznoirc moznomail moznoroaming mp3 mpeg ncurses
nls no-old-linux nptl nptlonly nvidia ogg opengl pam pcre p df pdflib perl png
pop posix ppds pppd python qt-static quicktime readline real sdl sensord
session simplexml soap socke ts spell spl sse sse2 ssl symlink tcpd tiff
tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v cd
video_cards_nvidia vidix vorbis win32codecs xml xmms xscreensaver xsl xv xvid
zlib input_devices_keybord input_device s_mouse input_devices_evdev linguas_pl
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS

------- Comment #1 From Paul Bredbury 2006-04-08 08:46:47 0000 -------
Follow the README in /usr/share/doc/speedtouch-usb... regarding the "ln"
command. The README explains all the setup steps.

------- Comment #2 From Paul Bredbury 2006-04-08 09:03:54 0000 -------
Created an attachment (id=84207) [edit]
README.diff

Here is a patch to the README for speedtouch-usb, to make the continuation of
the instructions clearer. It also patches my much more important mistake of
getting the parameters for the "ln" command for resolv.conf confused :)

------- Comment #3 From Przemek Kulik 2006-04-08 09:50:37 0000 -------
(In reply to comment #2)
You read my mind. I just thought everything down to the next title was for
PPPoE.
Thanks.Now it works

------- Comment #4 From Paul Bredbury 2006-04-08 09:55:51 0000 -------
Please reopen this bug. It is not "fixed" until the README patch has been
applied to Portage.

------- Comment #5 From Przemek Kulik 2006-04-08 09:59:49 0000 -------
Re-Opened until README patch is in portage.

------- Comment #6 From Paul Bredbury 2006-04-08 10:44:01 0000 -------
Created an attachment (id=84215) [edit]
README.diff

I've also patched preup(), otherwise it would fail because "modprobe -q
speedtch" silently fails when speedtch is compiled into the kernel.

------- Comment #7 From Paul Bredbury 2006-04-08 11:58:49 0000 -------
Created an attachment (id=84220) [edit]
README.diff

baselayout-1.12.0_pre17 changes the pppd file to pppd.sh, so I've updated the
patch to include this rename also.

------- Comment #8 From Alin Năstac 2006-04-09 02:07:39 0000 -------
I have some observations regarding the changes:
 1) modprobe pppoatm is done by the pppd.sh baselayout net module, so it isn't
necessary to do it in preup function.
 2) You should not mess with resolv.conf. It is the baselayout's job to
configure the resolver. A simple mention of "usepeerdns" option should be
enough.

------- Comment #9 From Przemek Kulik 2006-04-09 02:18:53 0000 -------
(In reply to comment #8)
> I have some observations regarding the changes:
>  1) modprobe pppoatm is done by the pppd.sh baselayout net module, so it isn't
> necessary to do it in preup function.
There is a bigger problem. See bug
http://bugs.gentoo.org/show_bug.cgi?id=129282 - I've noticed when pppoatm is
compiled into kernel, the net module still wants to modprobe it
>  2) You should not mess with resolv.conf. It is the baselayout's job to
> configure the resolver. A simple mention of "usepeerdns" option should be
> enough.
usepeeddns works for me (PPPoATM) but I'm not sure if it will work for people
with PPPoE

------- Comment #10 From Alin Năstac 2006-04-09 02:40:42 0000 -------
(In reply to comment #9)
> There is a bigger problem. See bug
> http://bugs.gentoo.org/show_bug.cgi?id=129282 - I've noticed when pppoatm is
> compiled into kernel, the net module still wants to modprobe it

This is not related to this. pppd is not the net module, it is the PPP daemon.
pppd.sh is the net module.
Btw, I will fix that annoyance in r14.

> usepeeddns works for me (PPPoATM) but I'm not sure if it will work for people
> with PPPoE
> 

Believe me, it works for _any_ kind of PPP link, as long as the other party
send this information through the negociation session of the link parameters. 

Please fix these in your next patch.

------- Comment #11 From Paul Bredbury 2006-04-09 10:58:31 0000 -------
Created an attachment (id=84308) [edit]
README.diff

(In reply to comment #8)
>  1) modprobe pppoatm is done by the pppd.sh baselayout net module, so it isn't
> necessary to do it in preup function.
>  2) You should not mess with resolv.conf. It is the baselayout's job to
> configure the resolver. A simple mention of "usepeerdns" option should be
> enough.

I've tested, and both work as you say - groovy. Enclosed is a revised patch for
the README.

"modprobe" is a PITA because it will return 1 if the module is compiled into
the kernel, and doesn't understand module dependencies (e.g. it will happily
load speedtch before ppp_generic), so I've changed the README to recommend that
the required modules are compiled in, and basically don't trust modprobe to
return a useful code in preup().

------- Comment #12 From Alin Năstac 2006-04-09 11:41:17 0000 -------
fixed in CVS, without revision bump (no need to do it since the only change is
in the documentation).

First Last Prev Next    No search results available      Search page      Enter new bug