LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   installing orinoco driver on debian etch (https://www.linuxquestions.org/questions/debian-26/installing-orinoco-driver-on-debian-etch-517529/)

Chinook06 01-08-2007 05:55 PM

installing orinoco driver on debian etch
 
I installed debian etch on my notebook. It has orinoco driver 0.15. It dont support monitor mode. I want install driver from http://www.tzi.de/~plasmahh/orinoco.html. But when I write "make install"
Quote:

make -C /lib/modules/2.6.18-3-686/kernel/drivers/net/wireless SUBDIRS=/lib/modules/2.6.18-3-686/build/orinoco-0.13e-SN-15 modules
make[1]: Entering directory `/lib/modules/2.6.18-3-686/kernel/drivers/net/wireless'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.18-3-686/kernel/drivers/net/wireless'
make: *** [modules] Error 2
Where is error?
Where have I take source kernel?
Will I have to compile kernel?

rickh 01-08-2007 06:09 PM

Why would you want to install an older driver than you already have?

I don't really understand your problem, but maybe one of these programs will help.

Chinook06 01-08-2007 06:15 PM

Quote:

Originally Posted by rickh
Why would you want to install an older driver than you already have?

I need orinoco card in monitor mode. I have orinoco cards with firmware 8.72 and with driver 0.15. That doesnt work in monitor mode.

ronmuzzi 11-19-2007 03:47 PM

Here's a quick HowTo to get the Orinoco drivers to work on Debian Etch kernel 2.6.18 with the monitor mode for use with programs such as kismet. You need driver version 0.13e because version 0.15 doesn't support the monitor mode.

From a command prompt as the root user, download the driver orinoco-0.13e-SN-14.tar.bz2 from http://www.projectiwear.org/~plasmahh/orinoco.html and save in the /usr/src directory with something like this. (You could also do this with a web browser, but I like the command line):

Code:

cd /usr/src
wget http://www.projectiwear.org/~plasmahh/orinoco-0.13e-SN-14.tar.bz2

Extract the archive, make, and install it:

Code:

tar xjvf orinoco-0.13e-SN-14.tar.bz2
cd orinoco-0.13e-SN-14
make

Ignore any warnings, but if you get errors, it may be because you don't have the kernel headers installed. In that case, do this:

Code:

aptitude install linux-kernel-headers

And then run the make command again. If it still fails, then you probably need a different version of the driver. Check the web page above and/or search the internet. There's many versions out there!

After a successful make, install it with:

Code:

make install

However, it may not install to the correct location! So force the correct install with:

Code:

cp *.ko /lib/modules/$( uname -r )/kernel/drivers/net/wireless/

Now you can reboot. (Yes, there's other ways to do this than rebooting, but rebooting confirms that the drivers will come up correctly each time!)

Check that everything is working with the command:

Code:

iwpriv eth0

You may need to use eth1 or whatever is appropriate for your card. If the "monitor" option is listed, then you've installed it ok! You can now run Kismet and other software that uses the monitor mode.

You're done! Enjoy!

In summary, there's three keys to get this to work correctly:
- the right driver version
- the kernel headers need to be installed
- the drivers need to be put in the correct directory
That's it!

ronmuzzi 11-20-2007 11:34 AM

P.S. You're not suppose to need to recompile the kernel, but I did do this to get it to work. (I was recompiling the kernel for other reasons anyway.)

You may need to install the kernel source to compile the orinoco modules even if you don't compile the kernel:

Code:

aptitude install linux-source-2.6.18
You may need to compile the kernel. See http://kernel-handbook.alioth.debian...ommon-building
for the steps to do this. When you run menuconfig, it's a good idea to first select "Load an Alternate Configuration File" and load the /boot/config-XXX file so that you start with the same options as your working system.

If you do recompile the kernel, reboot into the new kernel before you run "make" for the orinoco drivers.

You may also need to add the following to the CPPFLAGS in the orinoco Makefile (cf. the README.orinoco):

Code:

-DMODVERSIONS -include $(KERNEL_SRC)/include/linux/modversions.h
If you've already tried to "make" the orinoco packages, run the "make clean" command to remove any previous compiles, then run "make" again.


All times are GMT -5. The time now is 09:13 AM.