Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ipw3945 and 128 bit WEP encryption
Date: Mon, 13 Nov 2006 22:10:03
Message-Id: 7573e9640611131405o73dfe42fp664365cfb8859bee@mail.gmail.com
In Reply to: Re: [gentoo-user] ipw3945 and 128 bit WEP encryption by Peter Kelly
1 On 11/13/06, Peter Kelly <linuxpete@××××××××××.com> wrote:
2 > What I can't do is
3 > /etc/init.d/net.eth1 restart
4 >
5 > If I shut it down, then I need to either reboot or kill the ipw3945d, then
6 > start it again. I put the ipw3956d call in /etc/conf.d/local.start, which
7 > brings it up fine.
8
9 Rather than starting ipw3945d in local.start, it is probably better to
10 start/stop it with the module. You should have a
11 /etc/modules.d/ipw3945 file that contains:
12
13 ----
14 install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.2;
15 /sbin/ipw3945d --quiet
16 remove ipw3945 /sbin/ipw3945d --kill ; sleep 0.2; /sbin/modprobe -r
17 --ignore-remove ipw3945
18
19 alias pci:v00008086d00004222sv*sd*bc*sc*i* off
20 alias pci:v00008086d00004227sv*sd*bc*sc*i* off
21 ----
22
23 If so, run "modules-update" to regenerate /etc/modules.conf and
24 activate the instructions.
25
26 Note: I'm not sure which of the above lines I modified myself and
27 which ones came from the ipw3945 package. But the first line starts
28 the daemon when the module is loaded, the second stops it when the
29 module is unloaded, but only if you use "modprobe -r ipw3945". It
30 will _not_ work correctly if you do "rmmod ipw3945".
31
32 The third and fourth lines prevent the module from being loaded
33 automatically by udev, and are necessary because /var on my system
34 isn't mounted when udev starts.
35
36 HTH,
37 -Richard
38 --
39 gentoo-user@g.o mailing list