Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-14 Thread Daniel Barkalow
On Sat, 11 Nov 2006, Peter Kelly wrote:

 Holas!
 
 I recently bought a Dell Inspiron e1505 laptop.  I purposely got an Intel 
 3945 
 wireless card installed, because I read that it was more linux friendly than 
 the dell wireless card.
 
 I emerge'd  ipw3945, but can't get it to work.  I get an error 
 
 error for wireless request Set Encode (8B2A) 
 Operation not supported
 
 when I run 
 # iwconfig eth1 key 26 hex character key
 
 when trying to set the the encryption key for my home network.  I'm certainly 
 not going to turn off WEP encryption, so I need to fix this.

Maybe you need to modprobe ieee80211_crypt_wep and the relevant crypto 
algorithm modules? That's what I remember being the issue when the card 
generally works but WEP doesn't. I think the older wifi supporting code 
doesn't let you separate this stuff out, while the new code doesn't 
automatically handle loading modules when necessary. I remember dmesg 
being more informative than iwconfig when it fails, also.

-Daniel
*This .sig left intentionally blank*
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-14 Thread Ryan Tandy

Peter Kelly wrote:

Yes, the daemon is running.  It starts when you modprobe ipw3945.


Are you sure about that?  It doesn't do that for me.  Try a 'ps ax | 
grep ipw'.  In addition to the kernel daemons [ipw3945/0] and 
[ipw3945/1], there should be an instance of the userspace daemon 
/sbin/ipw3945d, which for me is not started except through 
/etc/init.d/ipw3945d.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-13 Thread Peter Kelly
On Sunday 12 November 2006 14:02, Richard Fish wrote:
 On 11/12/06, Peter Kelly [EMAIL PROTECTED] wrote:
  Yes, the daemon is running.  It starts when you modprobe ipw3945.
  There isn't a wifi switch that I've found.  There is an LED that blinks
  slowly.  The card appears to be on.  I just can't get it configured.

 Well I can attest that the wep will work with this card...I have it
 working.

 What versions of net-wireless/ipw3945, net-wireless/ipw3945-ucode,
 net-wireless/ipw3945d, and net-wireless/ieee80211 do you have
 installed?  In other words, what is the output of:

 emerge -pv net-wireless/ipw3945 net-wireless/ipw3945-ucode \
 net-wireless/ipw3945d net-wireless/ieee80211

 And I suppose the outputs of iwconfig -v and iwconfig could help too.

Thanks, Richard.  I'm not sure how I did it, but suddenly it 'just worked'.  

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.  Very kludged, but maybe once I get X running at more than 
1024x768 I'll spend more time on it.  Getting the wireless part working so I 
could emerge away from a switch was the first biggie.

Peter

-- 
clone, n:
1. An exact duplicate, as in our product is a clone of their
product.  2. A shoddy, spurious copy, as in their product
is a clone of our product.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-13 Thread Richard Fish

On 11/13/06, Peter Kelly [EMAIL PROTECTED] 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:v8086d4222sv*sd*bc*sc*i* off
alias pci:v8086d4227sv*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



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-12 Thread Mick
On Sunday 12 November 2006 01:33, Ryan Tandy wrote:
 Peter Kelly wrote:
  I emerge'd  ipw3945, but can't get it to work.

 is ipw3945d running?

 /etc/init.d/ipw3945d start

Also, make sure that you have pressed the WiFi button to switch on the 
hardware on that laptop, or have switched it on in the BIOS (not familiar 
with the model).
-- 
Regards,
Mick


pgptrk55LRLNH.pgp
Description: PGP signature


Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-12 Thread Peter Kelly
On Sunday 12 November 2006 02:00, Mick wrote:
 On Sunday 12 November 2006 01:33, Ryan Tandy wrote:
  Peter Kelly wrote:
   I emerge'd  ipw3945, but can't get it to work.
 
  is ipw3945d running?
 
  /etc/init.d/ipw3945d start

 Also, make sure that you have pressed the WiFi button to switch on the
 hardware on that laptop, or have switched it on in the BIOS (not familiar
 with the model).
Yes, the daemon is running.  It starts when you modprobe ipw3945.
There isn't a wifi switch that I've found.  There is an LED that blinks 
slowly.  The card appears to be on.  I just can't get it configured.

Thanks.

Peter
-- 
Linus Torvalds:
 This is the special easter release of linux, more mundanely called 1.3.84
Winfried Truemper:
 Umh, oh. What do you mean by special easter release?. Will it quit
 working today and rise on easter?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-12 Thread Richard Fish

On 11/12/06, Peter Kelly [EMAIL PROTECTED] wrote:

Yes, the daemon is running.  It starts when you modprobe ipw3945.
There isn't a wifi switch that I've found.  There is an LED that blinks
slowly.  The card appears to be on.  I just can't get it configured.


Well I can attest that the wep will work with this card...I have it working.

What versions of net-wireless/ipw3945, net-wireless/ipw3945-ucode,
net-wireless/ipw3945d, and net-wireless/ieee80211 do you have
installed?  In other words, what is the output of:

emerge -pv net-wireless/ipw3945 net-wireless/ipw3945-ucode \
   net-wireless/ipw3945d net-wireless/ieee80211

And I suppose the outputs of iwconfig -v and iwconfig could help too.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw3945 and 128 bit WEP encryption

2006-11-11 Thread Ryan Tandy

Peter Kelly wrote:

I emerge'd  ipw3945, but can't get it to work.


is ipw3945d running?

/etc/init.d/ipw3945d start
--
gentoo-user@gentoo.org mailing list