ipw2200 and wpa_supplicant

Ernest L. Williams Jr. ernesto at ornl.gov
Wed Jun 22 12:38:47 UTC 2005


On Wed, 2005-06-22 at 13:59 +0200, Rudolf Kastl wrote:
> theres a wpa fix in the latest kernel prepatch
> -> kernel.org
> 
> and there was also a small patch in the thread on sf.net i posted the
> link to above.
> 
> regards,
> Rudolf Kastl
> ----------
> http://newrpms.sunsite.dk
> 
> p.s. i dont know real details about the issue yet. just that it seems
> according to the thread i posted that the iocontrols dont happen if
> the driver is built as module yet.

Thanks for your help.  "I am up and running now" with the FC4 kernel and
the new ipw2200 driver (version 1.0.4 from SourceForge).

Here is what I did:
=================================================================================

Note: the new driver only supports 2.6 kernels.

Step 0: get ipw2200-1.0.4.tgz and build the new driver.

Step 0.1 get new firmware: ipw2200-fw-2.3.tgz

Step 1: First backup/rename the old wireless drivers then install new
*.ko files:
/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/net/wireless/ipw2200
ipw2200.ko


/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/net/wireless/ieee80211
ieee80211_crypt_ccmp.ko
ieee80211_crypt.ko
ieee80211_crypt_tkip.ko
ieee80211_crypt_wep.ko
ieee80211.ko


Step 2: Back old ipw2200 firmware files, remove old softlinks and make
new softlinks to version 2.3 of the firmware.
/usr/lib/hotplug/firmware

[williams at jaguar firmware]$ ls -l
total 0
lrwxrwxrwx  1 root root 21 Jun 21 16:56 ipw2200-LICENSE.txt -
> /lib/firmware/LICENSE*
lrwxrwxrwx  1 root root 29 Jun 21 16:57 ipw-2.3-boot.fw -
> /lib/firmware/ipw-2.3-boot.fw*
lrwxrwxrwx  1 root root 28 Jun 21 16:57 ipw-2.3-bss.fw -
> /lib/firmware/ipw-2.3-bss.fw*
lrwxrwxrwx  1 root root 34 Jun 21 16:58 ipw-2.3-bss_ucode.fw -
> /lib/firmware/ipw-2.3-bss_ucode.fw*
lrwxrwxrwx  1 root root 29 Jun 21 16:58 ipw-2.3-ibss.fw -
> /lib/firmware/ipw-2.3-ibss.fw*
lrwxrwxrwx  1 root root 35 Jun 21 16:58 ipw-2.3-ibss_ucode.fw -
> /lib/firmware/ipw-2.3-ibss_ucode.fw*

Step 3: Reboot laptop; since I could not remove the ipw2200 and
ieee80211 modules with "rmmod"

After system boots:

Step 4: 
ifconfig eth1 down
iwconfig eth1 key 12345678901234567890123456
ifconfig eth1 allmulti up

Step 5: configure wpa_supplicant.conf
and then Start WPA
wpa_supplicant -i eth1 -c/etc/wpa_supplicant.conf -D ipw -B


Step 6: Start wpa command line client
wpa_cli
>logon

Step 7: Open another shell and as root:
dhclient eth1


Happy surfing.

Things are working well for me under: 2.6.11-1.1369_FC4.


Thanks,
Ernest



> 
> 
> 
> 2005/6/21, Ernest L. Williams Jr. <ernesto at ornl.gov>:
> > On Tue, 2005-06-21 at 13:08 +0200, Rudolf Kastl wrote:
> > > hi axel!
> > >
> > > heres the bug... happens with a thinkpad r51 centrino with ipw2200 ;))
> > > i think thats fixed for the latest prepatch
> > Is there really a patch for the driver or is it a firmware patch?
> > Also, where might I find this fix?
> > 
> > I am seeing the same bug on the Dell Precision M70 laptop which also
> > uses the ipw2200:
> > =====================================================================
> > [root at jaguar WPA-source]# wpa_supplicant -i eth1 \
> > -c wpa_supplicant.conf -D ipw -w -dd
> > Initializing interface 'eth1' conf 'wpa_supplicant.conf' driver 'ipw'
> > Configuration file 'wpa_supplicant.conf' -> 'wpa_supplicant.conf'
> > Reading configuration file 'wpa_supplicant.conf'
> > ctrl_interface='/var/run/wpa_supplicant'
> > ctrl_interface_group=0
> > eapol_version=1
> > ap_scan=1
> > fast_reauth=1
> > Line: 311 - start of a new network block
> > ssid - hexdump_ascii(len=7):
> >     6f 72 6e 6c 77 70 61                              ornlwpa
> > scan_ssid=1 (0x1)
> > proto: 0x1
> > key_mgmt: 0x1
> > eap methods - hexdump(len=2): 19 00
> > pairwise: 0x8
> > group: 0x8
> > 
> > --- snip ---
> > --- snip ---
> > 
> > Initializing interface (2) 'eth1'
> > EAPOL: SUPP_PAE entering state DISCONNECTED
> > EAPOL: KEY_RX entering state NO_KEY_RECEIVE
> > EAPOL: SUPP_BE entering state INITIALIZE
> > EAP: EAP entering state DISABLED
> > EAPOL: External notification - portEnabled=0
> > EAPOL: External notification - portValid=0
> > wpa_driver_ipw_init is called
> > ioctl[SIOCSIWPMKSA]: Operation not supported
> > Own MAC address: 00:12:f0:04:8c:e4
> > wpa_driver_ipw_set_wpa: enabled=1
> > ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> > ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > Failed to set encryption.
> > wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> > ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > Failed to set encryption.
> > wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> > ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > Failed to set encryption.
> > wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> > ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > Failed to set encryption.
> > wpa_driver_ipw_set_countermeasures: enabled=0
> > ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > wpa_driver_ipw_set_drop_unencrypted: enabled=1
> > ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > Setting scan request: 0 sec 100000 usec
> > Wireless event: cmd=0x8b06 len=8
> > RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
> > RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
> > State: DISCONNECTED -> SCANNING
> > Starting AP scan (specific SSID)
> > Scan SSID - hexdump_ascii(len=7):
> >     6f 72 6e 6c 77 70 61                              ornlwpa
> > Scan timeout - try to get results
> > Received 2070 bytes of scan results (10 BSSes)
> > Scan results: 10
> > Selecting BSS from priority group 0
> > 
> > --- snip --
> > --- snip ----
> > 
> > No suitable AP found.
> > 
> > Thanks,
> > Ernest
> > 
> > 
> > >
> > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160648
> > >
> > > 2005/6/21, Axel Thimm <Axel.Thimm at atrpms.net>:
> > > > On Mon, Jun 20, 2005 at 04:48:36PM -0400, Ernest L. Williams Jr. wrote:
> > > > >
> > > > > > > Here it is: Remember the google!
> > > > > > >
> > > > > > > http://atrpms.net/dist/fc4/
> > > > > > No.
> > > > > > That only fives a SPEC file.  Where are the RPMS?
> > > >
> > > > All rpms were removed and scheduled for a rebuild on FC4 proper.
> > > >
> > > > http://bugzilla.atrpms.net/show_bug.cgi?id=545
> > > >
> > > > > Okay, some more googling reveals:
> > > > > http://hostap.epitest.fi/wpa_supplicant
> > > > >
> > > > > I would like to get some source RPMS for FC4 but for now I will use the
> > > > > pure source distro.
> > > >
> > > > Use the src.rpms for FC3, or wait for ATrpms to launch official FC4
> > > > support. :)
> > > >
> > > > > Has anyone else tried the ipw2200+wpa combo with FC4?
> > > > >
> > > > >
> > > > >
> > > > > Ernest
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > > Ernest
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > Scott
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > > --
> > > > Axel.Thimm at ATrpms.net
> > > >
> > > >
> > > > --
> > > > fedora-test-list mailing list
> > > > fedora-test-list at redhat.com
> > > > To unsubscribe:
> > > > http://www.redhat.com/mailman/listinfo/fedora-test-list
> > > >
> > > >
> > > >
> > >
> > 
> >




More information about the fedora-list mailing list