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

Prakash Jose Kokkatt <[email protected]> Wed, 7 Dec 2005 06:17:12 +0530
Newsgroups gmane.org.region.india.fsug-kochi
Message-ID <[email protected]>
So i need to remove lan's static ip address..but in fedora and
ubuntu,i can connect with pppoe with lan address already assigned..i
got another PC networked...so static ip is needed;i think.but " 
pre-up /sbin/ifconfig eth0 up" fails.where do i check for..also my lan
card e100 is correctly detected..Thanks....
On 12/6/05, Mahesh T. Pai <[email protected]> wrote:
> Prakash Jose Kokkatt said on Tue, Dec 06, 2005 at 04:11:33PM +0530,:
>
>  > # 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
>
> leftovers from a lan era? Delete this section.
>
>  > #auto eth0
>  >
>  > iface dsl-provider inet static
>  > provider dsl-provider
>  >
>  > # added by pppoeconf
>
>
> Here is what I have in my /etc/network/interfaces file.
>
> auto eth0
>         iface eth0 inet manual
>         up ifconfig $IFACE 0.0.0.0 up
>         down ifconfig $IFACE down
>
>
> 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
>