public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Philip Webb <purslow@sympatico.ca>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/conf.d/net
Date: Sun, 20 Aug 2006 01:52:21 -0400	[thread overview]
Message-ID: <20060820055221.GA4812@sympatico.ca> (raw)
In-Reply-To: <200608191020.40691.gentoo.org@machturtle.com>

060819 David Corbin wrote:
> I emerged a bunch of stuff this morning, and got this:
> "Gentoo is moving toward common config file for all network interfaces.
> I looked at /etc/conf.d/net.example & it's woefully unclear
> how I port my /etc/init.d/net.ppp0 to the new file/format.

Yes, the dox are not as detailed as they sb.
To repeat my explanation to another troubled user a few weeks ago :

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



  parent reply	other threads:[~2006-08-20  5:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-19 14:20 [gentoo-user] /etc/conf.d/net David Corbin
2006-08-19 17:09 ` Pablo Antonio
2006-08-19 23:59   ` David Corbin
2006-08-20  5:52 ` Philip Webb [this message]
2006-08-21  7:47   ` Alan Mckinnon
2006-08-21  8:05     ` [gentoo-user] /etc/conf.d/net Alexander Skwar
2006-08-21 13:43       ` Alan Mckinnon
2006-08-21 21:11         ` [gentoo-user] " Alexander Skwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060820055221.GA4812@sympatico.ca \
    --to=purslow@sympatico.ca \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox