View previous topic :: View next topic |
Author |
Message |
jws n00b
Joined: 15 Jun 2002 Posts: 38
|
Posted: Thu Nov 30, 2006 3:46 pm Post subject: Pppoe breakage! I'm in trouble... |
|
|
Somehow, my pppoe cofiguration has stopped working. Some combination of changes to portage,baselayout, or ppp has resulted in confusion as to what my configuration really is. Apparently, I am now supposed to make changes to /etc/conf.d/net.ppp0 rather that directly edit my configs. I have reconstructed most of my config there, however- I need to have ppp start on eth1, but it complains that there is no such device.
Could someone please how me a working example of net.ppp0 for a dsl connection? |
|
Back to top |
|
|
lonex Tux's lil' helper
Joined: 22 Aug 2004 Posts: 109 Location: Karlsruhe, Germany
|
Posted: Thu Nov 30, 2006 6:16 pm Post subject: |
|
|
My gentoo router connects to the Internet using an ADSL modem connected to eth0 (eth1 is my LAN) with rp-pppoe, using the following /etc/conf.d/net:
Code: | dns_domain_lo="wg.local"
config_eth0=( "adsl" )
config_eth1=( "192.168.23.1/24" )
config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=( "pppoe" )
username_ppp0='username_here'
password_ppp0='password_here' |
To bring up my Internet connection, i just run
Code: | /etc/init.d/net.eth0 start |
_________________ There are no dumb questions, just dumb answers. So please help users that are new to linux/gentoo by answering unanswered questions. |
|
Back to top |
|
|
mrness Retired Dev
Joined: 17 Feb 2004 Posts: 375 Location: bucharest.ro
|
Posted: Tue Dec 05, 2006 11:45 am Post subject: |
|
|
read /etc/conf.d/net.example more carefully. it is all there:
Code: | config_eth1=( "null" )
RC_NEED_ppp0="net.eth1" |
|
|
Back to top |
|
|
|