HOWTO Orinoco USB

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article




Page created from information from http://www.orinoco.wlan.webd.pl

Contents

[edit] Linux general issues

Linux Orinoco USB driver has got the same possibilities like PCMCIA version. The reason is simple: Linux Orinoco driver is modular. The main module contains all the code to manage Hermes-I, Prism-2, Prism-2.5 and Symbol devices. There are also other modules responsible for management of PCMCIA interface, USB interface, PCI interface, etc, etc. So, even you can put to Orinoco-USB bridge Prism-2 and Prism-2.5 PCMCIA card and it will work as PCMCIA one!!! But Symbol cards are known to NOT work in USB interface! As soon as there is no Orinoco USB driver in Linux kernel, there is best to use CVS version of this driver with actual changes - the driver changes now frequently.

[edit] Linux firmware issues

You can't change (upgrade, downgrade) your firmware in Linux! This operation is only supported by Agere / Proxim Windows utility (see Windows notes above). Linux can use only flashed firmware inside PCMCIA (tetriary firmware is not supported). So, in Windows you can use WPA (embed in tetriary 9.42 firmware included in drivers). The most recent flashed version of firmware is 8.72, so in Linux you can use only 8.72 as the highest version!

[edit] Linux driver issues

Linux Orinoco USB driver supports all the devices supported by Windows Orinoco USB driver:

  • Wireless USB Card Model 0801 (Vid_0D4E&Pid_1000)
  • Wireless USB Card Model 0802 (Vid_0D4E&Pid_1001)
  • Avaya Wireless USB Card (Vid_0D98&Pid_0300)
  • Avaya Wireless USB Card (Vid_0D9E&Pid_0300)
  • BUFFALO Airstation USB (Vid_0411&Pid_000B)
  • BUFFALO WLI-USB-L11 Wireless LAN Adapter (Vid_0411&Pid_0006)
  • BUFFALO WLI-USB-L11G Wireless LAN Adapter (Vid_0411&Pid_000D)
  • ELSA AirLancer USB-11 (Vid_05CC&Pid_3100)
  • Joynet WLAN USB Card (Vid_0E7C&Pid_0300)
  • ORiNOCO USB Card (Vid_047E&Pid_0300)
  • Samsung SEW-2001u Card (Vid_04E8&Pid_5002&Rev_0000)
  • Samsung SEW-2001u Card (Vid_04E8&Pid_5B11)
  • Samsung SEW-2003U Card (Vid_04E8&Pid_7011)
  • I-GATE 11M USB Card (Vid_0681&Pid_0012)
  • connect2AIR WLAN E-1100 USB (Vid_0BF8&Pid_1002)
  • 2Wire Wireless USB adapter (Vid_1630&Pid_FF81)
  • WLAN USB Card (Vid_0D4E&Pid_047A)

and some other cards:

  • Compaq WL215 USB Adapter (Vid_049F&Pid_001F)
  • Compaq W200 USB Adapter (Vid_049F&Pid_0076)
  • Compaq WL215 USB Adapter (Vid_049F&Pid_0082)

[edit] Instructions for installing Orinoco USB drivers on Gentoo with kernel 2.6.x (possibly others)

Run the following commands as root to install the Orinoco USB drivers. Make sure you have 'usb' in your USE flags and that you have unmasked the packages it will complain about.

emerge =orinoco-9999

Notice that this will install the current CVS and can thusly be a bit funky, however I have had no problems with it. --Freso 03:07, 10 February 2006 (GMT)

You should also check if you have *hotplug* installed.

emerge hotplug
/etc/init.d/hotplug start

Then plugin your usb device and run iwconfig, your orinoco card should apear. --HangLoose 13:00 8.4.2006


[edit] "No firmware to download" Linux OS error when inserting Orinoco USB

If you have got error: "orinoco_usb: No firmware to download" read this paragraph!

