On Fri, Jan 28, 2005 at 01:06:50AM -0700, Tres Melton wrote:
> 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.
Hei there Tres
I wanna say thanks to you too for trying to help out.
In /etc/ppp/pppoe.conf the values that you mentionned and the correct
value for USER are present.
I have checked {ch,p}ap-secrets as it suggests in the installation instructions
of the gentoo handbook and all looks OK to me - password correct and
file in the correct format.
I will try /etc/init.d/rp-pppoe start though I am not sure if it will
help as I guess that it justs calls adsl-start or adsl-connect both of
which I have tried with no success.
As I have said I have a gentoo livecd from a years back and I can use it
to get a connection using adsl-setup etc with no problems. This leads me to
suspect something deeper. Though I should say I am rather clueless as to
what it may be.
I am starting to think that it maybe a good idea to just press ahead
using knoppix or the old livecd and hope that the problem does not rear
it's ugly head at some stage later.
Thanx again!
t-ir
>
> 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
> --
>
> --
> [email protected] mailing list
--
[email protected] mailing list