LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-04-2004, 02:01 PM   #1
totti10
Member
 
Registered: Oct 2004
Posts: 52

Rep: Reputation: 15
skip a process when pc is booting


At system start-up, it brings up the network interfaces which always take a long time.

It worth to do that if you have a internet connection.But when you start pc without a network connection for example you unpluged you cable or at an area has no wireless covered, bring up interfaces are useless and is a waste of time.

I really get headaches about this because bring up network interfaces always take 3 mins on my laptop at startup.

Is there a hot key that can skip a booting process to make booting faster?
 
Old 11-04-2004, 02:28 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Sorry, I don't know of a hotkey to press..., but if you just want to not automatically enable DHCP probing on boot, then there are many ways to approach this, depending on your distribution and how deep you want to go into the system.

Easiest would be to find your friendly network config GUI, somewhere under the K/Start/whatever menu, and set your eth0 connection to either disabled, or to be manually enabled. If you're using SuSE, then there should be something in Yast to do this.

Otherwise, you can add the option "nodhcp" to your /etc/lilo.conf or /boot/grub/menu.lst file, at the end of your kernel entry. Eg, if you're using the Grub boot loader, then your default kernel entry might look like:
Code:
title           Debian Sarge (default)
root            (hd0,2)
kernel          /boot/vmlinuz-2.somekernel root=/dev/hda3 ro acpi=on nodhcp
initrd          /boot/initrd.img-somekernel
savedefault
boot
Cheers,

mj
 
Old 11-04-2004, 03:38 PM   #3
aRTee
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake
Posts: 25

Rep: Reputation: 15
You can do
I
(capital I, don't know if lower case also works)
as it says during boot: hit 'I' for interactive boot/startup.
BUT: then you have to acknowledge each step - very tedious, more for debugging.

In the Mandrake Control Center you can easily configure your network not to start at boot. And whenever you need it you can always start it.
 
Old 11-15-2004, 08:07 AM   #4
jfromcanada
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
if you're not afraid of editing some configuration files, just edit /etc/interfaces and remove all the 'auto' directives (except leave a line that says "auto lo" cause that's the loopback!!). then it won't bring up your network interfaces at bootup. only downside is that then you'll have to do it while you're up, which means the "ifconfig [dev] up"/"dhclient" dance but oh well
 
Old 11-15-2004, 12:19 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Actually you want to edit

/etc/sysconfig/network-scripts/ifcfg-NAMEOFDEVICE

and change the line which reads

OnBoot=yes

to OnBoot=no

On my laptop I set gkrellm to ALWAYS SHOW unrouted devices in the net plugin and then add the command /sbin/ifup eth0 and /sbin/ifup wlan0 to the tabs so that I can merely click on the graph to bring up my interface(s).

On the repositories there are also KDE WiFi managers and other programs that will manage ethernet/wifi connection states on the fly for you.
 
  


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
booting process scc28y Linux - Newbie 1 03-25-2005 11:57 PM
Booting Process muthiahm Linux - Newbie 6 06-10-2004 03:54 AM
Skip a step in the Email process langman Linux - Networking 6 02-25-2004 07:16 AM
speeding up the booting process dieroboter Linux - Software 4 09-20-2003 06:38 PM
Mandrake 9.1 and booting process mykyl Linux - General 2 09-04-2003 09:26 AM

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

All times are GMT -5. The time now is 10:13 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