Installation carte wifi

Bonjour,

J’ai installé ma carte wifi via le wiki suivant : wiki.debian.org/rt61pci

lspci | grep -i net
04:00.0 Ethernet controller: Atheros Communications Inc. Attansic L1 Gigabit Ethernet (rev b0)
07:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
07:09.0 Network controller: Ralink corp. RT2561/RT61 rev B 802.11g

Tout çà se trouve sur un serveur ; donc pas d’interface.

Question : comment configurer le wi directement dans le fichier de configuration qui va bien
Dans le wiki, on me dit de passer par : wpasupplicant, … je n’ai normalement pas besoin de çà !

J’ai oublié de dire que mon problème est le suivant :

iwlist scan
lo Interface doesn’t support scanning.

eth1 Interface doesn’t support scanning.

eth0 Interface doesn’t support scanning.

J’ai pas d’interface wifi détectée !! Or j’ai installé le firmware.
Le module est-il chargé ?

Excellente question en effet. Vérifier avec lsmod si le module rt61pci est bien chargé.

lsmod | more
Module Size Used by
ppdev 12651 0
lp 12797 0
nfsd 173890 2
nfs 265921 0
nfs_acl 12463 2 nfs,nfsd
auth_rpcgss 32143 2 nfs,nfsd
fscache 31978 1 nfs
lockd 57277 2 nfs,nfsd
sunrpc 143904 6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
vfat 17116 0
fat 44497 1 vfat
ext2 49826 1
loop 17810 0
snd_hda_codec_realtek 142274 1
arc4 12418 0
snd_hda_intel 21786 0
snd_hda_codec 63477 2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep 12943 1 snd_hda_codec
snd_pcm_oss 36181 0
snd_mixer_oss 17668 1 snd_pcm_oss
snd_pcm 53461 3 snd_pcm_oss,snd_hda_codec,snd_hda_intel
lm63 12903 0

Semblerait bien que non !

Quel est le module à charger ? rt61 ?

Comme indiqué dans la réponse de jcsm, et dans la page wiki que tu cites: [mono]rt61pci[/mono]

Pour charger (en étant root):

modprobe rt61

lsmod | more

Module Size Used by
ppdev 12651 0
lp 12797 0
nfsd 173890 2
nfs 265921 0
nfs_acl 12463 2 nfs,nfsd
auth_rpcgss 32143 2 nfs,nfsd
fscache 31978 1 nfs
lockd 57277 2 nfs,nfsd
sunrpc 143904 6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
vfat 17116 0
fat 44497 1 vfat
ext2 49826 1
loop 17810 0
lm63 12903 0
snd_hda_codec_realtek 142274 1
snd_hda_intel 21786 0
arc4 12418 2
rt61pci 22393 0
snd_hda_codec 63477 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 12943 1 snd_hda_codec

Semblerait ok, non ?

iwlist scan
lo Interface doesn’t support scanning.

eth1 Interface doesn’t support scanning.

wlan0 Interface doesn’t support scanning : Network is down

eth0 Interface doesn’t support scanning.

Ca donne quoi dans [mono]dmesg[/mono] après avoir chargé le module ?

En principe, il devrait le charger automatiquement au démarrage de la machine, puisqu’il est présent, et que ça correspond à ta carte. S’il ne le fait pas, c’est que qqch coince.

As-tu bien installé le firmware ?

Si non, (en ayant ajouté les dépots non-free au préalable)

dmesg | grep rt61pci
[ 6.868329] Registered led device: rt61pci-phy0::radio
[ 6.868430] Registered led device: rt61pci-phy0::assoc

apt-cache policy firmware-ralink
firmware-ralink:
Installé : 0.36+wheezy.1
Candidat : 0.36+wheezy.1
Table de version :
*** 0.36+wheezy.1 0
500 ftp.fr.debian.org/debian/ wheezy/non-free i386 Packages
100 /var/lib/dpkg/status

Ya du mieux !

ifconfig wlan0 up

iwlist scan

lo Interface doesn’t support scanning.

eth1 Interface doesn’t support scanning.

wlan0 Scan completed :
Cell 01 - Address: 5C:33:8E:CC:C1:EB
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=70/70 Signal level=-28 dBm
Encryption key:on
ESSID:"Livebox-086c"
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
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000278ea5067f
Extra: Last beacon: 772ms ago
IE: Unknown: 000C4C697665626F782D30383663
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F00
IE: Unknown: 2D1A4C101BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606080800000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD0A00037F04010020000000
IE: Unknown: 0706465220010D14
IE: Unknown: DD880050F204104A000110104400010210570001001041000100103B00010310470010405A9B96086C405A9B96086C9B96086C10210005536167656D102300084C697665626F7832102400084C697665626F78321042000A414E31333235343235361054000800060050F20400011011000D4C697665626F78322D30383643100800020086103C000101

eth0 Interface doesn’t support scanning.

Maintenant, que mettre dans le fichier /etc/network/interfaces ?

J’avais pensé à cela :

auto wlan0=wifi-maison
iface wifi-maison inet dhcp
wpa-ssid LeNomDuRéseau
wpa-psk LaclefDeCryptageWPA

J’ai rebooté et à nouveau j’ai

iwlist scan

lo Interface doesn’t support scanning.

eth1 Interface doesn’t support scanning.

wlan0 Interface doesn’t support scanning : Network is down

eth0 Interface doesn’t support scanning.

Donc le noyau ne se cgarge pas au démarrage.

Je ne me souviens plus de la commande : quelque chose comme echo rt61pci > ??? je crois ??

Je l’ai :

charger-un-module-au-demarrage-t6485.html

Bon ben le module est chargé au démarrage mais je dois faire un à chaque fois.
Pas pratique !!

Tu peux utiliser wicd pour configurer ta connexion depuis la console, ainsi que [mono]wicd-curses[/mono].
Ca voudra dire, ne pas renseigner les infos concernant la carte dans [mono]/etc/network/interfaces[/mono]

iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:off/any
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

wicd-curses : aucun reseau sans fil détecté

ok, j’avais pas indiqué le wlan0 dans les préférences.

Je reboot pour voir.

Eh bien je n’arrive pas à configurer wicd-curses

Il me demande sous peap with tkip/mschapv2
Identité : j’ai mis l’essid de la livebox
mot de passe : j’ai mis la clé de chiffrement wpa
emplacement certificat : j’ai rien mis.

Ensuite je clique sur ok puis connecter et rien ne se passe !

C’est pénible si près du but !