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

"Mahesh T. Pai" <[email protected]> Wed, 7 Dec 2005 08:41:47 +0530
Newsgroups gmane.org.region.india.fsug-kochi
Message-ID <[email protected]>
Prakash,  the pre-up  line  is added  by  pppoeconf; and  wold be  run
automatically by  the pon script. So,  I suppose your  problem is that
you need to run ``ifconfig eth0 up'' manually?

Prakash Jose Kokkatt said on Wed, Dec 07, 2005 at 06:17:12AM +0530,:

 > 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:
 
What do  you mean by ``I  got another PC networked''?  You got another
machine connected to this one? Does this mean you have 2 lan cards? If
not, how are you connecting the other PC? By swapping the cables?

Also, since you  say you have multiple distros,  do see any difference
in output  of `ifconfig` before and after  connection accross distros?
Do you see  the lo and eth0 stanzas turn up  before the PPP connection
is up?  (apart from the public IP address assigned by dataone?

On my  machine when  I issu the  ifconfig command,  I get eth0  and lo
stanzas and after connecting, I get three - lo, eth0 and ppp0.

In  your  earlier mail,  you  said you  commented  out  the auto  eth0
line. That is not wise.  First, the networking applications think every
thing  coming after  the `auto  eth0' line  applies to  the  `auto lo'
stanza.

I had  messed up my default interfaces  file, and the lines  now in my
interfaces file are from the last stanza in
/usr/share/doc/ifupdown/examples/network-interfaces.gz 

-- 
Mahesh T. Pai

Man's most judicious trait, is a good sense of what not to believe.
    --Euripides