LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-09-2007, 08:59 AM   #1
DesignerX
Member
 
Registered: Mar 2007
Posts: 33

Rep: Reputation: 15
Disabling network


I installed mandriva one 2007 it worked fine until I set the "connect on startup" option when configuring my internet connection (which also worked fine).

Now on boot the system halts (I can only reboot with ctl+alt+del)

How can I disable the option or disable the loading of the network drivers ???

thx.
 
Old 04-09-2007, 09:08 AM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
in /etc/rc.d there are 5 directories, rc1.d through rc5.d. Each of these directories corresponds to a startup level. Level 5 is the one most commonly used, brings up multi-user with networking and a graphical display.

Each of these directories is filled with links to various startup scripts. All links start with a letter, then a two-digit number, then a name which corresponds to the name of the script. One of these links will have the name "network". Delete that link to stop the network from starting.

Also in the directory rc.d is a directory init.d. This is the directory that contains all the startup scripts.
 
Old 04-09-2007, 10:06 AM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You should be able to select the run level into which you boot from the initial boot screen.

I don't know which boot manager Mandriva uses, but -- if it's GRUB -- all you need to do is
1) press the Escape key when the GRUB message is displayed,
2) select the system to which you want to boot from the menu,
3) press "e" to edit the boot commands,
4) select the "kernel=" line,
5) press "e" again,
6) press the "End" key to go to the end of the line,
7) type " 3" (without the quotes) and the Enter key,
8) press "b" to boot.

That should boot you to a command line in run level 3 where you can log in as "root" and fix your problem. (Look at man chkconfig for instructions on how to change which services start during boot at various run levels.) If the system still hangs, try run level 1 instead of 3.

The chkconfig --list network command should tell you the run levels where the network service is started:
Code:
$ /sbin/chkconfig --list network
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
If Mandrivia uses the typical run level settings, you want to change the settings for run level 5, using chkconfig --level 5 network off

<edit>
Note: I don't use Mandriva, so my comments may not apply to that distribution.
</edit>

Last edited by PTrenholme; 04-09-2007 at 10:10 AM.
 
Old 04-09-2007, 10:11 AM   #4
DesignerX
Member
 
Registered: Mar 2007
Posts: 33

Original Poster
Rep: Reputation: 15
it works

thx, it works now.
 
Old 04-09-2007, 02:57 PM   #5
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Good, but what fixed it? That information may help others
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disabling shutdown? kj6loh Fedora 4 02-21-2006 02:27 AM
Disabling artsd ...? Solagen Mandriva 4 07-29-2005 03:52 AM
network disabling on boot siku Linux - Laptop and Netbook 1 11-22-2004 09:38 AM
Disabling the touchpad? zzZoiDzz Linux - Hardware 21 01-30-2004 08:17 PM
Installed Software in Slackware 9.1 and disabling network service odin123 Slackware 5 10-25-2003 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:57 AM.

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