Code: Error message
> ============================================
> May 10 22:23:29 blanche kernel: usb 2-1: 
> new full speed USB device using uhci_hcd and address 4
> May 10 22:23:29 blanche kernel: orinoco_usb: No firmware to download
> May 10 22:23:29 blanche kernel: orinoco_usb: 
> probe of 2-1:1.0 failed with error -14
> ============================================

This errors appears, when you haven't got orinoco_ezusb_fw and orinoco_usb_fw.h in /usr/lib/hotplug/firmware and in /lib/firmware and in /lib/hotplug/firmware. Copy these 2 files to mentioned directories and it should work OK

If you will still have got problems after doing this steps please make sure, that your orinoco-usb device is "orinoco-usb VARIANT 1" (old orinoco-usb)!

You were warned, that ANY OTHER VARIANTS LIKE "orinoco-usb VARIANT 2" (new orinoco-usb) DO NOT WORK ON LINUX (at least with these orinoco-usb drivers, because new orinoco-usb is on Prism-2, not Hermes-1 chipset. Maybe these new orinoco-usb devices work with linux-wlan-ng, try it! Above error could also be displayed unexpectly in Ubuntu / Kubuntu and partialy in Debian, when "tmpfs" in kernel source was enabled. To get rid this error please compile kernel with "tmpfs" option "disbaled" - disable also all options above and below "tmpfs" option.

[edit] Monitor mode in Linux and Kismet support

Monitor mode (rfmon) in Linux works only on 6.16 firmwares. It may works also on < 6.16 firmwares (6.06, 5.x, etc), but I didn't test it. Also many people reported that monitor mode works fine with the best for monitoring 6.16 firmware. And there is NO person who reported that 6.16 firmware does not work with monitor mode :-) So, if you want to run monitor mode (for example for kismet, ethereal, airsnort, etc), please use 6.16 firmware.

Firmwares 7.x DO NOT work with monitor mode (confirmed for many people and me, but some people reported that it works - probably unstable)!!!

Firmware 8.72 PARTIALLY support monitor mode (without channel hoping) and card freezes in monitor mode after about 15 minutes!!! If you want to use monitor mode with 8.x firmwares you must enable support for them in orinoco.c. Simply change "force_monitor = 0" to "1". Support for 8.x firmwares in monitor mode was rejected in drivers, so you must manually enable it. Kismet: you must DISABLE channel hoping (with channel hoping this card freezes) and then set "initial channel" back of "source" directive (read kismet manual).

In 6.16 firmware there is no problem and monitor mode works always stable! To enable monitor mode type:

iwconfig eth1 mode monitor

when your Orinoco's interface is "eth1".

To run Kismet you can simply type "kismet" without enabling monitor mode - monitor mode will be enabled automatically!

If you will use cvs-drivers, DO NOT apply dragorn patches from April 2005 - these patches only hide all ssid's and are reducing possibilities of Kismet. And with dragorn patches Ethereal reports corrupted ssid in monitor frames. Without patches everything is OK. Use Kismet with "orinoco_14" source.

[edit] Other utilities support

Orinoco drivers support also other utilities, like Ethereal, Airsnort, etc. In Linux there is no difference between PCMCIA and USB version of Orinoco Classic Card!!!


[edit] Wireless Tools support and configuration of the card

Orinoco driver support fully Wireless Tools. To configure the interface (for example "eth1") you can do:

  • iwlist scanning (scan for APs and clients in ad-hoc mode)
  • iwconfig eth1 mode managed (I will connect to AP)
  • iwconfig eth1 essid AP1 (I will connect to AP with SSID "AP1")
  • ifconfig eth1 192.128.1.45 netmask 255.255.255.0 up (get up the interface)
  • route add default gw 192.168.1.1 (I will add default gateway)

Then you can edit file /etc/resolv.conf and write your DNSes, for example nameserver 194.204.159.1


HOWTO CONNFIGURE WPA ???

Personal tools