View previous topic :: View next topic |
Author |
Message |
liu_fanyi n00b
Joined: 17 Apr 2015 Posts: 22
|
Posted: Wed May 13, 2015 12:21 pm Post subject: |
|
|
Jaglover wrote: | Code: | modules="r8169 iwlwifi" |
What error you get when you do ? |
I will get:
Quote: | bash: modprobe: command not found |
but when lsmod:
Quote: | Module zsize Used by
r8169 60157 0 |
So r8169 should have been loaded right...
Thanks |
|
Back to top |
|
|
liu_fanyi n00b
Joined: 17 Apr 2015 Posts: 22
|
Posted: Wed May 13, 2015 12:29 pm Post subject: |
|
|
charles17 wrote: | liu_fanyi wrote: | Could you tell me who should be set in /etc/conf.d/module...
I set as this:
Quote: | modules="r8169"
modules="iwlwifi"
modules="iwldvm"
modules="iwlmvm"
modules="rt2x00mmio"
modules="rt2800lib"
modules="rt2800mmio"
modules="rt2x00pci"
modules="rt2x00lib"
modules="rt2800pci"
modules="b43"
modules="iwl4965"
modules="iwl3945"
modules="iwlegacy" |
|
Hm, mine is full of commented-out lines (# at the beginning).
Maybe service /etc/init.d/modules is no longer needed? I don't have it in any runlevel. |
But if I don't config this file...
lsmod won't have anything...
It's hard to understand...
Thanks |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Wed May 13, 2015 2:08 pm Post subject: |
|
|
liu_fanyi wrote: |
But if I don't config this file...
lsmod won't have anything...
It's hard to understand... |
Somewhat complex matter, true.
But /etc/conf.d/modules is the configuration file for the service /etc/init.d/modules. IIRC, this service was used in the past for loading mudules before this could be done by the kernel (or is it done by udev? I don't know).
lsmod works independent from that service. |
|
Back to top |
|
|
liu_fanyi n00b
Joined: 17 Apr 2015 Posts: 22
|
Posted: Fri May 15, 2015 12:05 am Post subject: |
|
|
charles17 wrote: | liu_fanyi wrote: |
But if I don't config this file...
lsmod won't have anything...
It's hard to understand... |
Somewhat complex matter, true.
But /etc/conf.d/modules is the configuration file for the service /etc/init.d/modules. IIRC, this service was used in the past for loading mudules before this could be done by the kernel (or is it done by udev? I don't know).
lsmod works independent from that service. |
I try to use modprobe, and get this:
Quote: | modprobe: ERROR: could not insert 'iwlwifi': Exec format error |
...There is something wrong with iwlwifi.ko and kernel? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|