Bonjour,
Ma carte trendnet wifi (carte pcbus (ancien pcmcia) trendnet tew421 B1) ne
se connecte pas au réseau alors qu’elle fonctionne sur le même pc portable
(thinkpad t23) sous MSwindows.
J’ai déjà fait un pas en compilant le noyau 2.6.18 avec le PCMCIA : du coup
ma carte est détectée avec lspci.
root#lspci
[...]
07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
J’ai découvert que c’est le pilote windows qui fonctionne avec Ndiswrapper pour cette carte.
Voici ce que ça donne :
[code]root@thinkdebian:~#ndiswrapper -l
Installed drivers:
mrv8000c driver installed, hardware present
root@thinkdebian:~#lsmod | grep ndiswrapper
ndiswrapper 175572 0
usbcore 113220 3 ndiswrapper,uhci_hcd
[/code]
De plus, le mini howto de ‘pcmciautils’ indique qu’il faut installer sysfsutils, ce que j’ai fait:
apt-get install pcmciautils sysfsutils module-init-tools
C’est lors du ifup wlan0 que ça se corse.
[code]root@thinkdebian:~#ifup wlan0
Error for wireless request “Set Mode” (8B06) :
SET failed on device wlan0 ; No such device.
Error for wireless request “Set Encode” (8B2A) :
SET failed on device wlan0 ; No such device.
Error for wireless request “Set ESSID” (8B1A) :
SET failed on device wlan0 ; No such device.
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
exiting.
Failed to bring up wlan0.
[/code]
Voici la config du réseau :
[code]root@thinkdebian:~#cat /etc/network/interfaces
#--------------1. The loopback network interface
auto lo
iface lo inet loopback
#--------------2. The primary network interface
– pour internet et dhcp
auto eth0
iface eth0 inet dhcp
#--------------3. WIFI
(pour trouver ESSID : iwlist scanning)
auto wlan0
iface wlan0 inet dhcp
wireless-mode managed
wireless-essid laurent2
#wireless-keymode restricted
wireless-key ***************************************
[/code]
Une derniere indication de l’erreur puisque pas de wlan0 ici :
[code]root@thinkdebian:~#iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
[/code]
Voici en prime un dmesg qui ne doit pas donner d’info, mais on ne sait jamais…
dmesg | tail -n 50
uhci_hcd 0000:00:1d.1: irq 11, io base 0x00001820
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:1d.2
PCI: Sharing IRQ 11 with 0000:00:1f.1
PCI: Sharing IRQ 11 with 0000:02:02.0
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: irq 11, io base 0x00001840
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Enabling device 0000:00:1f.5 (0000 -> 0001)
PCI: Found IRQ 11 for device 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:02:00.1
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 432 usecs
intel8x0: measured clock 6199074 rejected
intel8x0: clocking to 48000
PCI: Found IRQ 11 for device 0000:02:08.0
e100: eth0: e100_probe: addr 0xc0200000, irq 11, MAC addr 00:D0:59:B6:2E:19
Adding 536720k swap on /dev/hda8. Priority:-1 extents:1 across:536720k
Non-volatile memory driver v1.2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
pcmcia: Detected deprecated PCMCIA ioctl usage from process: discover.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cs: memory probe 0xf0000000-0xf7ffffff: excluding 0xf0000000-0xf7ffffff
cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xd01fffff
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
TSC appears to be running slowly. Marking it as unstable
Time: pit clocksource has been installed.
parport0: PC-style at 0x3bc [PCSPP(,...)]
lp0: using parport0 (polling).
PCI: Found IRQ 11 for device 0000:01:00.0
PCI: Sharing IRQ 11 with 0000:00:1d.0
PCI: Sharing IRQ 11 with 0000:02:00.0
[drm] Initialized savage 2.4.1 20050313 on minor 0
mtrr: base(0xe4000000) is not aligned on a size(0x5000000) boundary
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
ndiswrapper version 1.28 loaded (preempt=yes,smp=no)
usbcore: registered new driver ndiswrapper
pccard: card ejected from slot 1
pccard: CardBus card inserted into slot 1