[wellylug] ifup -a at boot up not bringing up all interfaces

Jo Booth thegeek at mangee.net.nz
Thu Apr 12 05:38:42 NZST 2007


On 11/04/2007, at 22:24 , Sigurd Magnusson wrote:
> The server running www.silverstripe.com had to be rebooted today  
> and to
> my annoyance at bootup it didn't bring up all the network  
> interfaces. It
> only brought up eth0 and lo, but there are around 10 others,
...
> When I noticed this, I just ran "ifup -a" and everything came to life.
>
> Any ideas on why this didn't happen in the first instance.
In one of the config files i'd imagine theres an ONBOOT flag that is  
either not there or is no for the interfaces added after it was created.
The script I looked at on one of my boxen, grabs a list of interfaces  
with a ls /etc/sysconfig/network-scripts/ifcfg* - each of which  
contains config for that interface, including an ONBOOT flag - if the  
flag is =no, then it won't start it.

eg - check:
toot at OnyxL # vi /etc/sysconfig/network-scripts/ifcfg-eth0
...
ONBOOT=yes
..

If in your system log the interfaces were asked to come up and didn't  
thats another story, but the ifup -a could mean a missing flag or  
similar - often config changes are made while server is running, and  
not saved permanently.


-Jo.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20070412/e311836e/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20070412/e311836e/attachment.pgp 


More information about the wellylug mailing list