Re: pppoe connects but i need to run 'ifconfig eth0 up' please help....
Prakash Jose Kokkatt <[email protected]> Wed, 7 Dec 2005 14:37:46 +0530
| Newsgroups | gmane.org.region.india.fsug-kochi |
|---|---|
| Message-ID | <[email protected]> |
On 12/7/05, Mahesh T. Pai <[email protected]> wrote: > 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? Yes.as i commented out "auto eth0" i need to run that > 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? > I connect other pc via lan port for testing(preparing for RHCE) and ofcourse,i need to remove adsl cable...and i dont want to edit /etc/network/interfaces to assign IP address..everytime...as other distros can work with static IP too.. > 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? > In Ubuntu or RHEL4 or Open SUse ,network eth0(with assigned ip) automatically brought up during boot.lo and eth0 is displayed at start and after pon 'ppp0' is also displayed...except in sarge where 'ifconfig eth0 up' should be run.. > 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. if i uncomment "auto eth0" the eth0 interface is brought up at start up.And "pon dsl-provider" shows the lo,eth0 and ppp0!.BUT after this i need to run "route add default ppp0" :( to connect...ie;the ppp0 interfaces is not the default connection....Thank You > > 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 > > _______________________________________________ > FSUG-Kochi-Discuss mailing list > FSUG-Kochi-Discuss-8H24Gfgyrqprzt3WPRo2bV6hYfS7NtTn@public.gmane.org > http://puggy.symonds.net/cgi-bin/mailman/listinfo/fsug-kochi-discuss >