Wiki source for DocWifiIwl3945


Show raw source

Some documentation for new driver iwl3945 for chipset wifi (as given by ##lspcidrake -v##)
unknown : Intel Corporation|PRO/Wireless 3945ABG Network Connection [NETWORK_OTHER] (vendor:8086 device:4222 subv:103c subd:135c)
using kernel Linux benLapix.eagle-usb.org 2.6.22-3mdv #1 SMP Tue Jul 31 16:25:36 CEST 2007 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GNU/Linux

===some links about iwl3945===
~- http://yohofr.wordpress.com/2007/08/03/utiliser-le-kernel-2622-avec-mandriva-20071-partie-1/ [fr] [ [[http://yoho.wordpress.com/2007/08/03/using-kernel-2622-with-mandriva-20071-part-1/ en part]] ]
~- http://intellinuxwireless.org/?p=iwlwifi&n=howto-iwlwifi [en] documentation
~- http://intellinuxwireless.org/tar.php?p=iwlwifi&f=README.iwlwifi&a=iwlwifi-0.1.8.tgz [en] documentation obtained from link CIRL at http://intellinuxwireless.org/?p=iwlwifi&n=Downloads

===some tests for iwl3945 - status: scan works===
~- First step : install [[http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/devel/cooker/x86_64/media/non-free/release/iwlwifi-3945-ucode-2.14.4-1mdv2008.0.noarch.rpm iwlwifi-3945-ucode package]] then some commands to check if it can works (well 0.1.1d does not seem that stable... and now ipw3945 has to be recompiled to work with kernel 2.6.22)
%%ifconfig wlan0_rename up
iwlist wlan0_rename scan
Warning: Driver for device wlan0_rename has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...

wlan0_rename Scan completed :
Cell 01 - Address: 00:16:38:EE:67:4F
ESSID:"ALISEA-SF-EE6744"
Mode:Master
Channel:6
Frequency:2.437 GHz
Quality=49/100 Signal level=-79 dBm Noise level=-127 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=00000097b6f630f6
Cell 02 - Address: 00:12:17:B3:55:B5
ESSID:"wifibaud"
Mode:Master
Channel:9
Frequency:2.452 GHz
Quality=82/100 Signal level=-52 dBm Noise level=-127 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000007b4bae745d8
Cell 03 - Address: A2:D1:43:A6:1A:C0
ESSID:""
Mode:Master
Channel:12
Frequency:2.467 GHz
Quality=37/100 Signal level=-87 dBm Noise level=-127 dBm
Encryption key:on
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000032f35ceba9
Cell 04 - Address: A2:D1:43:A6:1A:C1
ESSID:""
Mode:Master
Channel:12
Frequency:2.467 GHz
Quality=31/100 Signal level=-90 dBm Noise level=-127 dBm
Encryption key:on
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000032f35cef6a
Cell 05 - Address: A2:D1:43:A6:1A:C3
ESSID:"freephonie"
Mode:Master
Channel:12
Frequency:2.467 GHz
Quality=31/100 Signal level=-90 dBm Noise level=-127 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : 802.1X
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000032f35cf913
Cell 06 - Address: A2:D1:43:A6:1A:C2
ESSID:""
Mode:Master
Channel:12
Frequency:2.467 GHz
Quality=33/100 Signal level=-89 dBm Noise level=-127 dBm
Encryption key:on
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000032f35cf470

%%
Relevant result of ##ifconfig -a## : (I removed eth0 and lo interfaces)
%%eth2 Link encap:UNSPEC HWaddr 00-18-DE-33-C9-22-00-00-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0_rename Link encap:Ethernet HWaddr 00:18:DE:33:C9:22
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
%%
=> eth2 should not be remaining and the name should be wlan0 (maybe a problem with udev ? according to yoho's comment : udev renames wmaster0 as eth2 then wlan0 as eth2, hence the kernel suggesting to use wlan0_rename to avoid the conflict).
~- udevcontrol log_priority=debug # to enable udev debugging, then unload iwl3945 and modprobe iwl3945 to see debug log for udev
~- modprobe iwl3945 debug=0x43fff # to see debug at loading the driver

The result of ##modprobe iwl3945## in /var/log/messages :
%%iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 0.1.1d
iwl3945: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Unhandled INTA bits 0x04000000
iwl3945: Disabled INTA bits 0x04000000 were pending
iwl3945: with FH_INT = 0x00000000
iwl3945: Channel 14 [2.4GHz] is Tx only -- skipping.
iwl3945: Channel 183 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 184 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 185 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 187 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 188 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 189 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 192 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 196 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 7 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 8 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 11 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 12 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 16 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 145 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 149 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 153 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 157 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 161 [5.2GHz] is Tx only -- skipping.
iwl3945: Channel 165 [5.2GHz] is Tx only -- skipping.
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
%%

# ##iwlist wlan0_rename scan## # strange error :/ I'll have to upgrade wireless-tools-28-3mdv2008.0
Warning: Driver for device wlan0_rename has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...
=> It works after doing ##ifconfig wlan0_rename up## (see above)

===some other tests - status: does not associate===
check http://www.bughost.org/bugzilla/show_bug.cgi?id=1210
I'm using WPA TKIP/PSK encryption, currently not working (wpa_supplicant-0.5.8-1mdv2008.0), I copied /etc/sysconfig/network-scripts/ifcfg-eth2 to /etc/sysconfig/network-scripts/ifcfg-wlan0_rename (changing the DEVICE=eth2 to wlan0_rename of course)
%%ifup wlan0_rename
Wireless device wlan0_rename is configured with a roaming daemon but isn't associated
Determining IP information for wlan0_rename... failed; no link present. Check cable?%%


===conseils de blino===
~- tu aura des restes de l'ancienne interface avec l'adresse MAC dans /etc/udev/rules.d/61-net_config.rules => j'ai mis wlan0_rename
~-la version 1.2.2 de ipw3945 fonctionne en déchargeant le pilote par ##modprobe -r iwl3945## (ajouter un ##blacklist ipw3945## et un ##blacklist iwl3945## à ##/etc/modprobe.conf##), le prendre à partir de http://ipw3945.sourceforge.net/#downloads puis make ; sudo make install
~- ipw3945d (le "regulatory daemon", en clair un blob propriétaire :/) est arrêté automatiquement au modprobe -r ipw3945 (avec le paquet ipw3945d-1.7.22-3mdv2007.1)
~-peut-être besoin d'une nouvelle version de wpa_suplicant pour que iwl3945 fonctionne en WPA TKIP PSK ?
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki