From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Gjk0A-0007WV-S1 for garchives@archives.gentoo.org; Mon, 13 Nov 2006 22:10:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kADM7urH026820; Mon, 13 Nov 2006 22:07:56 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kADM5sHL029915 for ; Mon, 13 Nov 2006 22:05:55 GMT Received: by nf-out-0910.google.com with SMTP id c31so57732nfb for ; Mon, 13 Nov 2006 14:05:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=oTl4hh5BW9zqPXjdWOsQD9reZ11uO4YBuus9YaLs2Q7dhSczKsDYvh3yAxg0A5vqE1a+SwLKyIhIGTVhgMguyiEFt3MStVSNZjIxDvsE0JJrTht+4lGR06dZbnCCbG83zCiFB2zxVyWFCD2thXcZqHeny30YT+nYj6N+UYOj2l4= Received: by 10.82.164.9 with SMTP id m9mr20876bue.1163455553946; Mon, 13 Nov 2006 14:05:53 -0800 (PST) Received: by 10.82.106.3 with HTTP; Mon, 13 Nov 2006 14:05:53 -0800 (PST) Message-ID: <7573e9640611131405o73dfe42fp664365cfb8859bee@mail.gmail.com> Date: Mon, 13 Nov 2006 15:05:53 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ipw3945 and 128 bit WEP encryption In-Reply-To: <200611131416.55451.linuxpete@houston.rr.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200611111816.59031.linuxpete@houston.rr.com> <200611120719.26155.linuxpete@houston.rr.com> <7573e9640611121202m5c01acdbqd00a53c5a88045d@mail.gmail.com> <200611131416.55451.linuxpete@houston.rr.com> X-Google-Sender-Auth: b2ae3559bac30887 X-Archives-Salt: 14eb91ac-3e3e-4164-b8d1-d6f85b2f3ef9 X-Archives-Hash: de77a8bc841be65ed75e84cc847549f7 On 11/13/06, Peter Kelly wrote: > What I can't do is > /etc/init.d/net.eth1 restart > > If I shut it down, then I need to either reboot or kill the ipw3945d, then > start it again. I put the ipw3956d call in /etc/conf.d/local.start, which > brings it up fine. Rather than starting ipw3945d in local.start, it is probably better to start/stop it with the module. You should have a /etc/modules.d/ipw3945 file that contains: ---- install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.2; /sbin/ipw3945d --quiet remove ipw3945 /sbin/ipw3945d --kill ; sleep 0.2; /sbin/modprobe -r --ignore-remove ipw3945 alias pci:v00008086d00004222sv*sd*bc*sc*i* off alias pci:v00008086d00004227sv*sd*bc*sc*i* off ---- If so, run "modules-update" to regenerate /etc/modules.conf and activate the instructions. Note: I'm not sure which of the above lines I modified myself and which ones came from the ipw3945 package. But the first line starts the daemon when the module is loaded, the second stops it when the module is unloaded, but only if you use "modprobe -r ipw3945". It will _not_ work correctly if you do "rmmod ipw3945". The third and fourth lines prevent the module from being loaded automatically by udev, and are necessary because /var on my system isn't mounted when udev starts. HTH, -Richard -- gentoo-user@gentoo.org mailing list