LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-27-2007, 02:04 AM   #1
justanotherkv
LQ Newbie
 
Registered: Sep 2005
Distribution: ubuntu, debian
Posts: 13

Rep: Reputation: 0
network module/daemon load at boot time


so I'm running debian testing on a dell laptop, and I've been working on getting the internal intel wifi card working. it works, but it seems that it isn't getting loaded properly at boot time.

what I'm guessing should happen is:
modprobe ipw3945 ; load the module for the wifi card, which also starts the regulatory daemon
ifup eth2 ; it'll bring up the network and get an ip address, etc.

so, I put:
auto eth2 -> /etc/network/interfaces
ipw3945 -> /etc/modules

which will load the ipw3945 module (which should start the daemon) and raise the network.

but, booting up and doing 'ps -e', I can't find the daemon, which should show up there (thus, no internet). the module is loaded, though. then, I usually have to do a 'ifdown eth2' then a 'ipw3945d' to start the daemon, and then 'ifup eth2'. it's not terrible, but it's tedious. my thinking is either:

/etc/modules merely loads the module, and doesn't follow /etc/modprobe.d (in which I also start the daemon)

or

the eth2 interface gets raised before /etc/modules is done (unlikely, and doesn't explain why ipw3945d is absent)

I've taken a look at [URL="http://www.debian.org/doc/manuals/reference/ch-system.en.html"]
but the loading system seems to enjoy using sh, and even though it wouldn't take *too* long to learn, is there any easier way to just tell the boot process what I want?


ps. I know ndiswrapper would load up correctly - I'm assuming this has something to do the with the daemon.

pss. looking through how the laptop boots, there's nothing amiss. to think of it, I don't think I see when the module loads, either. maybe that has something to do with it?
 
Old 07-28-2007, 12:43 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
I have noticed that in the /etc/network/interfaces on new installs they have an allow-hotplug line in there that I think is for your situation so try adding a similar line with eth2 in it for your second interface to see if this gets it working.
 
Old 07-28-2007, 01:51 PM   #3
krassi
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian 4 (x86_64); openSUSE 10.2 (x86_64); Knoppix 5.1.1 (as needed); still installing Slackware 12
Posts: 25

Rep: Reputation: 15
I think the wireless not starting on boot is a security precaution for newbies with un-secure networks. Tux's suggestion for hotplug should work. If it doesn't just script it with basic bash. Since I am not really sure in what order the modules are loaded, and if you are extremely paranoid, you shouldn't start your wireless before all the security 'thingies' (notice the highly technical term) have been loaded.

HF!
Krassi

PS: You can always try changing the primary network interface from the wired to the wireless.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to load ndiswrapper module on boot time alek66 SUSE / openSUSE 2 07-11-2006 02:05 PM
Load module at boot time hguts Programming 1 01-24-2006 09:02 AM
how to load a module at boot time appas Linux - Software 7 09-29-2004 06:04 AM
how to load a module at boot time trutnev Linux - Newbie 1 03-14-2004 12:54 PM
Load module(s) at boot time LordChaos Linux - General 2 01-18-2003 03:28 PM

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

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