Dakar-Senegal 2011-2012 ACTIVATION DE LA CARTE WIFI SOUS

Transcription

Dakar-Senegal 2011-2012 ACTIVATION DE LA CARTE WIFI SOUS
Dakar-Senegal
2011-2012
ACTIVATION DE LA CARTE WIFI SOUS FEDORA 13
Introduction
Il est d'actualité que les systèmes Red-Hat(Fedora) ont souvent un problème d'intégraton des
pilotes Wi-Fi.Bien que les nouvelles versions l'intègrent, il n'est pas évident de les utiliser vu que
les noyaux ne sont pas stables.Nous vous proposons, par cette présente vous proposer une solution
toute simple pour pallier à ce problème.
1. Connaître le modèle de votre chipset broadcom
[root@glorius ~]# lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub
[8086:2a40] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated
Graphics Controller [8086:2a42] (rev 07)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics
Controller [8086:2a43] (rev 07)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4
[8086:2937] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5
[8086:2938] (rev 03)
00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6
[8086:2939] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller
#2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller
[8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1
[8086:2940] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2
[8086:2942] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3
[8086:2944] (rev 03)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5
[8086:2948] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1
[8086:2934] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2
[8086:2935] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3
[8086:2936] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller
#1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev
03)
00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller
[8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930]
(rev 03)
Gloria YAKETE
Licence-EC2LT
Dakar-Senegal
2011-2012
09:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet
Controller [11ab:4354] (rev 13)
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY
[14e4:4315] (rev 01)
2. Firmware
b43-openfwwf
Depuis Fedora 10 un firmware libre,un firmware openfwwf est disponible dans les dépôts pour
certains périphériques Wifi Broadcom.Ceux qui sont concernés sont:
- 4306
- 4311
- 4312
- 4318
- 4320
Le firmware peut être installer par:
#yum install b43-openfwwf
La commande suivante vous permet d'installer l'extracteur est nécessaire pour la suite:
# yum install b43-fwcutter
3. Extraction du firmware
Pour réaliser l'extraction du firmware, Il faut utiliser le fichier .sys du pilote windows. Cette
commande permet d'extraire les différents formats (pour b43 ou bcm43xx) du firmware dans le
répertoire /lib/firmware:
# b43-fwcutter -w /lib/firmware bcm*.sys
Télécharger et votre pilote et de l'activer:
[root@glorius ~]# wget -N http://mirror2.openwrt.org/sources/broadcom-wl4.150.10.5.tar.bz2
--2012-06-14 02:01:11-- http://mirror2.openwrt.org/sources/broadcom-wl4.150.10.5.tar.bz2
Résolution de mirror2.openwrt.org... 46.4.11.11
Connexion vers mirror2.openwrt.org|46.4.11.11|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 3888794 (3,7M) [application/x-bzip2]
Sauvegarde en : «broadcom-wl-4.150.10.5.tar.bz2»
100%[======================================>] 3 888 794
52,1K/s
ds 75s
2012-06-14 02:02:26 (50,8 KB/s) - «broadcom-wl-4.150.10.5.tar.bz2» sauvegardé
[3888794/3888794]
[root@glorius ~]# tar xjf broadcom-wl-4.150.10.5.tar.bz2
[root@glorius ~]# b43-fwcutter -w /lib/firmware broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o
This file is recognised as:
ID
: FW13
filename : wl_apsta_mimo.o
Gloria YAKETE
Licence-EC2LT
Dakar-Senegal
2011-2012
version : 410.2160
MD5
: cb8d70972b885b1f8883b943c0261a3c
Extracting b43/pcm5.fw
Extracting b43/ucode15.fw
Extracting b43/ucode14.fw
Extracting b43/ucode13.fw
Extracting b43/ucode11.fw
Extracting b43/ucode9.fw
Extracting b43/ucode5.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/lp0initvals15.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/lp0initvals14.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/lp0initvals13.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/n0initvals11.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/b0g0initvals5.fw
Ensuite,mettez à jour l'extracteur par la commande:
yum update b43-fwcutter
4. Chargement du module
C'est maintenant la version la plus courante et qui devrait donner de meilleurs résult. Elle utilise la
pile mac80211 qui permet une meilleure stabilité à long terme ainsi qu'une implémentation du
mode "point d'accès" (Master). Mais, avant de charger le module,listez les modules présents pour
voir si la plie y est:
[root@glorius ~]# lsmod | grep b43
Gloria YAKETE
Licence-EC2LT
Dakar-Senegal
b43
2011-2012
144851 0
mac80211
181939 1 b43
cfg80211
ssb
110977 2 b43,mac80211
41151 1 b43
mmc_core
51738 2 b43,ssb
-Décherger l'ancien module et charger le nouveau:
#ifconfig wlan0 down
#rmmod b43
#modprobe b43
-Faire les test:
#iwconfig
lo
no wireless extensions.
eth0
wlan0
ppp0
no wireless extensions.
IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
no wireless extensions.
#iwlist scan
lo
Interface doesn't support scanning.
eth0
Interface doesn't support scanning.
wlan0
Interface doesn't support scanning : Network is down
ppp0
Interface doesn't support scanning.
#dmesg | grep bcm
vous devez avoir votre interface de visible et voir votre point d'accès ainsi que les éventuels
réseaux voisins.
Si tout fonctionne bien, interdisez le chargement de l'ancienne version du module par:
Gloria YAKETE
Licence-EC2LT
Dakar-Senegal
2011-2012
#echo 'blacklist b43legacy' >> /etc/modprobe.d/blacklist
Gloria YAKETE
Licence-EC2LT

Documents pareils