Problemi ndiswrapper

Marco Cassol cheis@tele2.it
Mer 1 Set 2004 19:33:46 CEST


Salve a tutti.
Ho un problema con la mia scheda wireless PCMCIA netgear MA521. 
Adotta un chipset rtl8180l supportato solo dal kernel 2.4.X.
Vorrei farla funzionare su Debian con kernel 2.6.8.1 per questo ho
provato con ndiswrapper. Installato il programma e il driver per XP 
NET8180.INF, carico il modulo di ndiswrapper e la lucetta di 
linkaggio della scheda si accende. I problemi sorgono ora.
Appena caricato il modulo ho la situazione:

#tail -f /var/log/messages
Sep  1 19:04:00 localhost kernel: NET: Registered protocol family 10
Sep  1 19:04:00 localhost kernel: Disabled Privacy Extensions on device
c04e7140(lo)
Sep  1 19:04:00 localhost kernel: IPv6 over IPv4 tunneling driver
Sep  1 19:16:27 localhost kernel: ndiswrapper version 0.10 loaded
(preempt=yes,smp=yes)
Sep  1 19:16:27 localhost kernel: PCI: Enabling device 0000:07:00.0
(0000 -> 0003)
Sep  1 19:16:27 localhost kernel: ACPI: PCI interrupt 0000:07:00.0[A] ->
GSI 11 (level, low) -> IRQ 11
Sep  1 19:16:27 localhost kernel: ndiswrapper: using irq 11
Sep  1 19:16:28 localhost kernel: wlan0: ndiswrapper ethernet device
00:09:5b:63:9d:43 using driver rtl8180.sys
Sep  1 19:16:28 localhost kernel: ndiswrapper device wlan0 supports WPA
with AES/CCMP and TKIP ciphers
Sep  1 19:16:28 localhost kernel: ndiswrapper: driver rtl8180.sys
(Realtek,07/09/2004,5.170.0709.2004) added

Che dovrebbe esser corretta.

poi faccio

#iwconfig wlan0 essid Wireless channel 7

#dhclient wlan0
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

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:09:5b:63:9d:43
Sending on   LPF/wlan0/00:09:5b:63:9d:43
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.254
SIOCADDRT: File exists
bound to 192.168.0.4 -- renewal in 129600 seconds.



#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:18:75:0E:61
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:18ff:fe75:e61/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:1533 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1291 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1324353 (1.2 MiB)  TX bytes:166545 (162.6 KiB)
          Interrupt:11 Base address:0xa800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28440 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28440 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3875182 (3.6 MiB)  TX bytes:3875182 (3.6 MiB)

wlan0     Link encap:Ethernet  HWaddr 00:09:5B:63:9D:43
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::209:5bff:fe63:9d43/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:890 (890.0 b)  TX bytes:720 (720.0 b)
          Interrupt:11 Memory:31000000-310000ff


Ma se pingo il mio gateway dopo aver staccato il cavo della scheda 
di rete ottengo:

# ping -c 3 192.168.0.254
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
>From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
>From 192.168.0.3 icmp_seq=2 Destination Host Unreachable
>From 192.168.0.3 icmp_seq=3 Destination Host Unreachable

--- 192.168.0.254 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time
1998ms
, pipe 3


Vedo che la richiesta di ping è fatta da 192.168.0.3 che è la scheda
di rete scollagata, ma cosa devo fare adesso?

Grazie mille ancora, Marco.




Maggiori informazioni sulla lista blug