I'm trying to set up the same kind of connection I had in Windows. That is, the ADSL modem linked via crossover to a hub, and my Gentoo box connected to that hub. (The idea is to have LAN access to other machines in the house, but still be able to connect to ADSL using only a single NIC).
I've emerged ppp, but not rp-pppoe as I read not to with the new baselayout.
Here's my /etc/conf.d/net so far:
Code: Select all
config_eth0=( "192.168.0.22 netmask 255.255.255.0" )
config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=("pppoe")
username_ppp0='username@domain.net'
password_ppp0='secret'
pppd_ppp0=("defaultroute" "usepeerdns")
As per the new baselayout, I've got net.ppp0 and net.eth0 symlinked to net.lo in /etc/init.d. When I try to bring up ppp0 (after eth0 of course), I get the following error:
Code: Select all
* Starting ppp0
* Bringing up ppp0
* ppp
* Running pppd ...
/usr/sbin/pppd: unrecognized option 'eth0'
I tried following some information found in the forums and added another interface config. I added a net.eth1 link to net.eth0, put config_eth1=("null") into /etc/conf.d/net and changed link_ppp0="eth0" to link_ppp0="eth1". This time, the error message was that eth1 didn't exist (which makes sense, since I only have one NIC). Any ideas?