LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 04-12-2009, 12:41 PM   #1
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: Debian, Gentoo, Knoppix & DSL
Posts: 113
Thanked: 0
Computer boots too fast


[Log in to get rid of this advertisement]
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
rjkfsm is offline  
Tag This Post , , , ,
Reply With Quote
Old 04-12-2009, 01:09 PM   #2
tredegar
Senior Member
 
Registered: May 2003
Location: London, UK
Distribution: Kubuntu6.06.1LTS (still excellent!). Kubuntu 8.04.1
Posts: 4,381
Thanked: 143
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).
tredegar is offline     Reply With Quote
Old 04-12-2009, 01:33 PM   #3
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: Debian, Gentoo, Knoppix & DSL
Posts: 113
Thanked: 0

Original Poster
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....
rjkfsm is offline     Reply With Quote
Old 04-13-2009, 04:14 AM   #4
tredegar
Senior Member
 
Registered: May 2003
Location: London, UK
Distribution: Kubuntu6.06.1LTS (still excellent!). Kubuntu 8.04.1
Posts: 4,381
Thanked: 143
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.
tredegar is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 12:26 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration