Re: pppoe connects but i need to run 'ifconfig eth0 up' please help....

Prakash Jose Kokkatt <[email protected]> Fri, 9 Dec 2005 09:09:12 +0530
Newsgroups gmane.org.region.india.fsug-kochi
Message-ID <[email protected]>
Hello,
Which distro are you using..if u got adsl connection in fedora,u can
easily setup with adsl-setup command..also post ur "ifconfig" ...post
in fsug mail list as useful for others too.
here's it:
fsug-kochi-discuss-8H24Gfgyrqprzt3WPRo2bV6hYfS7NtTn@public.gmane.org

On 12/9/05, Bruno Buys <[email protected]> wrote:
> Hi friend,
> I saw you fixed your pppoe under sarge, and thought maybe you could help
> me fix mine. I recently moved, and my new link is dsl, instead of the
> prior cable (dhcp). With dhcp I only had to turn computer on and log in.
> That was all. Now, with dsl, I have to 'ifconfig eth0 down', when logged
> in, 'pppoe-start', get into some odd page from isp and authenticate, in
> order to access the internet.
> How can I automatize all this?
> Thanks in advance!
>
> bruno
>
>
>
>
>
>
> Prakash Jose Kokkatt wrote:
>
> >Atlast solved.i reported this as a bug.but it isn't.the maintainer of
> >pppoe package asked in email to remove the gateway address and will
> >work.so my new /etc/network/interfaces looks like this:
> >cosmic:~# vi /etc/network/interfaces
> ># This file describes the network interfaces available on your system
> ># and how to activate them. For more information, see interfaces(5).
> >
> ># The loopback network interface
> >auto lo
> >iface lo inet loopback
> >
> ># The primary network interface
> >
> >iface eth0 inet static
> >name Ethernet LAN card
> >address 192.168.1.2
> >netmask 255.255.255.0
> >broadcast 192.168.1.255
> >network 192.168.1.0
> >
> >auto eth0
> >
> >iface dsl-provider inet ppp
> >    provider dsl-provider
> ># please do not modify the following line
> >    pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
> >
> >
> >SO NOW I CAN CONNECT EASY! Thank You All!
> >
> >On 12/7/05, Prakash Jose Kokkatt <[email protected]> wrote:
> >
> >
> >>Hello All,
> >> I got sarge 3.1r0a with a pppoe connection from dataone.i have configured
> >>this connection,able to connect but as title shows,i need to run
> >>'ifconfig eth0 up'.here is /etc/network/interfaces:
> >>
> >>-------------------------------------------------------------------------------------------------------------------------------------
> >>
> >># This file describes the network interfaces available on your system
> >># and how to activate them. For more information, see interfaces(5).
> >>
> >># The loopback network interface
> >>auto lo
> >>iface lo inet loopback
> >>
> >># The primary network interface
> >>iface eth0 inet static
> >>       address 192.168.1.2
> >>       netmask 255.255.255.0
> >>       network 192.168.1.0
> >>       broadcast 192.168.1.255
> >>       gateway 192.168.1.1
> >>       name Ethernet LAN card
> >>#auto eth0
> >>
> >>iface dsl-provider inet static
> >>provider dsl-provider
> >>
> >># added by pppoeconf
> >>
> >>   pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
> >>-------------------------------------------------------------------------------------------------------------------------------------
> >>As you can see i commented out eth0 line as "#auto eth0" because i
> >>believe the 'pre-up /sbin/ifconfig eth0 up' brings network up..but it
> >>does not...and i need to run ifconfig eth0 up...
> >>
> >>if i uncomment the 'auto eth0' line,i need to run another command to
> >>connect : 'route add default ppp0'....so that ppp0 be default connection
> >>so my last state of pppoe connection looks like this:
> >>Code:
> >>-------------------------------------------------------------------------------------------------------------------------------------
> >>cosmic:~# ifconfig eth0 up
> >>cosmic:~# pon dsl-provider
> >>-------------------------------------------------------------------------------------------------------------------------------------
> >>help me please.......
> >>
> >>
> >>
> >
> >
> >
> >
>
>