From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fpamo-0004Q5-1S for garchives@archives.gentoo.org; Mon, 12 Jun 2006 01:00:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k5C0wUZf010394; Mon, 12 Jun 2006 00:58:30 GMT Received: from tomts20-srv.bellnexxia.net (tomts20.bellnexxia.net [209.226.175.74]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k5C0prrA019190 for ; Mon, 12 Jun 2006 00:51:53 GMT Received: from sympatico.ca ([70.49.194.64]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with SMTP id <20060612005151.DHOB16051.tomts20-srv.bellnexxia.net@sympatico.ca> for ; Sun, 11 Jun 2006 20:51:51 -0400 Received: by sympatico.ca (sSMTP sendmail emulation); Sun, 11 Jun 2006 20:51:51 -0400 Date: Sun, 11 Jun 2006 20:51:51 -0400 From: Philip Webb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] adsl rp-pppoe - new baselayout problem Message-ID: <20060612005151.GA4813@sympatico.ca> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <448C5EAC.8030603@terra.com.br> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448C5EAC.8030603@terra.com.br> User-Agent: Mutt/1.5.11 X-Archives-Salt: 2b3d1794-153b-4e1b-84a2-c39cfad0aa16 X-Archives-Hash: c08258889d334cf07e98dfd46df13abd 060611 Francisco J. A. Ares wrote: > Could anyone point me to some resource or share his/her "/etc/conf.d/net*" ? > I was using the old "/etc/init.d/rp-pppoe" script to start/stop adsl > but I did an "emerge world" ... Always a bad idea (smile). > ... without looking at the messages > that now the "net" script should handle all possible types of connection, > so now I don't know how to configure it. The dox are not quite adequate: I filed a bug & got the usual snotty answer. I needed 3 things to get it working : (1) in /etc/init.d , delete the old net.ppp0 (or rename it neutrally) & do 'ln -s net.lo net.ppp0' ; (2) do 'rc-update del net.eth0 default' 'rc-update add net.ppp0 default' (this is the bit which isn't adequately documented: anyone would think that both are simply symlinks to net.lo so what's the difference ? but in fact, it affects how Baselayout configures the connection); (3) create a new /etc/conf.d/net following net.example : mine is config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" ) # We have to instruct ppp0 to actually use ppp config_ppp0=( "ppp" ) # Each PPP interface requires an interface to use as a "Link" link_ppp0="eth0" # PPPoE requires an ethernet interface # Specify what pppd plugins you want to use: plugins_ppp0=( "pppoe" ) # PPP requires at least a username. # It will use the password specified in /etc/ppp/*-secrets username_ppp0='user@isp' pppd_ppp0=( "updetach" "defaultroute" ) I found the 2 items in the last line were required by testing items. You may need a bit of trial+error to get it right for your system+ISP. If you really can't get it to work, you can go on using Rp-pppoe: just omit/reverse steps (1-2) & restore your old /etc/conf.d/net ; there's a section in net.example confirming this. -- ========================,,============================================ SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies TRANSIT `-O----------O---' University of Toronto -- gentoo-user@gentoo.org mailing list