LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-02-2004, 02:28 PM   #1
rwescoat
LQ Newbie
 
Registered: Oct 2004
Location: /dev/null
Distribution: Gentoo
Posts: 28

Rep: Reputation: 15
How do I edit runlevels?


The subject was self-explanitory.

Also, I've compiled support for my network card (Netgear FA311) into my new kernel. How do I make eth0 start at boot?

Last edited by rwescoat; 10-02-2004 at 02:31 PM.
 
Old 10-02-2004, 02:36 PM   #2
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
Edit /etc/inittab.

id:3:initdefault:

Change that to whatever the runlevel you want.
 
Old 10-02-2004, 02:38 PM   #3
rwescoat
LQ Newbie
 
Registered: Oct 2004
Location: /dev/null
Distribution: Gentoo
Posts: 28

Original Poster
Rep: Reputation: 15
Sorry, I wasn't clear enough on that one. How do I modify the runlevels themselves?
 
Old 10-02-2004, 08:01 PM   #4
cincindie
Member
 
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
I think you can find it under Preferences -> Services (under Gnome, anyway).
 
Old 10-02-2004, 09:23 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
the run levels are links in folders rc0.d rc1.d and like that somewhere in /etc/rc.d or something
if you want to edit run level 3 go to rc3.d
there you find links that start with S (start) sometimes there are also K (kill) links
the S links are started in numerical order
if 2 have the same number they go alphabetically i think
do ls -l
and you see where the links point to startup scripts in init.d

your ethernet card is started by a network startup script

my initial guess is you network scrpt is already running at boot so you have to setup eth0
if you have done that you might need a setting in modprobe.conf for the new module to load automatically

can you load the new module as root by hand with modprobe and if so what is the output ?
what if the output of ifconfig ?
and is there anything in
dmesg | more
about eth0 ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Runlevels nin881 Slackware 8 05-21-2005 02:50 AM
I messed up my runlevels jjorloff1 Linux - General 14 08-17-2004 04:35 PM
RunLevels bcom Mandriva 3 05-31-2004 07:07 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 04:45 PM
runlevels kriver Linux - General 1 03-13-2002 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration