Results 1 to 7 of 7
i am running ubuntu and have a usb wireless card that came wiht a driver for linux on the cd but i don't know how to install the driver it ...
- 08-30-2005 #1
how do i install the driver to a usb wireless card
i am running ubuntu and have a usb wireless card that came wiht a driver for linux on the cd but i don't know how to install the driver it looks like it's all the source but i've never installed a device before. any help please.
Desktop: Dual Xeon 2.8 GHz 1.5 GB RAM Ubuntu/XP Pro
Laptop: Macbook 2 GHz C2Duo 3 GB RAM OS X/ Ubuntu/ XP Pro
Linux Registration #396559
Go 'Stros!
- 08-30-2005 #2
can you open it up and see a readme.txt (or install.txt)? If it is source, it will be installed just like any program.
Brilliant Mediocrity - Making Failure Look Good
- 08-30-2005 #3
this is what the readme says. i'm just not totally sure i understand it. i got the package to untar. i get pretty lost after that. sorry i've only been using linux for about 3 weeks. i've come a long way but still don't know much.
1) untar the package using the command:
tar zxvf zd1211-XXXX.tar.gz
2) edit the Makefile to make sure the path of KERNEL_SOURCE is your
are running, and the kernel version is correctly configure.
3) Under zd1211-XXXX/zdsta directory, use "make clean", "make", "make install"
to make and install driver.
Running:
--------
- If you have hotplug installed, the drivers should now be loaded. If not,
load them by hand: modprobe -v zd1211
(or Under zd1211-XXXX/zdsta directory use "insmod zd1211.o" for kernel 2.4.x,
"insmod zd1211.ko" for kernel 2.6.x)Desktop: Dual Xeon 2.8 GHz 1.5 GB RAM Ubuntu/XP Pro
Laptop: Macbook 2 GHz C2Duo 3 GB RAM OS X/ Ubuntu/ XP Pro
Linux Registration #396559
Go 'Stros!
- 08-30-2005 #4Just Joined!
- Join Date
- May 2005
- Location
- Maryland, USA
- Posts
- 32
When compiling the driver you need either the kernel source or the headers; in my Debian distribution they are in /usr/src...yours should be as well. If neither kernel-source or kernel-headers are in the /usr/src directory, get the packages from aptitude...they are listed as "kernel-source"/"kernel-headers" and will have the kernel version you need (I assume 2.6) appended to their name.
Install either package and then goto /lib/modules/<kernel name>/ and add a soft link named "build" to the location of your kernel source/headers. Here is what my system has:
build -> /usr/src/kernel-headers-2.6.8-1-686-smp
Then, set that KERNEL_SOURCE variable as /lib/modules/<kernel name>/build
That should take care of your paths; then you can go to your driver directory and do the make commands.
Cheers!
- 08-30-2005 #5
this is the error i keep getting and i don't know where to go from here:
zd1211-4715/zdsta$ make
/lib/modules/2.6.10-5-386/build
/home/court/zd1211-4715/zdsta
-I/home/court/zd1211-4715/zdsta/src/include -fomit-frame-pointer -O -Wall -Wstrict-prototypes -pipe -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1
make -C /lib/modules/2.6.10-5-386/build SUBDIRS=/home/court/zd1211-4715/zdsta modules
make: *** /lib/modules/2.6.10-5-386/build: No such file or directory. Stop.
make: *** [all] Error 2
any ideas. i can't figure out how to make it switch to the 10-5-686 instead of the 386.Desktop: Dual Xeon 2.8 GHz 1.5 GB RAM Ubuntu/XP Pro
Laptop: Macbook 2 GHz C2Duo 3 GB RAM OS X/ Ubuntu/ XP Pro
Linux Registration #396559
Go 'Stros!
- 08-30-2005 #6
ok i figured out how ot point it at the right directory and it loaded the drivers but now i can't get it to recognize the device. ugh this is frustrating.it's still not showing up in my lsmod anyway
Desktop: Dual Xeon 2.8 GHz 1.5 GB RAM Ubuntu/XP Pro
Laptop: Macbook 2 GHz C2Duo 3 GB RAM OS X/ Ubuntu/ XP Pro
Linux Registration #396559
Go 'Stros!
- 09-01-2005 #7Just Joined!
- Join Date
- May 2005
- Location
- Maryland, USA
- Posts
- 32
Did you try running depmod after installing the driver? Hopefully the driver has some sort of 'make install' that places it in the correct folder: /lib/modules/<kernel-name>/kernel.
Also, you can go to the directory the driver was stored and run 'insmond <module name>'
Give that a shot!


Reply With Quote
