linksys wusb11 wireless adapter installing driver source

Asked by Adam

Im very new to Ubuntu and very slow in following the terms described in some of the help answers in question:

https://answers.launchpad.net/ubuntu/+question/2300

I'm trying to get my Linksys wusb11 working on my computer. I'm online with my laptop so I can read the help while attempting to do the steps on my home computer. I've downloaded what I think is the right driver per the help in question 2300 but I'm not sure how to install it because I'm unfamiliar with the terms used. I downloaded linux-wlan-ng-0.2.9. I ran make config on it and got it to go through this.

Now what? I'm thinking I did something wrong.
adam@adam-P4M90-M7:~/Desktop$ make config
make: *** No rule to make target `config'. Stop.
adam@adam-P4M90-M7:~/Desktop$ cd linux-wlan-ng-0.2.9
adam@adam-P4M90-M7:~/Desktop/linux-wlan-ng-0.2.9$ make config

-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [y]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [y]: n
Build Prism2.5 USB (_usb) driver? (y/n) [y]: y

Linux source directory [/lib/modules/2.6.35-22-generic/build]:
get_version.c:4: fatal error: linux/utsrelease.h: No such file or directory
compilation terminated.
make[1]: *** [get_version] Error 1
./Configure: line 246: scripts/make.opts: No such file or directory

The kernel source tree is version .
******* WARNING WARNING WARNING *******
Kernels newer than 2.6.24.x are not supported.
******* WARNING WARNING WARNING *******
WARNING: the current running kernel is actually version 2.6.35-22-generic.
The current kernel build date is #33-Ubuntu Sun Sep 19 20:34:50 2010.

./Configure: line 349: scripts/make.opts: No such file or directory
Alternate target install root directory on host []:
  Module install directory [/lib/modules/]:

It looks like you have a System V init file setup.

Prefix for build host compiler? (rarely needed) []:

Build for debugging (see doc/config.debug) (y/n) [n]: y

Configuration successful. Now type 'make' and pray.

adam@adam-P4M90-M7:~/Desktop/linux-wlan-ng-0.2.9$ make
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src'
set -e; for d in mkmeta shared wlanctl nwepgen wlancfg p80211 prism2; do make WLAN_SRC=/home/adam/Desktop/linux-wlan-ng-0.2.9/src/ -C $d ; done
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/mkmeta'
gcc -E -M -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend
mkdir -p obj
gcc -c -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o
gcc -c -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o obj/p80211metamsg.o
gcc -c -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ ../shared/p80211metamib.c -o obj/p80211metamib.o
gcc -c -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ ../shared/p80211meta.c -o obj/p80211meta.o
gcc -c -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.o
gcc -o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o
cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >> ../include/wlan/p80211metadef.h
echo "#endif" >> ../include/wlan/p80211metadef.h
gcc -c -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ mkmetastruct.c -o obj/mkmetastruct.o
gcc -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetastruct.o
cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h
./mkmetastruct >> ../include/wlan/p80211metastruct.h
echo "#endif" >> ../include/wlan/p80211metastruct.h
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/mkmeta'
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/shared'
Nothing to do...
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/shared'
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/wlanctl'
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o wlanctl.o wlanctl.c
wlanctl.c: In function ‘dump_msg’:
wlanctl.c:242: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘UINT32’
wlanctl.c:242: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘UINT32’
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o help.o help.c
help.c: In function ‘print_allrequests’:
help.c:176: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:177: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:181: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:182: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:188: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:188: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
help.c:206: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:206: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
help.c:210: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:214: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:218: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c: In function ‘print_allmibs’:
help.c:301: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:302: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:306: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:307: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:313: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:313: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
help.c:331: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:331: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
help.c:335: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:339: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
help.c:343: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o ../shared/p80211types.o ../shared/p80211types.c
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o ../shared/p80211meta.o ../shared/p80211meta.c
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o ../shared/p80211metamsg.o ../shared/p80211metamsg.c
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o ../shared/p80211metamib.o ../shared/p80211metamib.c
gcc -o wlanctl wlanctl.o help.o ../shared/p80211types.o ../shared/p80211meta.o ../shared/p80211metamsg.o ../shared/p80211metamib.o
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/wlanctl'
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/nwepgen'
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o nwepgen.o nwepgen.c
gcc -o nwepgen nwepgen.o
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/nwepgen'
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/wlancfg'
gcc -I../include -I/lib/modules/2.6.35-22-generic/build/include -D__LINUX_WLAN__ -c -o wlancfg.o wlancfg.c
wlancfg.c: In function ‘wlancfg_show’:
wlancfg.c:451: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘UINT32’
wlancfg.c: In function ‘wlancfg_list’:
wlancfg.c:652: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
wlancfg.c:652: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
wlancfg.c:655: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
wlancfg.c:655: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
wlancfg.c:658: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
wlancfg.c:658: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
wlancfg.c:672: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
wlancfg.c:674: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
wlancfg.c:676: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
wlancfg.c:676: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘UINT32’
wlancfg.c:678: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘UINT32’
gcc -o wlancfg wlancfg.o ../shared/p80211types.o ../shared/p80211meta.o ../shared/p80211metamsg.o ../shared/p80211metamib.o
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/wlancfg'
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/p80211'
make -C /lib/modules/2.6.35-22-generic/build M='/home/adam/Desktop/linux-wlan-ng-0.2.9/src/p80211' WLAN_SRC=/home/adam/Desktop/linux-wlan-ng-0.2.9/src/ modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
  CC [M] /home/adam/Desktop/linux-wlan-ng-0.2.9/src/p80211/p80211mod.o
In file included from /home/adam/Desktop/linux-wlan-ng-0.2.9/src/p80211/p80211mod.c:74:
/home/adam/Desktop/linux-wlan-ng-0.2.9/src//include/wlan/wlan_compat.h:617: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: note: previous declaration of ‘irqreturn_t’ was here
/home/adam/Desktop/linux-wlan-ng-0.2.9/src//include/wlan/wlan_compat.h:620: warning: "IRQ_RETVAL" redefined
include/linux/irqreturn.h:17: note: this is the location of the previous definition
make[4]: *** [/home/adam/Desktop/linux-wlan-ng-0.2.9/src/p80211/p80211mod.o] Error 1
make[3]: *** [_module_/home/adam/Desktop/linux-wlan-ng-0.2.9/src/p80211] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src'
make: *** [all] Error 2
adam@adam-P4M90-M7:~/Desktop/linux-wlan-ng-0.2.9$ make install
find . -name .depend -exec rm {} \;
set -e; for d in src doc man etc; do make -C $d install ; done
make[1]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src'
set -e; for d in mkmeta shared wlanctl nwepgen wlancfg p80211 prism2; do make WLAN_SRC=/home/adam/Desktop/linux-wlan-ng-0.2.9/src/ -C $d install ; done
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/mkmeta'
echo "Nothing to install"
Nothing to install
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/mkmeta'
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/shared'
Nothing to do...
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/shared'
make[2]: Entering directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/wlanctl'
mkdir -p /sbin
cp wlanctl /sbin/wlanctl-ng
cp: cannot create regular file `/sbin/wlanctl-ng': Permission denied
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src/wlanctl'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/adam/Desktop/linux-wlan-ng-0.2.9/src'
make: *** [install] Error 2
adam@adam-P4M90-M7:~/Desktop/linux-wlan-ng-0.2.9$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

