Re: The network init.d wont run at startup



On Oct 29, 7:38 pm, Bill Marcum <marcumb...@xxxxxxxxxxxxx> wrote:
On 2008-10-29, lovecreatesbea...@xxxxxxxxx <lovecreatesbea...@xxxxxxxxx> wrote:
On the Fedora 10 Beta, the network and samba function are not ready
after startup, unless I issue the following two pieces of command
manually:

$ su -c '/etc/init.d/network restart'
$ su -c '/etc/init.d/smb restart'

Why do these startup scripts fail to run at boot time, and how to
correct it? The dmesg and network-scripts say so:

$ dmesg | grep eth
eth0: registered as PCnet/PCI II 79C970A
$ grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
$

You have a set of directories /etc/rc?.d or /etc/init.d/rc?.d, one for
each runlevel. Inside those directories are symbolic links with names
that begin with S or K and a number. You might need to increase the
numbers on the S??network and S??smb links.


The Fedora is started in runlelvel 3. Therer're these startup scripts
shown in the following. Same records exist in /etc/rc5.d/ directory.
Do the files with name beginning with `K' mean the functions aren't
invoked at startup? Do I change the K to S and how to deal with the
two digits following the S letter?

$ ls -l /etc/rc3.d/ | grep [Nn]etwork
lrwxrwxrwx 1 root root 17 2008-10-29 01:55 K90network -> ../init.d/
network
lrwxrwxrwx 1 root root 24 2008-10-29 02:12 S27NetworkManager -> ../
init.d/NetworkManager
$ ls -l /etc/rc3.d/ | grep smb
lrwxrwxrwx 1 root root 13 2008-10-29 02:10 K35smb -> ../init.d/smb
$
.