Fonctionnement wifi assez étrange

Bonjour.

Je viens d’installer Debian 7 sur Debian 6. je n’avais pas de problème de connexion wifi mais maintenant il se passe quelque chose de bizarre.

Si je ne renseigne pas le fichier /etc/network/interfaces manuellement avec wlan0 il m’est impossible d’activer matériellement le wifi et impossible donc de scanner le moindre réseau. Si ce fichier est renseigné le wifi est activé mais je ne peux me connecter qu’en ligne de commande. Je précise que j’utilise lightdm, Mate et wicd ou alors wifi-radar.

Sans renseigner /etc/network/interfaces j’ai ceci :

# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcprenseigner /etc/network/interfaces
# lshw -c Network
  *-network DÉSACTIVÉ     
       description: Interface réseau sans fil
       produit: RTL8188CE 802.11b/g/n WiFi Adapter
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:02:00.0
       nom logique: wlan0
       version: 01
       numéro de série: e0:b9:a5:4a:3e:dd
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192ce driverversion=3.2.0-4-amd64 firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       ressources: irq:18 portE/S:e000(taille=256) mémoire:f7d00000-f7d03fff
# iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:on
          
eth0      no wireless extensions.

En renseignant /etc/network/interfaces de cette façon j’ai ceci :

# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

iface wlan0 inet dhcp
wpa-psk 309748b68d710879cce10696e68e426a456079739879c747896fcc99423c400c
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid freebox_vilarelle

auto wlan0
# iwlist scan
lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 8A:4C:E5:D0:81:C0
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=59/70  Signal level=-51 dBm  
                    Encryption key:on
                    ESSID:"freebox_vilarelle"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000151f9e148
                    Extra: Last beacon: 40ms ago
                    IE: Unknown: 001166726565626F785F76696C6172656C6C65
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B070700000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4300000000
                    IE: Unknown: DD1E00904C336E1017FFFF000001000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B070700000000000000000000000000000000000000

eth0      Interface doesn't support scanning.

Je précise que :

$ aptitude show firmware-iwlwifi Paquet : firmware-iwlwifi Nouveau: oui État: installé

$ aptitude show firmware-realtek Paquet : firmware-realtek Nouveau: oui État: installé Automatiquement installé: non

$ aptitude show wifi-radar Paquet : wifi-radar État: installé Automatiquement installé: non

A+

C’est résolu ici : debian-facile.org/viewtopic.php?id=7284