Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: How To - ndiswrapper example with netgear wg311v3  (Read 8258 times)


  • Packager
  • Vectorite
  • ****
  • Posts: 114
  • GAHHHHHH!!!!!
How To - ndiswrapper example with netgear wg311v3
« on: December 02, 2009, 09:00:51 am »

using ndiswrapper---example installing the netgear wg311v3 wifi card your steps may difer a bit but this how to should give you the idea of what to do.

1st i make a temp dir in home ill call it wg311v3
Code: [Select]
now i copy the WG311v3.INF WG311v3.sys and WG311v3XP.sys files into the wg311v3 folder i just created.

now log in as root.
Code: [Select]
w2ibc:$ su
You are working as root

next install the driver
Code: [Select]
root:# ndiswrapper -i /home/w2ibc/wg311v3/WG311v3.INF
installing wg311v3 ...

now, check that the driver has wrapped ok.

Code: [Select]
root:# ndiswrapper -l
wg311v3 : driver installed
        device (11AB:1FAA) present

1st check that the ndiswrapper module is avalible
Code: [Select]
root:# modinfo ndiswrapper
filename:       /lib/modules/
license:        GPL
version:        1.55
description:    NDIS wrapper driver
*note there will be more lines then above i shortend it to save some forums space*

now do a test insertion, ensuring it returns the correct response

Code: [Select]
root:# modprobe -n -v --first-time ndiswrapper
insmod /lib/modules/

insert the wrapped module using modprobe (there should be no response)

Code: [Select]
root:# modprobe ndiswrapper

check the driver has installed ok by checking with dmesg

Code: [Select]
root:# dmesg
Linux version ( (gcc version 4.2.3
) #1 SMP PREEMPT Sat Aug 15 09:49:15 MDT 2009
....... cutting out some input to save space
ndiswrapper version 1.55 loaded (smp=yes, preempt=yes)
ndiswrapper: driver wg311v3 (NETGEAR,02/22/2005, loaded
ndiswrapper 0000:00:09.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ndiswrapper: using IRQ 17
wlan0: ethernet device 00:14:6c:88:c9:4a using NDIS driver: wg311v3, ve                            rsion: 0x3000036, NDIS version: 0x501, vendor: 'NDIS Network Adapter',                             11AB:1FAA.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; A                            ES/CCMP with WPA, WPA2, WPA2PSK
usbcore: registered new interface driver ndiswrapper


iwconfig gives us info on the wlan card

Code: [Select]
root:# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:14:6c:88:c9:4a
          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 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 Memory:fcfe0000-fcff0000

iwlist scan scans for access points in the area

Code: [Select]
root:# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:0D:97:08:09:E1
                    Protocol:IEEE 802.11g
                    Frequency:2.412 GHz (Channel 1)
                    Quality:32/100  Signal level:-75 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s
          Cell 02 - Address: 00:1C:DF:CD:99:74
                    Protocol:IEEE 802.11g
                    Frequency:2.462 GHz (Channel 11)
                    Quality:29/100  Signal level:-77 dBm  Noise level:-96 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
          Cell 03 - Address: 00:22:75:4A:FD:8D
                    Protocol:IEEE 802.11g
                    Frequency:2.437 GHz (Channel 6)
                    Quality:31/100  Signal level:-76 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 12 Mb/s
                              24 Mb/s; 48 Mb/s
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

Set ndiswrapper to load on start up!

Code: [Select]
root:# ndiswrapper -m
adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ...

then add the line ndiswrapper to the file /etc/modules

Code: [Select]
root:# echo ndiswrapper >> /etc/modules

now your driver should be installed. if you have any problems you can allways ask here in the VL forums and we will be glad to help. also note these steps are also good for debian,ubuntu,mint,madriva, and other linux distros
Linux Registered User #481509.