LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 04-12-2009, 12:41 PM   #1
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: Debian, Gentoo, Knoppix & DSL
Posts: 122

Rep: Reputation: 15
Computer boots too fast


You wouldn't think it'd be a problem, but it is....

I am installing a 64bit Gentoo on an AMD64 arch. My wireless network card has the rt73usb chipset which is supported by the Kernel. rt73usb is compiled into the kernel and not as a module.

My problem is that init starts to boot before all the device drivers are loaded. As a result, the init scripts try to bring up the wireless interface before it exists. As a result, my network services don't start and I have to start them manually.

Is there anyone out there who knows a way to stop the init process long enough for all the hardware to be loaded???

RK
 
Old 04-12-2009, 01:09 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
I had the same / a similar (?) problem with kubuntu 8.04.2.
Rather than re-write the init scripts, I just bring up my wireless with these lines in /etc/rc.local just before the final exit 0 in that file:
Code:
# restart wireless networking, or it doesn't work
ifdown eth1
ifup eth1
replace eth1 with whatever the name of your wireless interface is.
Now the wireless interface comes up at boot (if I am in range).
 
Old 04-12-2009, 01:33 PM   #3
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: Debian, Gentoo, Knoppix & DSL
Posts: 122

Original Poster
Rep: Reputation: 15
Gentoo uses OpenRC which is a C compiled init. What you propose won't work. For one, there is no /etc/rc.local directory.

Thanks for the input, though....
 
Old 04-13-2009, 04:14 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
What you propose won't work. For one, there is no /etc/rc.local directory.
Different distros put rc.local in different places and I am not familiar with Gentoo, but a quick search shows that Gentoo may use the file /etc/conf.d/local.start instead:

http://marjanjeffry.blogspot.com/200...too-linux.html

Otherwise, check your Gentoo documentation.
 
  


Reply

Tags
amd64, gentoo, init, wireless


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
LXer: Intel Moblin V2 Core Alpha: It Boots Fast! LXer Syndicated Linux News 0 01-28-2009 09:10 AM
LXer: Touchscreeen EEE nettop boots Linux fast LXer Syndicated Linux News 0 10-15-2008 04:41 PM
redhat enterprise linux 4 boots slow with 2 GB RAM , boots fast with 512MB robinsingh Linux - Hardware 14 08-27-2008 12:34 AM
can't mount samba on boot, linux boots too fast? gurkesaft Linux - Networking 1 12-20-2006 07:52 AM
Computer Boots up too Slow Kamex Suse/Novell 3 07-11-2005 09:08 AM


All times are GMT -5. The time now is 03:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration