root@bt:~# uname -a
Linux bt 3.2.6 #1 SMP Fri Feb 17 10:34:20 EST 2012 x86_64 GNU/Linux
I am running BackTrack 5 R2 64 Bit Gnome.

lsusb output:
Bus 002 Device 007: ID 0457:0163 Silicon Integrated Systems Corp. 802.11 Wireless LAN Adapter

I have got the 64 bit driver from here:
http://mrtenente.infosys.lt/blog/?p=26

And following the instruction from here:
https://help.ubuntu.com/community/Wi...er/Ndiswrapper

I am trying this get this wifi dongle to work however failing to do so. Please see the steps I have taken to get it to work:

I had installed ndiswrapper from Synaptic hence I am uninstalling that version and building it from source.

Code:
root@bt:~# modprobe -r ndiswrapper
root@bt:~# apt-get --purge remove ndiswrapper-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ndiswrapper-utils is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.


root@bt:~# rm -r /etc/modprobe.d/ndiswrapper
rm: cannot remove `/etc/modprobe.d/ndiswrapper': No such file or directory
Building Linux headers

Code:
root@bt:~# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-3.2.6 is already the newest version.
linux-headers-3.2.6 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

root@bt:~# apt-get install dh-make fakeroot gcc-3.4 build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
fakeroot is already the newest version.
fakeroot set to manually installed.
E: Couldn't find package gcc-3.4
Now gone inside the ndiswrapper directory (source) and run this command:

Code:
root@bt:~/Desktop/Ndis/ndiswrapper-1.57# make uninstall
rm -f /usr/share/man/man8/ndiswrapper.8
rm -f /usr/share/man/man8/loadndisdriver.8
make -C driver uninstall
make[1]: Entering directory `/root/Desktop/Ndis/ndiswrapper-1.57/driver'
rm -f /lib/modules/3.2.6/misc/ndiswrapper.ko
/sbin/depmod -a 3.2.6
make[1]: Leaving directory `/root/Desktop/Ndis/ndiswrapper-1.57/driver'
make -C utils uninstall
make[1]: Entering directory `/root/Desktop/Ndis/ndiswrapper-1.57/utils'
rm -f /sbin/loadndisdriver
rm -f /usr/sbin/ndiswrapper
rm -f /usr/sbin/ndiswrapper-buginfo
make[1]: Leaving directory `/root/Desktop/Ndis/ndiswrapper-1.57/utils'


root@bt:~/Desktop/Ndis/ndiswrapper-1.57# make
make -C utils
make[1]: Entering directory `/root/Desktop/Ndis/ndiswrapper-1.57/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/Ndis/ndiswrapper-1.57/utils'
make -C driver
make[1]: Entering directory `/root/Desktop/Ndis/ndiswrapper-1.57/driver'
make -C /usr/src/linux-source-3.2.6 M=/root/Desktop/Ndis/ndiswrapper-1.57/driver
make[2]: Entering directory `/usr/src/linux-source-3.2.6'

  WARNING: Symbol version dump /usr/src/linux-source-3.2.6/Module.symvers
           is missing; modules will have no dependencies and modversions.

  LD      /root/Desktop/Ndis/ndiswrapper-1.57/driver/built-in.o
___clipped________ 
 LD [M]  /root/Desktop/Ndis/ndiswrapper-1.57/driver/ndiswrapper.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /root/Desktop/Ndis/ndiswrapper-1.57/driver/ndiswrapper.mod.o
  LD [M]  /root/Desktop/Ndis/ndiswrapper-1.57/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/linux-source-3.2.6'
