Hi.

I have a problem with D-Link DWL-G510 Wireless PCI Adapter, my OS is fedora 6 (kernel-2.6.18-1.2798.fc6). I successful installed ndiswrapper 1.3.

After I configured:
+ depmod -a
+ modprobe ndiswrapper
+ iwconfig wlan0 essid KLP_WIRELESS
+ ifconfig wlan0 up
+ ndiswrapper -m

* Edit file: /etc/modprobe.conf, add a line "alias wlan0 ndiswrapper".

The information after configured:

[root@localhost ~]# ndiswrapper -l
netrt61g : driver installed
device (1814:0302) present


------------
[root@localhost ~]# ndiswrapper -v
utils version: 1.9
driver version: 1.31
vermagic: 2.6.18-1.2798.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1


------------
[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:15:E9:CD:EB:12
ESSID:"KLP_WIRELESS"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:71/100 Signal level:-50 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:bcn_int=400
Extra:atim=0

------------
[root@localhost ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:15:E9:A7:52:21
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:e9ff:fea7:5221/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:5 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:185 Memory:f0000000-f0008000

--------------
[root@localhost ~]# dmesg
Linux version 2.6.18-1.2798.fc6 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:37:32 EDT 2006
...
...
ndiswrapper version 1.31 loaded (preempt=no,smp=yes)
ndiswrapper: driver netrt61g (D-Link,06/04/2005, 1.00.00.0000) loaded
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 18 (level, low) -> IRQ 185
ndiswrapper: using IRQ 185
wlan0: ethernet device 00:15:e9:a7:52:21 using serialized NDIS driver: netrt61g, version: 0x0, NDIS version: 0x500, vendor: 'IEEE 802.11g Wireless Card.', 1814:0302.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK

...

GUI:

http://img406.imageshack.us/img406/3725/errorjg2.png

http://img205.imageshack.us/img205/670/error1eu1.png

I can't ping gateway (192.168.1.1):

[root@localhost ~]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.5 icmp_seq=2 Destination Host Unreachable

but i can ping my address of the wireless card

[root@localhost ~]# ping 192.168.1.5
PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data.
64 bytes from 192.168.1.5: icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from 192.168.1.5: icmp_seq=2 ttl=64 time=0.030 ms

I disable firewall on OS, I absolutely can access internet via ethernet card but not wireless. So how can i connect my gateway. Thanks