You are not logged in.
Hey guys
Switched to systemd a while ago, finally removed initscripts today.
Only problem I'm having is my wifi module is not loading by itself.
bryan@pluto /etc/modules-load.d $ ls -l
total 8
-rw-r--r-- 1 root root 35 Sep 9 21:07 cpufreq.conf
-rw-r--r-- 1 root root 40 Nov 23 18:57 ipw2200.conf
bryan@pluto /etc/modules-load.d $ cat ipw2200.conf
# Load intel 2200bg wifi driver
ipw2200
bryan@pluto /etc/modules-load.d $
Every time I log in I need to run
bryan@pluto / $ sudo modprobe ipw2200
and it works.
Any ideas?
Last edited by bryanpaddock (2012-11-27 08:15:09)
Offline
this may give you clues:
cat /usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Load Kernel Modules
Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5)
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=sysinit.target shutdown.target
ConditionCapability=CAP_SYS_MODULE
ConditionDirectoryNotEmpty=|/lib/modules-load.d
ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d
ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d
ConditionDirectoryNotEmpty=|/etc/modules-load.d
ConditionDirectoryNotEmpty=|/run/modules-load.d
ConditionKernelCommandLine=|modules-load
ConditionKernelCommandLine=|rd.modules-load
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-modules-load
Offline
Hmmm...
I'm still baffled.
It meets the ConditionDirectoryNotEmpty so it should run?
Offline
Try adding a "newline" into your ipw2200.conf after the driver name. Something like
ipw2200
#end of conf-file
Sometimes such is needed so that files get parsed correctly.
Generally that module should autoload though. It is not doing so I guess?
Post the PCI ID of the card, if above does not help.
Offline
the only advice I can give you if anything else doesn't work is to put the module into modprobe.conf file and see what happens.
Offline
Sigh
Can be an idiot sometimes. I had blacklisted it from old netcfg config before systemd.
Thanks guys
Offline