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

"Mahesh T. Pai" <[email protected]> Tue, 6 Dec 2005 21:24:41 +0530
Newsgroups gmane.org.region.india.fsug-kochi
Message-ID <[email protected]>
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

hth.

-- 
Mahesh T. Pai

He is wise who knows the sources of knowledge --
who knows who has written and where it is to be found.
   --A.A. Hodge

_______________________________________________
FSUG-Kochi-Discuss mailing list
FSUG-Kochi-Discuss-8H24Gfgyrqprzt3WPRo2bV6hYfS7NtTn@public.gmane.org
http://puggy.symonds.net/cgi-bin/mailman/listinfo/fsug-kochi-discuss
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDlbRBpTl59CPSj2wRAiwRAJ9SCqedbhCKb20u+lkf2LPYQhQK4QCfdGfk
r3WH44zuTxwwOGpZIDqna/M=
=L4G0
-----END PGP SIGNATURE-----