(Courriels de diversion: <profession@ebene-vantons.com> <dirigerez@craindre-pronostiquerent.com> <evanouiras@ingereriez-ressasseraient.com> <pivoterent@frapperont-surmontees.com> <regrets@parachuteront-chats.com> <gargariserait@standardisees-catimini.com> <recopiez@celebrissimes-singularisait.com> <bouquetieres@eventuels-recacheter.com> <troublee@surfaient-interversions.com> <interiorisais@cohabiteras-conventionnes.com> )
Le dimanche 12 octobre 2008, Claude Micouin a écrit : > D'accord, je commence la version longue. > La cité U. est équipée d'un réseau Wifi (sans mot de passe à ce que j'ai > compris). L'ordi est sous Debian Lenny, mais il est fort probable que j'y > mette une Kubuntu (en plus ou à la place) le samedi en question. > J'ai donc acheté une clé wifi D-link Dwl-G122 (révision C1) compatible > Linux: c'est ce qui marqué sur la boite (avec un joli pingouin). > http://www.ldlc.com/fiche/PB00023863.html > Mais lors de la tentative de connexion au réseau, ça a été tintin... > Idem avec une Knoppix. Bonsoir, ma fille a fait lancé quelques commandes sous root et j'ai copié les résultats. Vous devriez y voir plus clair que moi: j'ai juste compris que le port usb où est branchée la clé est détecté; des modules concernant la clé ont l'air d'être chargés (rt73); par contre, iwconfig et iwlist ne semblent rien renvoyer de bon. A) D'abord avec un branchement de la clé sur l'ordi déjà démarré: # lsusb Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 04d9:048e Holtek Semiconductor, Inc. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 004: ID 07d1:3c03 D-Link System DWL-G122 802.11g Adapter [ralink rt73] Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub # lsmod Module Size Used by arc4 1824 2 ecb 2624 2 crypto_blkcipher 15236 1 ecb rt73usb 22432 0 crc_itu_t 2080 1 rt73usb rt2x00usb 9792 1 rt73usb rt2x00lib 22592 2 rt73usb,rt2x00usb firmware_class 6816 1 rt2x00lib rfkill 5652 1 rt2x00lib input_polldev 3752 1 rt2x00lib mac80211 139680 2 rt2x00usb,rt2x00lib cfg80211 21576 2 rt2x00lib,mac80211 radeon 118688 2 drm 65256 3 radeon ppdev 6468 0 lp 8164 0 ipv6 235300 18 video 16400 0 output 2912 1 video ac 4196 0 battery 10180 0 loop 12748 0 parport_pc 22500 1 parport 30988 3 ppdev,lp,parport_pc psmouse 32336 0 snd_hda_intel 324248 0 serio_raw 4740 0 snd_pcsp 8576 0 snd_pcm_oss 32800 0 snd_mixer_oss 12320 1 snd_pcm_oss k8temp 4064 0 snd_pcm 62628 3 snd_hda_intel,snd_pcsp,snd_pcm_oss snd_timer 17800 1 snd_pcm snd 45604 6 snd_hda_intel,snd_pcsp,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer i2c_piix4 7216 0 i2c_core 19828 1 i2c_piix4 soundcore 6368 1 snd snd_page_alloc 7816 2 snd_hda_intel,snd_pcm shpchp 25528 0 pci_hotplug 23460 1 shpchp ati_agp 6220 0 agpgart 28776 2 drm,ati_agp button 6064 0 led_class 3908 1 rt2x00lib evdev 8000 3 wmi 6440 0 ext3 105256 3 jbd 39444 1 ext3 mbcache 7108 1 ext3 dm_mirror 15104 0 dm_log 8452 1 dm_mirror dm_snapshot 14340 0 dm_mod 46184 3 dm_mirror,dm_log,dm_snapshot usb_storage 75936 0 usbhid 35904 0 hid 33184 1 usbhid ff_memless 4392 1 usbhid sg 26964 0 ata_generic 4676 0 sd_mod 22200 5 atiixp 3396 0 [permanent] sr_mod 13316 0 cdrom 30176 1 sr_mod floppy 47716 0 ohci1394 24944 0 ieee1394 75800 1 ohci1394 ide_pci_generic 3908 0 [permanent] ehci_hcd 28428 0 ohci_hcd 18500 0 usbcore 118160 7 rt73usb,rt2x00usb,usb_storage,usbhid,ehci_hcd,ohci_hcd ahci 23176 4 libata 140416 2 ata_generic,ahci scsi_mod 129356 5 usb_storage,sg,sd_mod,sr_mod,libata dock 8272 1 libata sky2 37380 0 thermal 15228 0 processor 32576 1 thermal fan 4164 0 thermal_sys 10856 4 video,thermal,processor,fan ide_generic 2464 0 [permanent] ide_core 92628 3 atiixp,ide_pci_generic,ide_generic # ifconfig eth0 Link encap:Ethernet HWaddr 00:1c:25:4e:ab:6f UP 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) Interruption:19 lo Link encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:Hôte UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:540 errors:0 dropped:0 overruns:0 frame:0 TX packets:540 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:39644 (38.7 KiB) TX bytes:39644 (38.7 KiB) # iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11 ESSID:"" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Encryption key:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 # iwlist scan lo Interface doesn't support scanning. eth0 Interface doesn't support scanning. wmaster0 Interface doesn't support scanning. wlan0 Interface doesn't support scanning : Network is down ============================================ ============================================ ============================================ B) Puis avec la clé branchée avant le démarrage de l'ordi (cf. dmesg différent) # lsusb Bus 006 Device 004: ID 07d1:3c03 D-Link System DWL-G122 802.11g Adapter [ralink rt73] Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 003: ID 04d9:048e Holtek Semiconductor, Inc. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 003: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub # lsmod Module Size Used by radeon 118688 2 drm 65256 3 radeon ppdev 6468 0 lp 8164 0 ipv6 235300 18 video 16400 0 output 2912 1 video ac 4196 0 battery 10180 0 loop 12748 0 arc4 1824 2 ecb 2624 2 crypto_blkcipher 15236 1 ecb rt73usb 22432 0 crc_itu_t 2080 1 rt73usb rt2x00usb 9792 1 rt73usb rt2x00lib 22592 2 rt73usb,rt2x00usb firmware_class 6816 1 rt2x00lib rfkill 5652 1 rt2x00lib parport_pc 22500 1 parport 30988 3 ppdev,lp,parport_pc input_polldev 3752 1 rt2x00lib pcspkr 2432 0 mac80211 139680 2 rt2x00usb,rt2x00lib psmouse 32336 0 snd_hda_intel 324248 4 serio_raw 4740 0 cfg80211 21576 2 rt2x00lib,mac80211 snd_pcm_oss 32800 0 snd_mixer_oss 12320 1 snd_pcm_oss k8temp 4064 0 snd_pcm 62628 3 snd_hda_intel,snd_pcm_oss snd_timer 17800 2 snd_pcm snd 45604 11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 6368 1 snd snd_page_alloc 7816 2 snd_hda_intel,snd_pcm i2c_piix4 7216 0 i2c_core 19828 1 i2c_piix4 shpchp 25528 0 pci_hotplug 23460 1 shpchp button 6064 0 ati_agp 6220 0 agpgart 28776 2 drm,ati_agp led_class 3908 1 rt2x00lib evdev 8000 3 wmi 6440 0 ext3 105256 3 jbd 39444 1 ext3 mbcache 7108 1 ext3 dm_mirror 15104 0 dm_log 8452 1 dm_mirror dm_snapshot 14340 0 dm_mod 46184 3 dm_mirror,dm_log,dm_snapshot usb_storage 75936 0 sg 26964 0 usbhid 35904 0 hid 33184 1 usbhid ff_memless 4392 1 usbhid sr_mod 13316 0 cdrom 30176 1 sr_mod sd_mod 22200 5 ata_generic 4676 0 atiixp 3396 0 [permanent] floppy 47716 0 ohci1394 24944 0 ieee1394 75800 1 ohci1394 ide_pci_generic 3908 0 [permanent] ahci 23176 4 ehci_hcd 28428 0 ohci_hcd 18500 0 libata 140416 2 ata_generic,ahci scsi_mod 129356 5 usb_storage,sg,sr_mod,sd_mod,libata dock 8272 1 libata usbcore 118160 7 rt73usb,rt2x00usb,usb_storage,usbhid,ehci_hcd,ohci_hcd sky2 37380 0 thermal 15228 0 processor 32576 1 thermal fan 4164 0 thermal_sys 10856 4 video,thermal,processor,fan ide_generic 2464 0 [permanent] ide_core 92628 3 atiixp,ide_pci_generic,ide_generic # ifconfig eth0 Link encap:Ethernet HWaddr 00:1c:25:4e:ab:6f UP 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) Interruption:19 lo Link encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:Hôte UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:39 errors:0 dropped:0 overruns:0 frame:0 TX packets:39 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:2368 (2.3 KiB) TX bytes:2368 (2.3 KiB) # iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11 ESSID:"" Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated Tx-Power=0 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Encryption key:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 # iwlist scan lo Interface doesn't support scanning. eth0 Interface doesn't support scanning. wmaster0 Interface doesn't support scanning. wlan0 Interface doesn't support scanning : Network is down dmesg |grep usb [ 4.890321] usbcore: registered new interface driver usbfs [ 4.890321] usbcore: registered new interface driver hub [ 4.892776] usbcore: registered new device driver usb [ 4.977017] usb usb1: configuration #1 chosen from 1 choice [ 5.081972] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.081977] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.081980] usb usb1: Product: OHCI Host Controller [ 5.081982] usb usb1: Manufacturer: Linux 2.6.26-1-686 ohci_hcd [ 5.081984] usb usb1: SerialNumber: 0000:00:13.0 [ 5.141533] usb usb2: configuration #1 chosen from 1 choice [ 5.245421] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.245424] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.245426] usb usb2: Product: OHCI Host Controller [ 5.245428] usb usb2: Manufacturer: Linux 2.6.26-1-686 ohci_hcd [ 5.245430] usb usb2: SerialNumber: 0000:00:13.1 [ 5.305503] usb usb3: configuration #1 chosen from 1 choice [ 5.525411] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.525414] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.525416] usb usb3: Product: OHCI Host Controller [ 5.525418] usb usb3: Manufacturer: Linux 2.6.26-1-686 ohci_hcd [ 5.525420] usb usb3: SerialNumber: 0000:00:13.2 [ 5.585506] usb usb4: configuration #1 chosen from 1 choice [ 5.625343] usb 2-2: new low speed USB device using ohci_hcd and address 2 [ 5.716517] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.716517] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.716517] usb usb4: Product: OHCI Host Controller [ 5.716517] usb usb4: Manufacturer: Linux 2.6.26-1-686 ohci_hcd [ 5.716517] usb usb4: SerialNumber: 0000:00:13.3 [ 5.831466] usb 2-2: configuration #1 chosen from 1 choice [ 5.831466] usb 2-2: New USB device found, idVendor=04d9, idProduct=048e [ 5.831466] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 6.175467] usb 3-1: new full speed USB device using ohci_hcd and address 2 [ 6.368928] usb 3-1: configuration #1 chosen from 1 choice [ 6.368928] usb 3-1: New USB device found, idVendor=058f, idProduct=9360 [ 6.368928] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6.368928] usb 3-1: Product: USB Reader [ 6.368928] usb 3-1: Manufacturer: [ 6.368928] usb 3-1: SerialNumber: 2004888 [ 9.796037] usb usb5: configuration #1 chosen from 1 choice [ 9.911388] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 9.911391] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.911393] usb usb5: Product: OHCI Host Controller [ 9.911395] usb usb5: Manufacturer: Linux 2.6.26-1-686 ohci_hcd [ 9.911397] usb usb5: SerialNumber: 0000:00:13.4 [ 9.975366] usb usb6: configuration #1 chosen from 1 choice [ 10.111370] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002 [ 10.111373] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 10.111375] usb usb6: Product: EHCI Host Controller [ 10.111377] usb usb6: Manufacturer: Linux 2.6.26-1-686 ehci_hcd [ 10.111379] usb usb6: SerialNumber: 0000:00:13.5 [ 10.160435] usb 3-1: USB disconnect, address 2 [ 10.289452] usb 2-2: USB disconnect, address 2 [ 11.087470] usb 6-9: new high speed USB device using ehci_hcd and address 4 [ 11.358632] usb 6-9: configuration #1 chosen from 1 choice [ 11.358632] usb 6-9: New USB device found, idVendor=07d1, idProduct=3c03 [ 11.358632] usb 6-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 11.358632] usb 6-9: Product: 802.11 bg WLAN [ 11.358632] usb 6-9: Manufacturer: Ralink [ 11.358632] usbcore: registered new interface driver usb-storage [ 11.358632] usbcore: registered new interface driver hiddev [ 11.873980] usb 2-2: new low speed USB device using ohci_hcd and address 3 [ 12.062032] usb 2-2: configuration #1 chosen from 1 choice [ 12.062032] usb 2-2: New USB device found, idVendor=04d9, idProduct=048e [ 12.062032] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 12.062032] input,hidraw0: USB HID v1.10 Mouse [HID 04d9:048e] on usb-0000:00:13.1-2 [ 12.062032] usbcore: registered new interface driver usbhid [ 12.062032] usbhid: v2.6:USB HID core driver [ 12.330043] usb 3-1: new full speed USB device using ohci_hcd and address 3 [ 12.494044] usb 3-1: configuration #1 chosen from 1 choice [ 12.494044] usb 3-1: New USB device found, idVendor=058f, idProduct=9360 [ 12.494044] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 12.494044] usb 3-1: Product: USB Reader [ 12.494044] usb 3-1: Manufacturer: [ 12.494044] usb 3-1: SerialNumber: 2004888 [ 12.494044] usb-storage: device found at 3 [ 12.494044] usb-storage: waiting for device to settle before scanning [ 18.979992] usb-storage: device scan complete [ 21.625689] Registered led device: rt73usb-phy0:radio [ 21.625689] Registered led device: rt73usb-phy0:assoc [ 21.625689] Registered led device: rt73usb-phy0:quality [ 21.625905] usbcore: registered new interface driver rt73usb ========================================= ========================================= ========================================= Les captures d'écran de kwifimanager sont ici: http://essai.micouin.free.fr/Telechargement/capturewifi1.png http://essai.micouin.free.fr/Telechargement/capturewifi2.png Merci. A+ -- Claude Micouin mlnglst@free.fr http://astuce.linux.free.frJ'utilise la nouvelle orthographe recommandée par l'Académie française, et vous ? Merci de ne pas me joindre de textes aux formats "doc" ou "ppt", mais aux formats «html», «pdf», «rtf» ou «txt». ----------------------------------------------------------------- Les listes de diffusion du CULTe - Pour une informatique libre http://www.CULTe.org/listes/ Pour se desabonner: mailto:linux-31-unsubscribe@CULTe.org?subject=Cliquez_sur_ENVOYER