make[1]: Leaving directory `/root/Desktop/Ndis/ndiswrapper-1.57/driver'
root@bt:~/Desktop/Ndis/ndiswrapper-1.57# 

root@bt:~/Desktop/Ndis/ndiswrapper-1.57# fakeroot
root@bt:~/Desktop/Ndis/ndiswrapper-1.57# make install
make -C driver install
make[1]: Entering directory `/root/Desktop/Ndis/ndiswrapper-1.57/driver'
mkdir -p -m 755 /lib/modules/3.2.6/misc
install -m 0644 ndiswrapper.ko /lib/modules/3.2.6/misc
/sbin/depmod -a 3.2.6
make[1]: Leaving directory `/root/Desktop/Ndis/ndiswrapper-1.57/driver'
make -C utils install
make[1]: Entering directory `/root/Desktop/Ndis/ndiswrapper-1.57/utils'
mkdir -p -m 755 /sbin
mkdir -p -m 755 /usr/sbin
install -m 755 loadndisdriver /sbin
install -m 755 ndiswrapper /usr/sbin
install -m 755 ndiswrapper-buginfo /usr/sbin
make[1]: Leaving directory `/root/Desktop/Ndis/ndiswrapper-1.57/utils'
mkdir -p -m 755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
install -m 644 loadndisdriver.8 /usr/share/man/man8

Now moving to the Vista 64 driver folder:

Code:
root@bt:~/Desktop/Ndis# cd Vista64
root@bt:~/Desktop/Ndis/Vista64# ls -l
total 972
-rw-r--r-- 1 root root 679904 2006-11-02 07:22 DPInst.exe
-rw-r--r-- 1 root root  11584 2007-02-02 16:35 sis163u.cat
-rw-r--r-- 1 root root  22375 2007-01-25 11:20 sis163u.inf
-rw-r--r-- 1 root root 271872 2007-01-25 13:17 SiS163u.sys
-rw-r--r-- 1 root root     30 2006-12-12 11:49 Uninstall.bat


root@bt:~/Desktop/Ndis/Vista64# ndiswrapper -i sis163u.inf
installing sis163u ...
root@bt:~/Desktop/Ndis/Vista64# ndiswrapper -l
sis163u : driver installed
	device (0457:0163) present

root@bt:~/Desktop/Ndis/Vista64# depmod -a
root@bt:~/Desktop/Ndis/Vista64# modprobe ndiswrapper
Now output of the kernel messages:

Code:
root@bt:~/Desktop/Ndis/Vista64# tail /var/log/messages
Apr 26 10:02:45 bt kernel: [ 2484.892422] ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 26 10:08:24 bt kernel: [ 2823.172502] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 26 10:09:42 bt kernel: [ 2901.550054] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 26 10:09:42 bt kernel: [ 2901.825996] r8169 0000:45:00.0: eth0: link down
Apr 26 10:09:42 bt kernel: [ 2901.826380] ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 26 10:09:42 bt kernel: [ 2902.021410] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 26 10:09:45 bt kernel: [ 2904.370614] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Apr 26 10:10:19 bt kernel: [ 2938.061116] usbcore: deregistering interface driver ndiswrapper
Apr 26 10:45:21 bt kernel: [ 5039.480557] ndiswrapper version 1.57 loaded (smp=yes, preempt=no)
Apr 26 10:45:21 bt kernel: [ 5039.492694] usbcore: registered new interface driver ndiswrapper

root@bt:~/Desktop/Ndis/Vista64# dmesg | grep -e ndis -e wlan
[   36.777800] ndiswrapper version 1.57 loaded (smp=yes, preempt=no)
[   37.313184] usbcore: registered new interface driver ndiswrapper
[   37.661256] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  902.167640] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  902.670094] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  905.915374] wlan0: authenticate with 00:21:29:0c:65:a8 (try 1)
[  905.918038] wlan0: authenticated
[  905.918076] wlan0: associate with 00:21:29:0c:65:a8 (try 1)
[  905.921346] wlan0: RX AssocResp from 00:21:29:0c:65:a8 (capab=0x431 status=0 aid=1)
[  905.921352] wlan0: associated
[  905.928744] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  916.659394] wlan0: no IPv6 routers present
[ 2355.256922] wlan0: deauthenticating from 00:21:29:0c:65:a8 by local choice (reason=3)
[ 2355.459356] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2362.014924] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2362.134636] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2362.626178] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2364.995495] wlan0: authenticate with 00:24:17:97:57:d3 (try 1)
[ 2365.009055] wlan0: authenticated
[ 2365.009103] wlan0: associate with 00:24:17:97:57:d3 (try 1)
[ 2365.024864] wlan0: RX AssocResp from 00:24:17:97:57:d3 (capab=0x411 status=0 aid=3)
[ 2365.024872] wlan0: associated
[ 2365.026060] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2375.859320] wlan0: no IPv6 routers present
[ 2382.904667] wlan0: authenticate with 00:24:17:97:57:d3 (try 1)
[ 2382.907001] wlan0: authenticated
[ 2382.925814] wlan0: associate with 00:24:17:97:57:d3 (try 1)
[ 2382.928686] wlan0: RX AssocResp from 00:24:17:97:57:d3 (capab=0x411 status=0 aid=3)
[ 2382.928690] wlan0: associated
[ 2385.685818] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2389.439301] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2396.081898] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2396.526622] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2398.847926] wlan0: authenticate with 00:24:17:97:57:d3 (try 1)
[ 2398.851152] wlan0: authenticated
[ 2398.851198] wlan0: associate with 00:24:17:97:57:d3 (try 1)
[ 2398.859595] wlan0: RX AssocResp from 00:24:17:97:57:d3 (capab=0x411 status=0 aid=3)
[ 2398.859600] wlan0: associated
[ 2398.860267] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2409.248616] wlan0: no IPv6 routers present
[ 2484.650928] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2823.172502] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2901.550054] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2902.021410] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2904.334370] wlan0: authenticate with 00:21:29:0c:65:a8 (try 1)
[ 2904.336992] wlan0: authenticated
[ 2904.366620] wlan0: associate with 00:21:29:0c:65:a8 (try 1)
[ 2904.369946] wlan0: RX AssocResp from 00:21:29:0c:65:a8 (capab=0x431 status=0 aid=1)
[ 2904.369951] wlan0: associated
[ 2904.370614] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2914.701907] wlan0: no IPv6 routers present
[ 2938.061116] usbcore: deregistering interface driver ndiswrapper
[ 5039.480557] ndiswrapper version 1.57 loaded (smp=yes, preempt=no)
[ 5039.492694] usbcore: registered new interface driver n

root@bt:~# iwconfig does not show the new interface and the light in the usb dongle does not light up. Please note this vista driver works in my WIN7_64bit box.

I also have posted my issue here:

http://ubuntuforums.org/showthread.p...85847&page=115