adam@adam-P4M90-M7:~/Desktop/linux-wlan-ng-0.2.9$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 040a:4106 Kodak Co.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 13b1:000b Linksys WUSB11 v4.0 802.11b Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 045e:00f4 Microsoft Corp. LifeCam VX-6000 (SN9C20x + OV9650)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
adam@adam-P4M90-M7:~/Desktop/linux-wlan-ng-0.2.9$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Adam
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

looks like it uses ndiswrapper from my research. You will need to windows XP driver for 32bit or 64bit vista driver if your OS is 64bit

Revision history for this message
Adam (awollet) said :
#2

okay I have the cd from linksys for xp. What do I have to do to install it?

Revision history for this message
Adam (awollet) said :
#3

Thank you for helping me!!!!

Revision history for this message
Adam (awollet) said :
#4

Im running the 32 bit version of ubuntu 10.10. Just downloaded it tonight.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Install ndisgtk from the repo using a wired connection and point it to the .inf file, you need the .sys file too

Revision history for this message
Adam (awollet) said :
#6

What is the easiest way to connect my linux machine through my laptop? I have a Cat. 5 Wire with rj45 jacks. I think it is a cross-over cable but am not sure. It was for my old DSL modem. I have win 7 on the laptop and think I have set up connection shareing but cant get the linux machine to find the connection.

Revision history for this message
Adam (awollet) said :
#7

Ill take it somewhere and hook it up to a wired connection. Thank you

Revision history for this message
Adam (awollet) said :
#8

Ill take it somewhere and hook it up to a wired connection. Thank you