Networking Forums

Networking Forums > Computer Networking > Linux Networking > pppoe if fails on boot but not when manually activated

Reply
Thread Tools Display Modes

pppoe if fails on boot but not when manually activated

 
 
William Gill
Guest
Posts: n/a

 
      11-20-2005, 11:46 PM
I have FC2 (Fedora Core 2) on my gateway machine, and all is fine. I
want to update it to FC4. As an intermediate step I put FC4 on an older
box. At first I had video problems, but found a not quite as old video
card so I can see what I'm doing.

I set up eth0 with no IP, ppp0 for Xdsl (pppoe), and eth1 with a private
LAN address. When the system boots, eth0,and eth1 both come up ok, but
ppp0 always fails. After Fedora gets to the desktop, I can activate
ppp0 using the Network Device Control tool. Can someone tell me where
to look so that ppp0 doesn't fail on boot up?

Once I'm sure I can get FC4 running ok, I can put it on the original
gateway, but if I start and don't get everything working, my wife won't
be able to browse or get e-mail until I do. That's not good.

Thanks,

Bill
 
Reply With Quote
 
 
 
 
William Gill
Guest
Posts: n/a

 
      11-21-2005, 01:53 PM
Just to be clear, I can run /etc/rc.d/init.d/network restart (the same
script that fails in boot), and it works.

Bill

William Gill wrote:
> I have FC2 (Fedora Core 2) on my gateway machine, and all is fine. I
> want to update it to FC4. As an intermediate step I put FC4 on an older
> box. At first I had video problems, but found a not quite as old video
> card so I can see what I'm doing.
>
> I set up eth0 with no IP, ppp0 for Xdsl (pppoe), and eth1 with a private
> LAN address. When the system boots, eth0,and eth1 both come up ok, but
> ppp0 always fails. After Fedora gets to the desktop, I can activate
> ppp0 using the Network Device Control tool. Can someone tell me where
> to look so that ppp0 doesn't fail on boot up?
>
> Once I'm sure I can get FC4 running ok, I can put it on the original
> gateway, but if I start and don't get everything working, my wife won't
> be able to browse or get e-mail until I do. That's not good.
>
> Thanks,
>
> Bill

 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      11-21-2005, 04:13 PM
> Can someone tell me where
> to look so that ppp0 doesn't fail on boot up?


Perhaps, you might look into the order of ppp0 and associated eth0 to
come up. So far my knowledge goes (I might be wrong) the associated
ethernet interface, here eth0 shouldn't be up --- cause it will
obviously be called by ppp0 at later stage.

Disabling pppoe in init.d and adding that pppoe start-up script in
/etc/rc.d/rc.local might do the trick.

Just let us know.


--
Raqueeb Hassan
Bangladesh

 
Reply With Quote
 
William Gill
Guest
Posts: n/a

 
      11-21-2005, 10:59 PM
eth0 must be up, even if it doesn't have an ip, or pppoe won't activate.
I already tried restarting the pppoe device in rc.local, it didn't help.
Yet I can bring it up at the command line using the init.d network
script (the same one used at boot), by using ifup, or by using
/sbin/service network restart? (I tried all of these in rc.local too,
without any success)

Bill


Raqueeb Hassan wrote:
>>Can someone tell me where
>>to look so that ppp0 doesn't fail on boot up?

>
>
> Perhaps, you might look into the order of ppp0 and associated eth0 to
> come up. So far my knowledge goes (I might be wrong) the associated
> ethernet interface, here eth0 shouldn't be up --- cause it will
> obviously be called by ppp0 at later stage.
>
> Disabling pppoe in init.d and adding that pppoe start-up script in
> /etc/rc.d/rc.local might do the trick.
>
> Just let us know.
>
>
> --
> Raqueeb Hassan
> Bangladesh
>

 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      11-22-2005, 12:11 AM
> eth0 must be up, even if it doesn't have an ip, or pppoe won't activate.

<snip>

Well, I agree. IMHO, most of the pppoe start-up script does it by
default, like calling eth0 first before nogotiating with virtual
interfaces like ppp0. But, please check that whether ppp0 is being
called before eth0 is up or not at boot time. The order should be eth0
--> ppp0. So, in boot time should ppp0 is is being called before eth0
is really up, it might fail.


--
Raqueeb Hassan
Bangladesh

 
Reply With Quote
 
William Gill
Guest
Posts: n/a

 
      11-22-2005, 12:37 AM
Sorry, I misunderstood, yes they are booting in proper order (eth0
before ppp0).

Bill

Raqueeb Hassan wrote:
>>eth0 must be up, even if it doesn't have an ip, or pppoe won't activate.

>
>
> <snip>
>
> Well, I agree. IMHO, most of the pppoe start-up script does it by
> default, like calling eth0 first before nogotiating with virtual
> interfaces like ppp0. But, please check that whether ppp0 is being
> called before eth0 is up or not at boot time. The order should be eth0
> --> ppp0. So, in boot time should ppp0 is is being called before eth0
> is really up, it might fail.
>
>
> --
> Raqueeb Hassan
> Bangladesh
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
e1000 driver won't load at boot, but loads OK manually. Why? stevenb9643 Linux Networking 4 03-30-2007 10:52 PM
PPPoE fails on RRAS, works on standard connection hjbotha@gmail.com Windows Networking 0 03-08-2007 02:06 PM
pppd (initially) fails to negotiate PPPoE connection Kilian A. Foth Linux Networking 1 01-07-2006 09:26 PM
eth0 not coming up on boot, but comes up manually brian Linux Networking 0 06-08-2005 02:38 PM
Two access points and computer fails to boot? Tony Home Networking 3 02-06-2005 11:02 AM



1 2 3 4 5 6 7 8 9 10 11