On my system I have adsl on eth0 and a LAN on eth1

in /etc/conf.d/net

# For rp-pppoe all the interface needs to be told is to come up
iface_eth0="up"
# The -N option tells DHCPd not to clobber /etc/ntp.conf
dhcpcd_eth0="-N"
# To be used on the second interface (LAN)
iface_eth1="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0"

in /etc/ppp/pppoe.conf

# Ethernet card connected to ADSL modem
ETH='eth0'
USER='[EMAIL PROTECTED]'
DNSTYPE=SERVER
PEERDNS=yes
DEFAULTROUTE=yes

fix /etc/ppp/{ch,p}ap-secrets to have the correct values too.

I haven't read the docs in a while but I have learned that you DO need
to bring up the ethernet card but you can NOT give it an address.  My
ADSL modem gives me an address via DHCP.  "/etc/init.d/rp-pppoe start"
brings up the modem, sets the ethernet card up, adds a firewall, and
fixes the routing tables.  I then enable masquerading.

On Fri, 2005-01-28 at 09:26 +0200, Moshe Kaminsky wrote:
> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [27/01/05 17:14]:
> > Hello
> > 
> > 
> > This is my first post to this list.
> > 
> > 
> > I started to think that it would nice to try to install
> > Gentoo linux at home and start to learn how gentoo works.
> > 
> > 
> > I downloaded the lastest universal livecd, booted with 
> > the parameters ¨gentoo nodhcp¨ (as I use pppoe with my isp)
> > pressed f2 and choose the numbers for a finnish keyboard.
> > 
> > 
> > I brought up the ethernet interface with ¨ifconfig eth0 up¨
> > and ran adsl-setup and answered all the questions correctly.
> > Unfortunately, when I ran adsl-start the connection did not
> > come up - I include the results of ¨DEBUG=1 adsl-start¨ below.
> > 
> 
> I think the adsl-start docs say you should not bring up eth0 yourself. 
> Maybe that's the problem.
> 
> Moshe
-- 

--
gentoo-user@gentoo.org mailing list

Reply via email to