Click to See Complete Forum and Search --> : Some questions


Gaenya
02-08-2001, 11:21 AM
1. How do i make sure isapnp is run when system boots?.

2. how do i load modules at boot?, because i have to configure my nic every time i boot.

3. how do i change my run level?, cause im booting directly in Xwindows and that must cause problems some times.

TIA

X_console
02-08-2001, 11:44 AM
For your first two questions, just put the commands you use to load your modules or start isapnp in your /etc/rc.d/rc.local

The runlevel can be changed through editing /etc/inittab. It's normally very well commented, and from there if you read it you'll figure it out. Generally you want to edit the following line:

id:4:initdefault:

In this case, the 4 means I'm in runlevel 4. To switch runlevels, just change the number. As I said, read the inittab file to figure out what runlevels are available in your distribution. Then when you're done, type "telinit n" where n is the runlevel you want to change to.