Page 1 sur 1

[wifi] Comment connaitre le firmware a installer?

Publié : lun. 30 juil. 2012, 02:20
par Asragoth
Bonjour!

Aprés mon post précédant concernant la connexion filiaire, c'est désormais le wifi qui pose un petit soucis!
Mon ordinateur est toujours un Asus p53S, la carte wifi est une Intel Centrino Wireless-N 100.
En me renseignant sur internet j'ai appris qu'il fallait telecharger des paquets sur le site de Intel (chose faite), mais ces derniers pour fonctionner ont besoin que le firmware soit installé (https://wiki.archlinux.org/index.php/Wireless_Setup).

Mon probleme: je ne parviens pas à comprendre comment identifier le firmware qu'il me faut. :(

En vous remerciant d'avance :)

Re: [wifi] Comment connaitre le firmware a installer?

Publié : lun. 30 juil. 2012, 09:33
par benjarobin
Avec un peu de chance il te suffit d'installer linux-firmware, désolé je n'ai pas eu le temps de vérifier.

Re: [wifi] Comment connaitre le firmware a installer?

Publié : lun. 30 juil. 2012, 09:35
par FoolEcho
Salut,
Il te suffit de regarder la sortie de lsusb ou lspci: https://wiki.archlinux.org/index.php/Wi ... _Supported. :copain:
Tu as aussi hwinfo (à installer et plus direct car il te montrera le driver ou des infos pour le trouver Model/Vendor/Device): hwinfo --netcard.
Quant au firmware, c'est selon (si le kernel contient le pilote, il est très probable que tu n'aies rien de plus à installer).

@benjarobin: fini le temps où il fallait installer linux-firmware, il est dans les dépendances du kernel. ;-)

Re: [wifi] Comment connaitre le firmware a installer?

Publié : lun. 30 juil. 2012, 12:38
par Asragoth
Merci pour vos réponses! :D
Mais malheureusement je ne parvient toujours pas à voir quel est le firmware :oops:

lorsque j'utilises lspci pour regarder ma carte wifi:

Code : Tout sélectionner

[asragoth@Hades ~]$ lspci | grep -i net
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 100
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Les deux cartes sont bien reconnus, j'ai déjà installé les drivers de la carte ethernet et tout fonctionne!
Malheureusement pour la carte wifi les choses ne sont pas encore au point. :(
Voila le résultat de la commande hwinfo:

Code : Tout sélectionner

[asragoth@Hades ~]$ hwinfo --netcard
21: PCI 300.0: 0282 WLAN controller                             
  [Created at pci.319]
  Unique ID: y9sn.+jsAHpENN+F
  Parent ID: qTvu.3QqWBdH2ovE
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Model: "Intel WLAN controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x08ae 
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1005 
  Driver: "iwlwifi"
  Driver Modules: "iwlwifi"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xde200000-0xde201fff (rw,non-prefetchable)
  IRQ: 44 (no events)
  HW Address: 78:92:9c:85:9a:0a
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v00008086d000008AEsv00008086sd00001005bc02sc80i00"
  Driver Info #0:
    Driver Status: iwlwifi is active
    Driver Activation Cmd: "modprobe iwlwifi"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #14 (PCI bridge)

22: PCI 400.0: 0200 Ethernet controller
  [Created at pci.319]
  Unique ID: rBUF.bwA1JFvBJLB
  Parent ID: HnsE.BkNW17av+Y0
  SysFS ID: /devices/pci0000:00/0000:00:1c.5/0000:04:00.0
  SysFS BusID: 0000:04:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168B PCI Express Gigabit Ethernet controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x1277 
  Revision: 0x06
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eth0
  I/O Ports: 0xa000-0xafff (rw)
  Memory Range: 0xd2104000-0xd2104fff (ro,non-prefetchable)
  Memory Range: 0xd2100000-0xd2103fff (ro,non-prefetchable)
  IRQ: 45 (2931 events)
  HW Address: c8:60:00:25:33:ee
  Link detected: yes
  Module Alias: "pci:v000010ECd00008168sv00001043sd00001277bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #15 (PCI bridge)
Et j'en profites aussi pour préciser que le driver fournit par intel est sous forme d'un fichier ".ucode", que l'on doit placer dans /lib/firmware (chose déjà faite, mais il ne semble pas lancer).
Voila le README:

Code : Tout sélectionner

Intel Wireless WiFi Link 100AGN Adapter
Copyright (C) 2006-2010 Intel Corporation.  All rights reserved.

Microcode Package README.iwlwifi-100-ucode

INDEX

1. OVERVIEW
2. INSTALLATION
3. LICENSE


1. OVERVIEW

The file iwlwifi-100-5.ucode provided in this package must be
present on your system in order for the Intel Wireless WiFi Link
AGN driver for Linux (iwlagn) to operate on your system.

The "-5" in the filename reflects an interface/architecture version number.
It will change only when changes in new uCode releases make the new uCode
incompatible with earlier drivers.

On adapter initialization, and at varying times during the uptime of
the adapter, the microcode is loaded into the memory on the network
adapter.  The microcode provides the low level MAC features including
radio control and high precision timing events (backoff, transmit,
etc.) while also providing varying levels of packet filtering which can
be used to keep the host from having to handle packets that are not of
interest given the current operating mode of the device.

2. INSTALLATION

The iwlagn driver will look for the file iwlwifi-100-5.ucode using the
kernel's firmware_class infrastructure. More information can be found under
Documentation/firmware_class in kernel source. In order to function
correctly, you need to have this support enabled in your kernel.  When
you configure the kernel, you can find this option in the following
location:

        Device Drivers ->
                Generic Driver Options ->
                        Userspace firmware loading support


You can determine if your kernel currently has firmware loader support
by looking for the CONFIG_FW_LOADER definition on your kernel's
.config.

In addition to having the firmware_class support in your kernel, you
must also have a working udev and uevent infrastructure configured.
The steps for installing and configuring udev are very
distribution specific.

Once you have the firmware loader in place (or if you aren't sure and
you just want to try things to see if it works), you need to install
the microcode file into the appropriate location.

Where that appropriate location is depends (again) on your system
distribution.  You can typically find this location by looking in the
udev scripts of your distro, the default is /lib/firmware.

Installation of the firmware is simply:

        % cp iwlwifi-100-5.ucode /lib/firmware

You can now load the driver (see the INSTALL and README.iwlwifi provided with
the iwlwifi package for information on building and using that driver.)

3. LICENSE

The microcode in this package (iwlwifi-100-5.ucode) is provided under the
terms of the following license (available in the file
LICENSE.iwlwifi-100-ucode):

Copyright (c) 2006-2010, Intel Corporation.
All rights reserved.

Redistribution.  Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:

* Redistributions must reproduce the above copyright notice and the
  following disclaimer in the documentation and/or other materials
  provided with the distribution.
* Neither the name of Intel Corporation nor the names of its suppliers
  may be used to endorse or promote products derived from this software
  without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of this software
  is permitted.

Limited patent license.  Intel Corporation grants a world-wide,
royalty-free, non-exclusive license under patents it now or hereafter
owns or controls to make, have made, use, import, offer to sell and
sell ("Utilize") this software, but solely to the extent that any
such patent is necessary to Utilize the software alone, or in
combination with an operating system licensed under an approved Open
Source license as listed by the Open Source Initiative at
http://opensource.org/licenses.  The patent license shall not apply to
any other combinations which include this software.  No hardware per
se is licensed hereunder.

DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
Je précise aussi que j'utilise Gnome 3 et que je n'ai aucune icone (en haut à droite) indiquant que je suis relié au réseau, et ce même lorsque je suis relié en filiaire! Je ne sais pas si il est util de préciser cela ou si ça n'a aucun rapport, mais au moins je vous aurez tout dit! :)

Encore merci pour votre aide! :wink:

Re: [wifi] Comment connaitre le firmware a installer?

Publié : lun. 30 juil. 2012, 12:46
par tuxce
Normalement, si le module a besoin d'un firmware qu'il ne trouve pas, il te l'indique dans les message (/var/log/everything.log)
Comment tu sais qu'il t'en faut un ?
En ce qui concerne gnome, l'icône à laquelle tu fais allusion fait partie de networkmanager, vu que ce n'est pas ce que t"utilises, c'est normal qu'elle n'apparaisse pas.

Re: [wifi] Comment connaitre le firmware a installer?

Publié : lun. 30 juil. 2012, 13:01
par FoolEcho
Pour ce qui est du wifi, tu n'as à priori besoin de rien de plus que de configurer ta connexion (il suffit de vérifier que ton interface réseau est présente et active: ip addr ou ifconfig -a), cf. netcfg, networkmanager ou wicd selon ta préférence.

Re: [wifi] Comment connaitre le firmware a installer?

Publié : lun. 30 juil. 2012, 13:06
par Ypnose
Je sais que ce n'est pas le sujet mais j'ai exactement la même carte ethernet, et pas besoin d'installer un driver additionnel.
Normalement, il est inclus dans le kernel.