On Wed, Aug 02, 2000 at 09:46:41PM +0300, Tzafrir Cohen wrote: > On Wed, 2 Aug 2000, David Karlin wrote: > > > On Wed, Aug 02, 2000 at 11:28:52AM +0300, Tzafrir Cohen wrote: > > > 1. When using a network adapter whose driver is compiled as a module - > > > where does this module get loaded? > > > I currently added a simple modprobe line to /etc/init.d/networking , but > > > there has to be a better way. On RedHat loading this module is done by the > > > ifup script. > > > > Edit /etc/modules to include the name of the modules, and options; > > i.e. "parport_pc io=0x378 irq=7"(make sure you add them in the order > > they should to be loaded).Then run "update-modules" and a new > > /etc/modules.conf will be created. > > This gives the options to modprobe. But when is modprobe being run?
During the boot process. Generally, grep 'modprobe' /etc/init.d and look under /etc/rc?.d to see where this script is linked: /etc/init.d/alsa /etc/init.d/kerneld /etc/init.d/modutils ...IIRC (without checking) modutils is the primary init script involved, and... /etc/rcS.d/S20modutils ...it's called early in the boot (rcS.d) process. > > > 5. Single-user mode loads a whole bunch of stuff thatare not really > > > needed. > > > What is the recomended way to load "failsafe" defaults? Using a floppy? > > > > What is the stuff that you don't need?(I'm not an expert on this). > > For instance: networking. Many things can go wrong: A faulty module for > the adapter, dhcpcd hangs a bit because it can't find a server, etc. > > I can alway load with init=/bin/sh, or from a floppy, but those are not > aptimal choices. You can set an init level to exclude initiating networking services if you wish. RedHat (IIRC) specifies runlevel 2 as non-networked workstation, rulevel 3 as networked workstation, and RL 5 as a networked workstation with an X display manager. RL 4, IIRC, was skipped. Generally RL 3 or 5 are default under RH. See /etc/inittab for default runlevel. -- Karsten M. Self <kmself@ix.netcom.com> http://www.netcom.com/~kmself Evangelist, Opensales, Inc. http://www.opensales.org What part of "Gestalt" don't you understand? Debian GNU/Linux rocks! http://gestalt-system.sourceforge.net/ K5: http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
pgpXREs5xepkP.pgp
Description: PGP signature