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.......
>

Reply via email to