Thanks ALL, those informantion is very useful.
CS
====================================================

> Hi, All
> Where can I find a good Linux Admin book?  Online or book store.
> When my linux box boots without network connected.  It reports from
>  eth0  that my box is not connected to the net, but the boot process
> still tries to boot smbd, sendmail, ...etc.  How can I bypass all those
> network related daemons during the boot process if the machine is not
> connected to the net?

If your suffering from intolerable timeouts, one good thing to do is to
rewrite all of the init scripts so daemons are started in the background.
For examlpe, from the apache start up script in /etc/rc.d/init.d--

It says by default:
case "$1" in
  start)
          echo -n "Starting httpd: "
          daemon httpd
          echo
          touch /var/lock/subsys/httpd
          ;;


Change it to say
case "$1" in
  start)
          echo -n "Starting httpd: "
          (daemon httpd; echo; touch /var/lock/subsys/httpd) &
          ;;

This will also have the neat effect of speeding up booting whether you're
attached to the network or not.

-Sam

--
Samuel Ockman                     |  Work Linux?      |  VA Research
Director of Software              |  Work with us.    |  Proud Corporate
1-888-LINUX-4U ext. 133           |  e-mail jobs@     |  Sponsor of Guerilla
www.varesearch.com                |  varesearch.com   |  Linux Development


On Sun, 8 Mar 1998, CS wrote:
>Where can I find a good Linux Admin book?  Online or book store.

Essential Systems Administration
AEileen Fisch
O'Reilly and Associates, Publisher

>When my linux box boots without network connected.  It reports from
>eth0  that my box is not connected to the net, but the boot process
>still tries to boot smbd, sendmail, ...etc.  How can I bypass all those
>network related daemons during the boot process if the machine is not
>connected to the net?

Issue the command, "ntsysv", and disable all the services you don't want.
Once disabled, they will not start the next time you boot the system.

--
    Steve Coile
 [EMAIL PROTECTED]

You can find it at http://www.moongroup.com/unix/linux_stuff.html

The title is linked to O'Reilly's site to read about it and then there's a "buy
it" link on the linux_stuff.html page right next to the book!

You might want to have a look aroung while you're there.  It's a growing
resource and I'm making changes all the time.

On 08-Mar-98 CS wrote:
> Hi, All
> Where can I find a good Linux Admin book?  Online or book store.
> When my linux box boots without network connected.  It reports from
>  eth0  that my box is not connected to the net, but the boot process
> still tries to boot smbd, sendmail, ...etc.  How can I bypass all those
> network related daemons during the boot process if the machine is not
> connected to the net?
>
> Thanks ALL
>
> CS
>
>
>
>
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with
>                        "unsubscribe" as the Subject.



--------------
Chuck Mead, CEO
Moongroup Consulting, Inc.
http://www.moongroup.com
[EMAIL PROTECTED]

> Where can I find a good Linux Admin book?  Online or book store.
http://linuxcentral.com
You may want to try:
 Linux Network Administration Guide
        or
 Dr. Linux 5th Edition.


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with
                       "unsubscribe" as the Subject.




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to