Networking Forums

Networking Forums > Computer Networking > Linux Networking > Fedora 5 - Intel Pro/Wireless LAN 2100 3B Mini PCI adapter woes.

Reply
Thread Tools Display Modes

Fedora 5 - Intel Pro/Wireless LAN 2100 3B Mini PCI adapter woes.

 
 
Kushty
Guest
Posts: n/a

 
      10-24-2006, 08:23 PM

I've just installed Red Hat Fedora Core 5 onto my laptop and all seems
to be OK apart from the WiFi card being recognised / functioning
correctly.

If I go into applications > System Tools > network tools, my on-board
wired Ethernet device is there under devices listed as eth0. It has
been assigned an IP address from via the DHCP server on my Router and
appears to be functioning correctly.

The only other interface listed therein is the Loopback interface lo

If, however, I go into System > Administration and Network to pull up
the Network Configuration window (forgive me if I don't know the
correct terminology for these applications but I'm new to all this)
there is an entry for the Wired eth0 interface listed under devices
with a tick in the profile column and 'active' in the status column.
There is no wireless device listed here. If I then click on the
hardware tab I can see that my WiFi card is also there listed as an
Intel Corporation Pro/Wireless LAN 2100 3B Mini PCI adapter which
indeed it is.

Now, since starting this post I've come across KwiFiManager and have
started it up and, although it admittedly does have a 'disabled' image
across it, I duly clicked the 'Scan for Networks' button just to see
what happens. This brings up a box entitled 'Scanning not possible -
KwiFIManager' wherein it states:

unable to perform the scan. Please make sure the executable
"iwlist" is in your $PATH.

Can someone please enlighten me as how I'd do this.

I also get another box with the title:

Sorry - KDE control module'

which says : unable to autodetect wireless interface.

If anyone could tell me what's gone wrong here I'd be most obliged.

Thanks in advance for any help.

Kush.

 
Reply With Quote
 
 
 
 
Jack Snodgrass
Guest
Posts: n/a

 
      10-24-2006, 08:40 PM
On Tue, 24 Oct 2006 13:23:35 -0700, Kushty wrote:

> I've just installed Red Hat Fedora Core 5 onto my laptop and all seems
> to be OK apart from the WiFi card being recognised / functioning
> correctly.
>
> If I go into applications > System Tools > network tools, my on-board
> wired Ethernet device is there under devices listed as eth0. It has
> been assigned an IP address from via the DHCP server on my Router and
> appears to be functioning correctly.
>
> The only other interface listed therein is the Loopback interface lo
>
> If, however, I go into System > Administration and Network to pull up
> the Network Configuration window (forgive me if I don't know the
> correct terminology for these applications but I'm new to all this)
> there is an entry for the Wired eth0 interface listed under devices
> with a tick in the profile column and 'active' in the status column.
> There is no wireless device listed here. If I then click on the
> hardware tab I can see that my WiFi card is also there listed as an
> Intel Corporation Pro/Wireless LAN 2100 3B Mini PCI adapter which
> indeed it is.
>
> Now, since starting this post I've come across KwiFiManager and have
> started it up and, although it admittedly does have a 'disabled' image
> across it, I duly clicked the 'Scan for Networks' button just to see
> what happens. This brings up a box entitled 'Scanning not possible -
> KwiFIManager' wherein it states:
>
> unable to perform the scan. Please make sure the executable
> "iwlist" is in your $PATH.
>
> Can someone please enlighten me as how I'd do this.
>
> I also get another box with the title:
>
> Sorry - KDE control module'
>
> which says : unable to autodetect wireless interface.
>
> If anyone could tell me what's gone wrong here I'd be most obliged.
>
> Thanks in advance for any help.
>
> Kush.


Not sure if this is much help... I don't do wireless... or GUI
configs... but I do know that the iwlist program is in /sbin.
It's part of wireless-tools. If you have a /sbin/iwlist then
your probably tring to configure this using some id other than
root.... that's not going to work. If you don't have /sbin/iwlist,
then do yum install wireless-tools and try your gui configuration
stuff again.

jack

--
D.A.M. - Mothers Against Dyslexia

see http://www.jacksnodgrass.com for my contact info.

jack - Grapevine/Richardson
 
Reply With Quote
 
Kushty
Guest
Posts: n/a

 
      10-25-2006, 12:00 AM



Jack Snodgrass wrote:

> Not sure if this is much help... I don't do wireless... or GUI
> configs... but I do know that the iwlist program is in /sbin.
> It's part of wireless-tools. If you have a /sbin/iwlist then
> your probably tring to configure this using some id other than
> root.... that's not going to work. If you don't have /sbin/iwlist,
> then do yum install wireless-tools and try your gui configuration
> stuff again.
>
> jack
>
> --
> D.A.M. - Mothers Against Dyslexia
>
> see http://www.jacksnodgrass.com for my contact info.
>
> jack - Grapevine/Richardson


Hi Jack.

Thanks for the prompt response and the info contained therein.
I did as you suggested by logging on as root but the device listings
are the same in the Network Configuration window. KwiFiManager, though,
now lists it as 'Not Connected' rather than disabled so I suppose
that's a step in the right direction at least. A scan for Networks from
here (although not picking up my AP's signals even when a couple of
feet away)
are at least not throwing up the errors I had earlier. Would I have to
be root to start Wireless functionality then?

I've looked in /sbin and there is an iwlist directory in there. This is
the root level sbin, I don't have one under my user name. I don't know
how to start up wireless-tools. I tried typing in wireless-tools at a
root command prompt but to no avail and tried yum install
wireless-tools just in case, which yielded the following response:

Loading "installonlyn" plugin.
Setting up Install Process.
Setting up Repositories.
Core
Error: cannot find a valid baseurl for repo: core.

When I try the ADD/REMOVE SOFTWARE from the GUI I get an "unable to
retrieve software information" error.

iwconfig typed into the terminal from root comes back with:

lo no Wireless Extensions

eth0 no Wireless Extensions

sit0 no Wireless Extensions

I did a custom install loading just about everything so that I wouldn't
have stuff missing which, I think, makes things harder for a novice
such as myself. Perhaps something vital's not installed after all.

Do you think I should try a re-install as it's only a day old and so
there's no stuff I'm worried about losing on there.

Thanks again for your help.

Cheers.
Kush.

 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      10-25-2006, 07:54 AM
On 2006-10-24, Kushty <(E-Mail Removed)> wrote:
> to be OK apart from the WiFi card being recognised / functioning
> correctly.


The Intel 2100/2200 require a bit of firmware that need to be loaded
at run time, AFAIK such firmware isn't distributed with any linux
distributions (it wasn't with mine), check in dmesh if the module load
correctly or gives you the 'can't load firmware' error, if so, maybe you
need to install the firmware.

A simple test, is to manually unload the driver with rmmod and then
load it again with modprobe, this should immediately tell you if you
have all the required bits or not.

Also, some laptops need to manually 'activate' the wi-fi hardware, some
of them have a phisical switch, some have a 'software' switch, maybe you
need to enable it.

Davide

--
One morning I shot an elephant in my pajamas. How he got into my pajamas
I'll never know.
-- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)
 
Reply With Quote
 
Kushty
Guest
Posts: n/a

 
      10-25-2006, 02:15 PM
Hi Davide.
Thanks for the response.

The Wireless is activated on the laptop but I'm not sure whether the
correct Drivers or Firmware are loaded.

I've downloaded the appropriate packages but I'm not confident enough
to know whether what I'm attempting to do is correct or not.

An attempt to follow this guide ... :

-------------------------- START GUIDE QUOTE
---------------------------------------------------------------------
Guide to install the Intel PRO Wireless 2100 Driver for Linux

Taken from:

http://jrblevin.freeshell.org/linux/ipw2100/

1. Introduction

This is a short guide to install the Intel PRO/Wireless 2100 Driver for
Linux. The ipw2100 project, created by Intel, provides support for the
PRO/Wireless 2100 mini PCI adapter found in many Centrino based
systems. Parts of this mini-HOWTO are specific to a fresh installation
of Fedora Core 2 on a standard i386 system but these steps should
translate to other distributions quite easily. I have also appended a
section at the end which is specific to Debian systems.

Note: At the time of the first draft of this HOWTO, ipw2100 was at
version 0.45 and still required hostap but more recent versions have
dropped this dependency. Most of the steps below were written as of
version 0.45 but the Debian section is current as of version 0.60 which
does not require hostap.

2. Preliminary Checks

There are a few dependencies to check before installing the driver.
According to the ipw2100 documentation:

In order to use the ipw2100 driver you will need the following:

1. hostap-driver-0.1.3 (for WEP {encryption)

2. Linux (of course) with a 2.4.23+ or 2.6.1+ kernel

3. Wireless Extensions (v16) and Tools (v27)

4. The ipw2100 driver.

5. The ipw2100 binary firmware image.

Fedora Core 2 ships with the 2.6.5 kernel which includes the wireless
extensions, and the wireless-tools package should be installed by
default. If you want to make sure you have everything you need, confirm
that you have wireless-tools, hotplug, and pcmcia-cs installed:

[jrblevin@syd jrblevin]$ rpm -q hotplug pcmcia-cs wireless-tools
hotplug-2004_04_01-1
pcmcia-cs-3.2.7-1.5
wireless-tools-26-4

If you issue the above command and all three packages are listed, you
should have everything you need to begin.

3. Install hostap-driver
Download the hostap-driver source code at http://hostap.epitest.fi/ As
of this writing, the latest version was 0.1.3.

Extract the source code:

$ tar xzvf hostap-driver-0.1.3.tar.gz
$ cd hostap-driver-0.1.3
Follow the instructions for "Systems using kernel tree PCMCIA modules"
in the README file.

Edit the Makefile to point to the kernel module build directory. For a
normal Fedora Core 2 install, change the line

KERNEL_PATH=/usr/src/linux
to

KERNEL_PATH=/lib/modules/2.6.5-1.358/build/
Compile and install the modules:

$ make
$ su
# make install

4. Install ipw2100

Download the source code at http://ipw2100.sf.net and uncompress it
into a temporary directory:

% tar zxvf ipw2100-0.45.tgz
% cd ipw2100-0.45
Follow the "BUILDING EXTERNAL" section in the ipw2100 INSTALL file:

% make HOSTAP=/path/to/hostap-driver-0.1.3
In my case this was /home/jrblevin/src/hostap-driver-0.1.3.

Then install the modules:

$ su
# make HOSTAP=/home/jrblevin/src/hostap-driver-0.1.3 install

5. Install the firmware

Download the firwmare corresponding to your version of ipw2100 and
uncompress it to a temporary directory. [Link]

[jrblevin@syd jrblevin]$ unzip 96377_96377.zip
Archive: 96377_96377.zip
inflating: LICENSE
inflating: ipw2100-1.1-p.fw
inflating: ipw2100-1.1-i.fw
inflating: ipw2100-1.1.fw
The firmware must be placed in /usr/lib/hotplug/firmware:

[jrblevin@syd jrblevin]$ su
Password:
[root@syd jrblevin]# mkdir -p /usr/lib/hotplug/firmware/
[root@syd jrblevin]# cp ipw2100-1.1-p.fw ipw2100-1.1-i.fw
ipw2100-1.1.fw /usr/lib/hotplug/firmware/
Note [2005.05.28]: In Fedora Core 4 Test 2 (and presumably all versions
thereafter) the firmware should be placed in /etc/firmware instead.
Thanks to Robert Williams for pointing this out on Bugzilla.

6. Loading the module
Load the module with

[root@syd ipw2100-0.45]# modprobe ipw2100

Then check the output of dmesg to see if it was successful. If so you
should see something like the following:

[root@syd ipw2100-0.45]# dmesg | tail
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 0.45
ipw2100: Copyright(c) 2003-2004 Intel Corporation
divert: allocating divert_blk for eth1
Detected ipw2100 PCI device at 0000:02:0b.0, dev: eth1, mem:
0xD0201000-0xD0201FFF -> 229c4000, irq: 9
eth1: Using hotplug firmware load.
ipw2100: Associated with '22cshepherd' at 11Mbps, channel 6
[root@syd ipw2100-0.45]#
This shows that the wireless card is on eth1, the firmware was loaded,
and a wireless access point was found. You can now configure the device
for your distribution. This is described in the INSTALL file in the
section titled "LOADING THE DRIVER." On Fedora Core 2, you can use
system-config-network.
--------------------------- END GUIDE QUOTE
---------------------------------------------------------------------
..
... Leaves me more confused than ever. :-(

I ran a modprobe ipw2100 from a root command prompt but nothing obvious
happened.
The cursor remained stationary but flashing and no further output was
shown on the screen.
I waited several minutes but to no further avail.

I then ran a dmesg as suggested and got the following output therein
which, I think, pertains to my WiFi card:

dmesg output pertaining to WiFi card


ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation
<(E-Mail Removed)>
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.3
ipw2100: Copyright(c) 2003-2005 Intel Corporation
8139too Fast Ethernet driver 0.9.27
intel8x0_measure_ac97_clock: measured 55386 usecs
intel8x0: clocking to 48000

ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
cs: IO port probe 0x3d4-0x4ff: clean.
cs: IO port probe 0x3c0-0x3d2: clean.
cs: IO port probe 0x100-0x3af: excluding 0x140-0x14f 0x200-0x20f
0x378-0x37f
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xa00-0xaff: clean.
ieee1394: Initialized config rom entry `ip1394'
USB Universal Host Controller Interface driver v2.3
ipw2100: eth0: Firmware 'ipw2100-1.3.fw' not available or load failed.
ipw2100: eth0: ipw2100_get_firmware failed: -2
ipw2100: eth0: Failed to power on the adapter.
ipw2100: eth0: Failed to start the firmware.
ipw2100Error calling register_netdev.
ipw2100: probe of 0000:02:02.0 failed with error -5

It looks as if there are errors reported in here but I fear, being the
Linux novice I am, their import is beyond me.

If you could demystify any of this for me, I'd be most obliged once
more.

Thanks again.

Kush.


Davide Bianchi wrote:
> On 2006-10-24, Kushty <(E-Mail Removed)> wrote:
> > to be OK apart from the WiFi card being recognised / functioning
> > correctly.

>
> The Intel 2100/2200 require a bit of firmware that need to be loaded
> at run time, AFAIK such firmware isn't distributed with any linux
> distributions (it wasn't with mine), check in dmesh if the module load
> correctly or gives you the 'can't load firmware' error, if so, maybe you
> need to install the firmware.
>
> A simple test, is to manually unload the driver with rmmod and then
> load it again with modprobe, this should immediately tell you if you
> have all the required bits or not.
>
> Also, some laptops need to manually 'activate' the wi-fi hardware, some
> of them have a phisical switch, some have a 'software' switch, maybe you
> need to enable it.
>
> Davide
>
> --
> One morning I shot an elephant in my pajamas. How he got into my pajamas
> I'll never know.
> -- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)


 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      10-25-2006, 03:19 PM
On 2006-10-25, Kushty <(E-Mail Removed)> wrote:
> The Wireless is activated on the laptop but I'm not sure whether the
> correct Drivers or Firmware are loaded.


The driver is ipw2100, you should see it in the list of modules

> default. If you want to make sure you have everything you need, confirm
> that you have wireless-tools, hotplug, and pcmcia-cs installed:


If your card is built-in, then you don't need pcmcia-cs.

> Download the source code at http://ipw2100.sf.net and uncompress it
> into a temporary directory:


The latest versions of Linux have the driver provided with the kernel.
You don't have to build it.

> 5. Install the firmware


This is what you probably have to do.

> I ran a modprobe ipw2100 from a root command prompt but nothing obvious
> happened.


Yes, this is what is supposed to happen.

> ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.3
> ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
> ipw2100: eth0: Firmware 'ipw2100-1.3.fw' not available or load failed.


Here you go. It can't load the firmware. Note that he wants version 1.3
Now, there are 2 or 3 reasons for not being able to load the firmware,
the first one is, the firmware isn't there (doh!), have you installed
it? Second, is the correct version? Third is what he is expecting?
He is trying to load a file named 'ipw2100-1.3.fw', if the file is
named 'ipw2100.fw' it won't work.

Davide

--
I've gone through over-stressed to physical exhaustion... what's next?
Tuesday
--Simon Burr & Kyle Hearn
 
Reply With Quote
 
Kushty
Guest
Posts: n/a

 
      10-25-2006, 09:25 PM
Hello again Davide.

Thanks again for taking the time to have a look at this. Please forgive
my ignorance, though, as this is all pretty new to me and some of the
terminology used in the install note is beyond my limited
comprehension.

I've extracted the relevant firmware file ipw2100-1.3.fw to a folder of
its own and have the install notes as follows (please excuse the large
paste here):


---------------------------------INSTALL NOTES
-------------------------

Intel PRO/Wireless 2100 driver for Linux in support of:

Intel PRO/Wireless 2100 Network Connection Adapter

Copyright (C) 2003-2006, Intel Corporation

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL
PRODUCTS.
EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH
PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND/OR USE OF INTEL
PRODUCTS, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A
PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT,
COPYRIGHT, OR OTHER INTELLECTUAL PROPERTY RIGHT.
This document is subject to change without notice.
* Other names and brands may be claimed as the property of others.

INSTALL

Version: 1.2.0
Date : February 15, 2006


Index
-----------------------------------------------
0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
1. INSTALLING IN YOUR DISTRIBUTION
2. BUILD/INSTALLATION OVERVIEW
3. GETTING THE SOURCE
4. KERNEL REQUIREMENTS - 2.6.13+
5. KERNEL REQUIREMENTS - Configuration
6. SYSFS
7. UPGRADING FROM PRIOR VERSIONS
8. BUILDING EXTERNAL (outside of the kernel tree)
9. BUILDING WITHIN THE KERNEL SOURCE TREE (not supported)
10. LOADING FIRMWARE VIA HOT-PLUG
11. LOADING THE Intel PRO/Wireless 2100 Driver
12. COMMON TROUBLESHOOTING TIPS



0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
-----------------------------------------------

Important Notice FOR ALL USERS OR DISTRIBUTORS!!!!

Intel wireless LAN adapters are engineered, manufactured, tested, and
quality checked to ensure that they meet all necessary local and
governmental regulatory agency requirements for the regions that they
are designated and/or marked to ship into. Since wireless LANs are
generally unlicensed devices that share spectrum with radars,
satellites, and other licensed and unlicensed devices, it is sometimes
necessary to dynamically detect, avoid, and limit usage to avoid
interference with these devices. In many instances Intel is required to
provide test data to prove regional and local compliance to regional
and
governmental regulations before certification or approval to use the
product is granted. Intel's wireless LAN's EEPROM, firmware, and
software driver are designed to carefully control parameters that
affect
radio operation and to ensure electromagnetic compliance (EMC). These
parameters include, without limitation, RF power, spectrum usage,
channel scanning, and human exposure.

For these reasons Intel cannot permit any manipulation by third parties
of the software provided in binary format with the wireless WLAN
adapters (e.g., the EEPROM and firmware). Furthermore, if you use any
patches, utilities, or code with the Intel wireless LAN adapters that
have been manipulated by an unauthorized party (i.e., patches,
utilities, or code (including open source code modifications) which
have
not been validated by Intel), (i) you will be solely responsible for
ensuring the regulatory compliance of the products, (ii) Intel will
bear
no liability, under any theory of liability for any issues associated
with the modified products, including without limitation, claims under
the warranty and/or issues arising from regulatory non-compliance, and
(iii) Intel will not provide or be required to assist in providing
support to any third parties for such modified products.

Note: Many regulatory agencies consider Wireless LAN adapters to be
modules, and accordingly, condition system-level regulatory approval
upon receipt and review of test data documenting that the antennas and
system configuration do not cause the EMC and radio operation to be
non-compliant.

Intel PRO/Wireless 2100 Network Connection driver for Linux available
for download from SourceForge are provided as a part of a development
project.
Conformance to local regulatory requirements is the responsibility of
the
individual developer. As such, if you are interested in deploying or
shipping a driver as part of solution intended to be used for purposes
other than development, please obtain a tested driver from Intel
Customer
Support at:

http://support.intel.com/support/not.../CS-006408.htm




1. INSTALLING IN YOUR LINUX DISTRIBUTION
-----------------------------------------------
Since each distribution is different, we can not cover all of the steps
that
may be required to install and configure your device for the particular

distribution you are using.

Please refer to the documentation for your Linux distribution on issues

related to auto-detection and installation of Intel PRO/Wireless 2100
Network Connection driver for Linux within your environment.



2. BUILD/INSTALLATION OVERVIEW
-----------------------------------------------

Installation of the current Intel PRO/Wireless 2100 Network Connection
driver for Linux involves several steps:

1) Get the source and firmware.

2) Check for certain capabilities in your kernel, and rebuild the
kernel
if necessary.

3) Remove any old ieee80211 subsystem or Intel PRO/Wireless 2100
Network
Connection driver for Linux, and remove any kernel configurations
relating to them.

4) Build and install the current ieee80211 module.

5) Build and install the current Intel PRO/Wireless 2100 Network
Connection
driver for Linux module.

6) Download and install current firmware for your Intel PRO/Wireless
2100
Network Connection driver for Linux.

7) Read README.ipw2100 for helpful information on how to use the
Intel PRO/Wireless driver for Linux and Intel PRO/Wireless 2100
Network Connection
Adapter.



3. GETTING THE SOURCE AND FIRMWARE
-----------------------------------------------

You can get the latest ipw2100 source code tarball from:

http://ipw2100.sf.net

ipw2100-1.0.4 and earlier versions included the ieee80211 subsystem
within
the Intel PRO/Wireless 2100 Network Connection driver for Linux source
tree.
For current versions of the Intel PRO/Wireless 2100 Network Connection
driver
for Linux, starting with version 1.0.5, you must obtain an ieee80211
subsystem
separately from the following site:

http://ieee80211.sf.net

Instructions for obtaining firmware can be found at:

http://ipw2100.sf.net/firmware.php.

You will need to unpack the tarballs. Intel PRO/Wireless 2100 driver
for Linux
and ieee80211 subsystem, create subdirectories, but firmware does not
create
subdirectories; you may want to put the firmware tarball in its own
directory before unpacking.

% tar xzvf ipw2100-1.2.0.tgz
% tar xzvf ieee80211- .tgz
% tar xzvf ipw2100-fw- .tgz



4. KERNEL REQUIREMENTS - 2.6.13+
-----------------------------------------------

The Intel PRO/Wireless 2100 Network Connection driver for Linux is
currently
maintained only for 2.6.13+ versions of the Linux kernel, restricted in
part by ieee80211 subsystem's requirement for 2.6.13+ (see INSTALL doc
in ieee80211 source tree).

Due to time constraints, we can not maintain a 2.4 backport of the
driver
for Linux.

There is a family of 2.4 backport patches for some earlier versions of
the
Intel PRO/Wireless 2100 Network Connection driver for Linux, provided
by an
external maintainer, but these patches are not managed or maintained by
the
Intel PRO/Wireless developers. For a link to this site, and some other
sites
that may be of interest, please review the following site::

http://ipw2100.sourceforge.net/#links



5. KERNEL REQUIREMENTS - Configuration
-----------------------------------------------

Your kernel must be configured and compiled to provide certain
capabilities
needed by the ieee80211 subsystem and Intel PRO/Wireless 2100 Network
Connection driver for Linux.

In addition, kernel versions 2.6.14 and later have integrated *old*
ieee80211 subsystem and old Intel PRO/Wireless 2100 Network Connection
driver for Linux as part of the mainline tree. If these are compiled
into your kernel
(i.e. not as modules, but as built-in), you will need to reconfigure
(using
n to exclude/disable ieee80211 subsystem and Intel PRO/Wireless 2100
Network Connection) drivers and rebuild your kernel before proceeding
with
your Intel PRO/Wireless 2100 Network Connection driver for Linux
upgrade. See below.

You can verify that your running kernel is configured properly by
searching the following file for the #define entries described below:

/lib/modules/`uname -r`/build/include/linux/autoconf.h

If you need to change anything in your kernel configuration (e.g. using
make menuconfig), make sure that you also rebuild, install, and reboot
to
the new kernel image before proceeding with your Intel PRO/Wireless
2100
Network Connection driver for Linux upgrade. For help or instructions
on
configuring and building the kernel, please consult the documentation
contained in your distribution.

MAKE SURE THAT THE FOLLOWING CAPABILITIES ARE ENABLED:

~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_NET_RADIO 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failure to enable CONFIG_NET_RADIO will result in the Wireless Tools
(iwconfig, iwlist, etc.) not functioning. In 2.6.x, this is enabled via
menuconfig:

Device Drivers ->
Networking support ->
Network device support ->
Wireless LAN (non-hamradio) ->
Wireless LAN drivers
(non-hamradio) & WE


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_FW_LOADER 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Intel PRO/Wireless 2100 Network Connection driver for Linux loads
firmware via the
Linux firmware hotplug capability (see later section on firmware
loading).
In 2.6.x, this is enabled via menuconfig:

Device Drivers ->
Generic Driver Options ->
Hotplug firmware loading support


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_CRYPTO 1
#define CONFIG_CRYPTO_ARC4(_MODULE) 1
#define CONFIG_CRC32(_MODULE) 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Intel PRO/Wireless 2100 Network Connection driver for Linux uses the
WEP
encryption and decryption algorithms provided by the Linux kernel. To
use WEP you must enable the crypto library support (CONFIG_CRYPTO) and
the ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4) as noted below:

Cryptographic options ->
ARC4 cipher algorithm

You also need to enable the CRC32 (CONFIG_CRC32) algorithm as noted
below:

Library routines ->
CRC32 functions


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_CRYPTO_MICHAEL_MIC(_MODULE) 1
#define CONFIG_CRYPTO_AES_586(_MODULE) 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you wish to enable (optional) WPA support, you also need to enable
the
following crypto library modules (in addition to those required for WEP
above):

Cryptographic options ->
Michael MIC keyed digest algorithm
AES cipher algorithms (i586)



NOW MAKE SURE THAT THE FOLLOWING CAPABILITIES ARE *NOT* ENABLED!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_IEEE80211 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If ieee80211 subsystem support is built into your kernel (i.e.,
in kernel versions 2.6.14 and later), you must de-configure that
capability and rebuild your kernel before upgrading the ieee80211
subsystem and Intel PRO/Wireless 2100 Network Connection driver for
Linux.
In 2.6.x, this is *dis*abled via menuconfig (enter n for no):

Networking ->
Networking support (NET [=y]) ->
Generic IEEE 802.11 Networking Stack

NOTE: If ieee80211 subsystem is supported as a module (this would show
up as
#define CONFIG_IEEE80211_MODULE 1), you do not need to rebuild your
kernel,
but you will need to remove the binary module and relevant include
files
(see UPGRADING FROM PRIOR VERSIONS, below).


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_IPW2100 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If Intel PRO/Wireless 2100 Network Connection driver for Linux support
is built
into your kernel (i.e., in kernel versions 2.6.14 and later), you must
de-configure that capability and rebuild your kernel before upgrading
ieee80211 subsystem and Intel PRO/Wireless 2100 Network Connection
driver for Linux.
In 2.6.x, this is *dis*abled via menuconfig (enter n for no):

Device Drivers ->
Network device support ->
Network device support (NETDEVICES [=y]) ->
Wireless LAN (non-hamradio) ->
Intel PRO/Wireless 2100...

NOTE: If Intel PRO/Wireless 2100 Network Connection driver for Linux
is supported
as a module (this would show up as #define CONFIG_IPW2100_MODULE 1),
you
do not need to rebuild your kernel, but you will need to remove the
binary module and relevant include files (see UPGRADING FROM PRIOR
VERSIONS, below).



6. SYSFS
-----------------------------------------------

You will also need to have sysfs mounted. This facility is used to
query
and control the operation of the Intel PRO/Wireless 2100 Network
Connection
driver for Linux (see the README.ipw2100, found in the Intel
PRO/Wireless 2100
Network Connection driver for Linux source directory).

You can mount sysfs this by adding an entry to /etc/fstab similar to
this:

none /sys sysfs defaults 0
0

If the directory /sys does not already exist, you will need to create
it:

% mkdir /sys

You can then mount the sysfs partition via:

% mount -a



7. UPGRADING FROM PRIOR VERSIONS
-----------------------------------------------

You may have an old version of the ieee80211 subsystem and Intel
PRO/Wireless 2100 Network Connection driver for Linux if your Linux
distribution includes them, or if you have installed an earlier version
of the Intel PRO/Wireless 2100 Network Connection driver for Linux
yourself.
In addition, kernel versions 2.6.14 and later include *old* versions of
the Intel PRO/Wireless 2100 Network Connection (i.e., version 1.0)
driver
for Linux in the mainline source tree. You should upgrade to a more
recent
set of drivers.

Before upgrading to a new ieee80211 subsystem and Intel PRO/Wireless
2100
Network Connection driver for Linux, you should remove old ieee80211
subsystem,
Intel PRO/Wireless 2100, *and* Intel PRO/Wireless 2100 Network
Connection
driver for Linux modules (so modprobe won't find them), as well as any
related kernel
configuration declarations (so that they don't affect the new build).
To
do this most easily, you can use the 'remove-old' script, found in the
Intel PRO/Wireless 2100 Network Connection driver for Linux source
directory, as in
the following example:

% cd /your/path/to/ipw2100-1.2.0
% chmod 755 remove-old (probably not necessary)
% . remove-old <--- You need to run this as root

Answer *y* to all of questions.

NOTE: If you have already installed a new version of ieee80211
subsystem,
this removes it! Run this *before* installing the new ieee80211module.


Since this script may not work thoroughly and reliably for your
particular
distribution, the following is a summary of what you can do manually to
check
and/or complete its work.

1) Remove any old ieee802.11 and Intel PRO/Wireless 2100 Network
Connection
driver for Linux modules from
/lib/modules/{VERSION}. Find them via:

% for i in ieee80211 ipw2100; do \
find /lib/modules/`uname -r` -iname ${i}*; done

Remove whatever that finds, including directories and .h files
(create
backup files, unless you're feeling adventurous!).

Failure to remove old modules may result in unresolved symbols
when you try to load your new drivers.


2) Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW
declarations
in kernel's autoconf.h. Find with:

% for i in IEEE80211 IPW; do \
grep CONFIG_${i} \
/lib/modules/`uname -r`/build/include/linux/autoconf.h;
done

Use c-style comments (i.e. /* */) to comment out each line that it
finds.
Use a pair of /* */ for each line separately, instead of trying to
comment
out a block of several lines with a single pair of /* */.


3) Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW
declarations
in kernel's .config. Find with:

% for i in IEEE80211 IPW; do \
grep CONFIG_${i} \
/lib/modules/`uname -r`/build/.config; done

Use shell-style comments (i.e. #) to comment out the entries it
finds.

Failure to comment out these lines in steps 2) and 3) may affect
the build
of your new module; settings in the Intel PRO/Wireless 2100 Network
Connection driver for Linux Makefile are overridden by settings in
the kernel
configuration.



8. BUILDING EXTERNAL (outside kernel source tree)
-----------------------------------------------

First, you need to install the ieee80211 modules. You can find the
modules
package and install instructions at http://ieee80211.sourceforge.net

Then, you need to unpack the Intel PRO/Wireless 2100 Network Connection
driver
for Linux source code:

% tar xzvf ipw2100-1.2.0.tgz
% cd ipw2100-1.2.0

The driver package contains a Makefile that can be used for building
the driver
outside of the kernel tree. To build it for the currently running
kernel,
simply type:

% make <--- You may need to run this as root

NOTE: If you see any errors during the build process be sure to check
the
Issues section on the http://ipw2100.sf.net website as a patch may be
available
for your specific kernel configuration.

To build it for a different kernel than the running one, use the KSRC
parameter:

% make KSRC=/path/to/kernel

If you wish to install the modules into your currently running kernel
you can
do so via:

# make install <--- You need to run this as root

If you wish to install the modules into other place, you can do so via:

# make install KMISC=/path/to/install <--- You need to run this as
root


The Makefile for versions 1.0.6 and earlier defaults to building with
DEBUG
enabled. Versions 1.0.7 and later default to no debug. You can change
this
by editing the Makefile (search for CONFIG_IPW2100_DEBUG), which will
also
influence the Intel PRO/Wireless 2100 Network Connection driver for
Linux load script
to load with module parameter debug set to a default value embedded in
the
load script.



9. BUILDING WITHIN THE KERNEL SOURCE TREE
-----------------------------------------------

Starting with Linux kernel version 2.6.14, an old stable version of the
Intel PRO/Wireless 2100 Network Connection driver for Linux is provided
in the kernel. The Intel PRO/Wireless 2100 Network Connection driver
for
Linux project does not currently provide patches or other support for
upgrading this driver within the kernel tree, and does not provide
support
for building within earlier kernel trees.



10. LOADING FIRMWARE VIA HOT-PLUG
-----------------------------------------------

Before you can load the driver, you need the firmware image. You can
find
instructions for obtaining the firmware by going to:

http://ipw2100.sf.net/firmware.php.

Once you have the firmware, unzip the archive. You should find seven
(4)
files within it:

LICENSE A copy of the firmware license
ipw2100-(version number).fw Boot strap image
ipw2100-(version number)-i.fw Used in IBSS mode
ipw2100-(version number)-p.fw Used in monitor mode

You need to place all of these files into the hotplug firmware
directory,
e.g. /usr/lib/hotplug/firmware/ or /lib/firmware/. Check the
contents
of the /etc/hotplug/firmware.agent to determine the specific location
for your
distribution.

If you do not have /etc/hotplug/firmware.agent, then you need to
upgrade your
hotplug scripts to something later than 2003_10_07. You can obtain the
latest
hotplug scripts via the following link (look for hotplug,
not firmwarehotplug):

http://sourceforge.net/project/showf...group_id=17679

Also, make sure that your kernel supports the hotplug firmware loader.
See the
section above, KERNEL REQUIREMENTS -- Configuration, on
CONFIG_FW_LOADER .

NOTE: Loading this firmware image will not affect the Intel
PRO/Wireless
2100 Network Connection driver for Linux in any other operating systems
you may boot.
Each OS keeps its own copy of the firmware, and loads its own copy onto
the
hardware each time the OS initializes the card.



11. LOADING THE DRIVER
-----------------------------------------------

IMPORTANT: Before loadingipw2100.ko, the ieee80211 subsystem needs to
be
loaded first. If you've properly installed the ieee80211 subsystem and
Intel PRO/Wireless 2100 Network Connection driver for Linux (and done
depmod -a,
which make install does), the following should load both:

# modprobe ipw2100 <--- You need to run this as root

If built with DEBUG (default for Intel PRO/Wireless 2100 Network
Connection
driver for Linux (versions 1.0.6 and earlier), assuming it's not
overridden by kernel
config file -- see BUILDING EXTERNAL section), the driver can be loaded
with a debug mode (a bit map of debug options) which you can select
from
running the following script, found in the Intel PRO/Wireless 2100
Network
Connection driver for Linux source tree:

% . dvals (shows debug options)
% modprobe debug=0x43fff (this is a good value for a useful debug
log)
OR
% . load debug=0x43fff

The ieee80211 module has a similar debug option. Run idval in the
ieee80211
subsystem source tree to see its debug options.

There are several other useful load-time module parameter options for
ipw2100.
See README.ipw2100, Command Line Parameters section for more
information.

The load script, found in the Intel PRO/Wireless 2100 Network
Connection
driver for Linux source directory, is an easy way to load the ieee80211
subsystem,
several of its cryptography modules, and Intel PRO/Wireless 2100
Network
Connection driver for Linux. It is a bit more complete (it loads some
extra
decryption modules), and automatic, than modprobe Intel PRO/Wireless
2100
Network Connection driver for Linux. It uses modprobe to load the
ieee80211 components
from their installed location, but insmod to load the Intel
PRO/Wireless
2100 Network Connection driver for Linux directly from its build
directory.

The load script also looks at the Intel PRO/Wireless 2100 Network
Connection
driver for Linux Makefile to see if CONFIG_IPW_DEBUG is set, and will
automatically
load it with a default debug mode (and you can, of course, edit the
load
script to modify the default debug mode).

# . load <--- You need to run this as root

# . unload <--- You need to run this as root



12. COMMON TROUBLESHOOTING TIPS
-----------------------------------------------

1. The following Unknown symbol in module error appears when running
the
load script:

[root@localhost ipw2100-1.0.7-pre10]# . load
Unloaded: ieee80211 ieee80211_crypt_tkip ieee80211_crypt_ccmp
ieee80211_crypt_wep ieee80211_crypt
insmod: error inserting './ipw2100.ko': -1 Unknown symbol in module

CAUSE: One or both of the following kernel configuration files may
still have
entries from old installations. Follow the removal instructions in the
section above entitled UPGRADING FROM PRIOR VERSIONS.
/lib/modules/`uname -r`/build/include/linux/autoconf.h
/lib/modules/`uname -r`/build/.config


2. The following error appears in the dmesg kernel ring buffer output:
ipw2100: ipw-2.4-boot.fw load failed: Reason -2
ipw2100: Unable to load firmware: -2
ipw2100: failed to register network device
ipw2100: probe of 0000:02:03.0 failed with error -5

CAUSE: this may be due to any one of the following reasons:
- firmware in wrong location or wrong firmware version. Follow the
instructions in the section LOADING FIRMWARE VIA HOT-PLUG above.
- sysfs may not be mounted. Follow the instructions in the SYSFS
section
above.


3. The following error appears when compiling the driver.
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [modules] Error 2

CAUSE: make sure that the kernel source is installed on your machine


-------------------------END INSTALL
OTES--------------------------------

And I'm not sure which parts of this pertain to my particular
situation.

Now, I notice in here that it says I must rebuild my Kernel and the
Like and I'm not sure how to do this.

Things such as:

"3) Remove any old ieee80211 subsystem or Intel PRO/Wireless 2100
Network
Connection driver for Linux, and remove any kernel configurations
relating to them.

4) Build and install the current ieee80211 module."

and

"5) Build and install the current Intel PRO/Wireless 2100 Network
Connection
driver for Linux module."

seem to be quite complex operations for someone with limited linux
experience.

Is there anywhere that's likely to give me a blow by blow run-down of
what's needed to get it working in Fedora Core 5?

Please advise.
Thanks again.

Kush.





Davide Bianchi wrote:
> On 2006-10-25, Kushty <(E-Mail Removed)> wrote:
> > The Wireless is activated on the laptop but I'm not sure whether the
> > correct Drivers or Firmware are loaded.

>
> The driver is ipw2100, you should see it in the list of modules
>
> > default. If you want to make sure you have everything you need, confirm
> > that you have wireless-tools, hotplug, and pcmcia-cs installed:

>
> If your card is built-in, then you don't need pcmcia-cs.
>
> > Download the source code at http://ipw2100.sf.net and uncompress it
> > into a temporary directory:

>
> The latest versions of Linux have the driver provided with the kernel.
> You don't have to build it.
>
> > 5. Install the firmware

>
> This is what you probably have to do.
>
> > I ran a modprobe ipw2100 from a root command prompt but nothing obvious
> > happened.

>
> Yes, this is what is supposed to happen.
>
> > ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.3
> > ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
> > ipw2100: eth0: Firmware 'ipw2100-1.3.fw' not available or load failed.

>
> Here you go. It can't load the firmware. Note that he wants version 1.3
> Now, there are 2 or 3 reasons for not being able to load the firmware,
> the first one is, the firmware isn't there (doh!), have you installed
> it? Second, is the correct version? Third is what he is expecting?
> He is trying to load a file named 'ipw2100-1.3.fw', if the file is
> named 'ipw2100.fw' it won't work.
>
> Davide
>
> --
> I've gone through over-stressed to physical exhaustion... what's next?
> Tuesday
> --Simon Burr & Kyle Hearn


 
Reply With Quote
 
Kushty
Guest
Posts: n/a

 
      10-25-2006, 09:25 PM
Hello again Davide.

Thanks again for taking the time to have a look at this. Please forgive
my ignorance, though, as this is all pretty new to me and some of the
terminology used in the install note is beyond my limited
comprehension.

I've extracted the relevant firmware file ipw2100-1.3.fw to a folder of
its own and have the install notes as follows (please excuse the large
paste here):


---------------------------------INSTALL NOTES
-------------------------

Intel PRO/Wireless 2100 driver for Linux in support of:

Intel PRO/Wireless 2100 Network Connection Adapter

Copyright (C) 2003-2006, Intel Corporation

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL
PRODUCTS.
EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH
PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND/OR USE OF INTEL
PRODUCTS, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A
PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT,
COPYRIGHT, OR OTHER INTELLECTUAL PROPERTY RIGHT.
This document is subject to change without notice.
* Other names and brands may be claimed as the property of others.

INSTALL

Version: 1.2.0
Date : February 15, 2006


Index
-----------------------------------------------
0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
1. INSTALLING IN YOUR DISTRIBUTION
2. BUILD/INSTALLATION OVERVIEW
3. GETTING THE SOURCE
4. KERNEL REQUIREMENTS - 2.6.13+
5. KERNEL REQUIREMENTS - Configuration
6. SYSFS
7. UPGRADING FROM PRIOR VERSIONS
8. BUILDING EXTERNAL (outside of the kernel tree)
9. BUILDING WITHIN THE KERNEL SOURCE TREE (not supported)
10. LOADING FIRMWARE VIA HOT-PLUG
11. LOADING THE Intel PRO/Wireless 2100 Driver
12. COMMON TROUBLESHOOTING TIPS



0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
-----------------------------------------------

Important Notice FOR ALL USERS OR DISTRIBUTORS!!!!

Intel wireless LAN adapters are engineered, manufactured, tested, and
quality checked to ensure that they meet all necessary local and
governmental regulatory agency requirements for the regions that they
are designated and/or marked to ship into. Since wireless LANs are
generally unlicensed devices that share spectrum with radars,
satellites, and other licensed and unlicensed devices, it is sometimes
necessary to dynamically detect, avoid, and limit usage to avoid
interference with these devices. In many instances Intel is required to
provide test data to prove regional and local compliance to regional
and
governmental regulations before certification or approval to use the
product is granted. Intel's wireless LAN's EEPROM, firmware, and
software driver are designed to carefully control parameters that
affect
radio operation and to ensure electromagnetic compliance (EMC). These
parameters include, without limitation, RF power, spectrum usage,
channel scanning, and human exposure.

For these reasons Intel cannot permit any manipulation by third parties
of the software provided in binary format with the wireless WLAN
adapters (e.g., the EEPROM and firmware). Furthermore, if you use any
patches, utilities, or code with the Intel wireless LAN adapters that
have been manipulated by an unauthorized party (i.e., patches,
utilities, or code (including open source code modifications) which
have
not been validated by Intel), (i) you will be solely responsible for
ensuring the regulatory compliance of the products, (ii) Intel will
bear
no liability, under any theory of liability for any issues associated
with the modified products, including without limitation, claims under
the warranty and/or issues arising from regulatory non-compliance, and
(iii) Intel will not provide or be required to assist in providing
support to any third parties for such modified products.

Note: Many regulatory agencies consider Wireless LAN adapters to be
modules, and accordingly, condition system-level regulatory approval
upon receipt and review of test data documenting that the antennas and
system configuration do not cause the EMC and radio operation to be
non-compliant.

Intel PRO/Wireless 2100 Network Connection driver for Linux available
for download from SourceForge are provided as a part of a development
project.
Conformance to local regulatory requirements is the responsibility of
the
individual developer. As such, if you are interested in deploying or
shipping a driver as part of solution intended to be used for purposes
other than development, please obtain a tested driver from Intel
Customer
Support at:

http://support.intel.com/support/not.../CS-006408.htm




1. INSTALLING IN YOUR LINUX DISTRIBUTION
-----------------------------------------------
Since each distribution is different, we can not cover all of the steps
that
may be required to install and configure your device for the particular

distribution you are using.

Please refer to the documentation for your Linux distribution on issues

related to auto-detection and installation of Intel PRO/Wireless 2100
Network Connection driver for Linux within your environment.



2. BUILD/INSTALLATION OVERVIEW
-----------------------------------------------

Installation of the current Intel PRO/Wireless 2100 Network Connection
driver for Linux involves several steps:

1) Get the source and firmware.

2) Check for certain capabilities in your kernel, and rebuild the
kernel
if necessary.

3) Remove any old ieee80211 subsystem or Intel PRO/Wireless 2100
Network
Connection driver for Linux, and remove any kernel configurations
relating to them.

4) Build and install the current ieee80211 module.

5) Build and install the current Intel PRO/Wireless 2100 Network
Connection
driver for Linux module.

6) Download and install current firmware for your Intel PRO/Wireless
2100
Network Connection driver for Linux.

7) Read README.ipw2100 for helpful information on how to use the
Intel PRO/Wireless driver for Linux and Intel PRO/Wireless 2100
Network Connection
Adapter.



3. GETTING THE SOURCE AND FIRMWARE
-----------------------------------------------

You can get the latest ipw2100 source code tarball from:

http://ipw2100.sf.net

ipw2100-1.0.4 and earlier versions included the ieee80211 subsystem
within
the Intel PRO/Wireless 2100 Network Connection driver for Linux source
tree.
For current versions of the Intel PRO/Wireless 2100 Network Connection
driver
for Linux, starting with version 1.0.5, you must obtain an ieee80211
subsystem
separately from the following site:

http://ieee80211.sf.net

Instructions for obtaining firmware can be found at:

http://ipw2100.sf.net/firmware.php.

You will need to unpack the tarballs. Intel PRO/Wireless 2100 driver
for Linux
and ieee80211 subsystem, create subdirectories, but firmware does not
create
subdirectories; you may want to put the firmware tarball in its own
directory before unpacking.

% tar xzvf ipw2100-1.2.0.tgz
% tar xzvf ieee80211- .tgz
% tar xzvf ipw2100-fw- .tgz



4. KERNEL REQUIREMENTS - 2.6.13+
-----------------------------------------------

The Intel PRO/Wireless 2100 Network Connection driver for Linux is
currently
maintained only for 2.6.13+ versions of the Linux kernel, restricted in
part by ieee80211 subsystem's requirement for 2.6.13+ (see INSTALL doc
in ieee80211 source tree).

Due to time constraints, we can not maintain a 2.4 backport of the
driver
for Linux.

There is a family of 2.4 backport patches for some earlier versions of
the
Intel PRO/Wireless 2100 Network Connection driver for Linux, provided
by an
external maintainer, but these patches are not managed or maintained by
the
Intel PRO/Wireless developers. For a link to this site, and some other
sites
that may be of interest, please review the following site::

http://ipw2100.sourceforge.net/#links



5. KERNEL REQUIREMENTS - Configuration
-----------------------------------------------

Your kernel must be configured and compiled to provide certain
capabilities
needed by the ieee80211 subsystem and Intel PRO/Wireless 2100 Network
Connection driver for Linux.

In addition, kernel versions 2.6.14 and later have integrated *old*
ieee80211 subsystem and old Intel PRO/Wireless 2100 Network Connection
driver for Linux as part of the mainline tree. If these are compiled
into your kernel
(i.e. not as modules, but as built-in), you will need to reconfigure
(using
n to exclude/disable ieee80211 subsystem and Intel PRO/Wireless 2100
Network Connection) drivers and rebuild your kernel before proceeding
with
your Intel PRO/Wireless 2100 Network Connection driver for Linux
upgrade. See below.

You can verify that your running kernel is configured properly by
searching the following file for the #define entries described below:

/lib/modules/`uname -r`/build/include/linux/autoconf.h

If you need to change anything in your kernel configuration (e.g. using
make menuconfig), make sure that you also rebuild, install, and reboot
to
the new kernel image before proceeding with your Intel PRO/Wireless
2100
Network Connection driver for Linux upgrade. For help or instructions
on
configuring and building the kernel, please consult the documentation
contained in your distribution.

MAKE SURE THAT THE FOLLOWING CAPABILITIES ARE ENABLED:

~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_NET_RADIO 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failure to enable CONFIG_NET_RADIO will result in the Wireless Tools
(iwconfig, iwlist, etc.) not functioning. In 2.6.x, this is enabled via
menuconfig:

Device Drivers ->
Networking support ->
Network device support ->
Wireless LAN (non-hamradio) ->
Wireless LAN drivers
(non-hamradio) & WE


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_FW_LOADER 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Intel PRO/Wireless 2100 Network Connection driver for Linux loads
firmware via the
Linux firmware hotplug capability (see later section on firmware
loading).
In 2.6.x, this is enabled via menuconfig:

Device Drivers ->
Generic Driver Options ->
Hotplug firmware loading support


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_CRYPTO 1
#define CONFIG_CRYPTO_ARC4(_MODULE) 1
#define CONFIG_CRC32(_MODULE) 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Intel PRO/Wireless 2100 Network Connection driver for Linux uses the
WEP
encryption and decryption algorithms provided by the Linux kernel. To
use WEP you must enable the crypto library support (CONFIG_CRYPTO) and
the ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4) as noted below:

Cryptographic options ->
ARC4 cipher algorithm

You also need to enable the CRC32 (CONFIG_CRC32) algorithm as noted
below:

Library routines ->
CRC32 functions


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_CRYPTO_MICHAEL_MIC(_MODULE) 1
#define CONFIG_CRYPTO_AES_586(_MODULE) 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you wish to enable (optional) WPA support, you also need to enable
the
following crypto library modules (in addition to those required for WEP
above):

Cryptographic options ->
Michael MIC keyed digest algorithm
AES cipher algorithms (i586)



NOW MAKE SURE THAT THE FOLLOWING CAPABILITIES ARE *NOT* ENABLED!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_IEEE80211 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If ieee80211 subsystem support is built into your kernel (i.e.,
in kernel versions 2.6.14 and later), you must de-configure that
capability and rebuild your kernel before upgrading the ieee80211
subsystem and Intel PRO/Wireless 2100 Network Connection driver for
Linux.
In 2.6.x, this is *dis*abled via menuconfig (enter n for no):

Networking ->
Networking support (NET [=y]) ->
Generic IEEE 802.11 Networking Stack

NOTE: If ieee80211 subsystem is supported as a module (this would show
up as
#define CONFIG_IEEE80211_MODULE 1), you do not need to rebuild your
kernel,
but you will need to remove the binary module and relevant include
files
(see UPGRADING FROM PRIOR VERSIONS, below).


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_IPW2100 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If Intel PRO/Wireless 2100 Network Connection driver for Linux support
is built
into your kernel (i.e., in kernel versions 2.6.14 and later), you must
de-configure that capability and rebuild your kernel before upgrading
ieee80211 subsystem and Intel PRO/Wireless 2100 Network Connection
driver for Linux.
In 2.6.x, this is *dis*abled via menuconfig (enter n for no):

Device Drivers ->
Network device support ->
Network device support (NETDEVICES [=y]) ->
Wireless LAN (non-hamradio) ->
Intel PRO/Wireless 2100...

NOTE: If Intel PRO/Wireless 2100 Network Connection driver for Linux
is supported
as a module (this would show up as #define CONFIG_IPW2100_MODULE 1),
you
do not need to rebuild your kernel, but you will need to remove the
binary module and relevant include files (see UPGRADING FROM PRIOR
VERSIONS, below).



6. SYSFS
-----------------------------------------------

You will also need to have sysfs mounted. This facility is used to
query
and control the operation of the Intel PRO/Wireless 2100 Network
Connection
driver for Linux (see the README.ipw2100, found in the Intel
PRO/Wireless 2100
Network Connection driver for Linux source directory).

You can mount sysfs this by adding an entry to /etc/fstab similar to
this:

none /sys sysfs defaults 0
0

If the directory /sys does not already exist, you will need to create
it:

% mkdir /sys

You can then mount the sysfs partition via:

% mount -a



7. UPGRADING FROM PRIOR VERSIONS
-----------------------------------------------

You may have an old version of the ieee80211 subsystem and Intel
PRO/Wireless 2100 Network Connection driver for Linux if your Linux
distribution includes them, or if you have installed an earlier version
of the Intel PRO/Wireless 2100 Network Connection driver for Linux
yourself.
In addition, kernel versions 2.6.14 and later include *old* versions of
the Intel PRO/Wireless 2100 Network Connection (i.e., version 1.0)
driver
for Linux in the mainline source tree. You should upgrade to a more
recent
set of drivers.

Before upgrading to a new ieee80211 subsystem and Intel PRO/Wireless
2100
Network Connection driver for Linux, you should remove old ieee80211
subsystem,
Intel PRO/Wireless 2100, *and* Intel PRO/Wireless 2100 Network
Connection
driver for Linux modules (so modprobe won't find them), as well as any
related kernel
configuration declarations (so that they don't affect the new build).
To
do this most easily, you can use the 'remove-old' script, found in the
Intel PRO/Wireless 2100 Network Connection driver for Linux source
directory, as in
the following example:

% cd /your/path/to/ipw2100-1.2.0
% chmod 755 remove-old (probably not necessary)
% . remove-old <--- You need to run this as root

Answer *y* to all of questions.

NOTE: If you have already installed a new version of ieee80211
subsystem,
this removes it! Run this *before* installing the new ieee80211module.


Since this script may not work thoroughly and reliably for your
particular
distribution, the following is a summary of what you can do manually to
check
and/or complete its work.

1) Remove any old ieee802.11 and Intel PRO/Wireless 2100 Network
Connection
driver for Linux modules from
/lib/modules/{VERSION}. Find them via:

% for i in ieee80211 ipw2100; do \
find /lib/modules/`uname -r` -iname ${i}*; done

Remove whatever that finds, including directories and .h files
(create
backup files, unless you're feeling adventurous!).

Failure to remove old modules may result in unresolved symbols
when you try to load your new drivers.


2) Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW
declarations
in kernel's autoconf.h. Find with:

% for i in IEEE80211 IPW; do \
grep CONFIG_${i} \
/lib/modules/`uname -r`/build/include/linux/autoconf.h;
done

Use c-style comments (i.e. /* */) to comment out each line that it
finds.
Use a pair of /* */ for each line separately, instead of trying to
comment
out a block of several lines with a single pair of /* */.


3) Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW
declarations
in kernel's .config. Find with:

% for i in IEEE80211 IPW; do \
grep CONFIG_${i} \
/lib/modules/`uname -r`/build/.config; done

Use shell-style comments (i.e. #) to comment out the entries it
finds.

Failure to comment out these lines in steps 2) and 3) may affect
the build
of your new module; settings in the Intel PRO/Wireless 2100 Network
Connection driver for Linux Makefile are overridden by settings in
the kernel
configuration.



8. BUILDING EXTERNAL (outside kernel source tree)
-----------------------------------------------

First, you need to install the ieee80211 modules. You can find the
modules
package and install instructions at http://ieee80211.sourceforge.net

Then, you need to unpack the Intel PRO/Wireless 2100 Network Connection
driver
for Linux source code:

% tar xzvf ipw2100-1.2.0.tgz
% cd ipw2100-1.2.0

The driver package contains a Makefile that can be used for building
the driver
outside of the kernel tree. To build it for the currently running
kernel,
simply type:

% make <--- You may need to run this as root

NOTE: If you see any errors during the build process be sure to check
the
Issues section on the http://ipw2100.sf.net website as a patch may be
available
for your specific kernel configuration.

To build it for a different kernel than the running one, use the KSRC
parameter:

% make KSRC=/path/to/kernel

If you wish to install the modules into your currently running kernel
you can
do so via:

# make install <--- You need to run this as root

If you wish to install the modules into other place, you can do so via:

# make install KMISC=/path/to/install <--- You need to run this as
root


The Makefile for versions 1.0.6 and earlier defaults to building with
DEBUG
enabled. Versions 1.0.7 and later default to no debug. You can change
this
by editing the Makefile (search for CONFIG_IPW2100_DEBUG), which will
also
influence the Intel PRO/Wireless 2100 Network Connection driver for
Linux load script
to load with module parameter debug set to a default value embedded in
the
load script.



9. BUILDING WITHIN THE KERNEL SOURCE TREE
-----------------------------------------------

Starting with Linux kernel version 2.6.14, an old stable version of the
Intel PRO/Wireless 2100 Network Connection driver for Linux is provided
in the kernel. The Intel PRO/Wireless 2100 Network Connection driver
for
Linux project does not currently provide patches or other support for
upgrading this driver within the kernel tree, and does not provide
support
for building within earlier kernel trees.



10. LOADING FIRMWARE VIA HOT-PLUG
-----------------------------------------------

Before you can load the driver, you need the firmware image. You can
find
instructions for obtaining the firmware by going to:

http://ipw2100.sf.net/firmware.php.

Once you have the firmware, unzip the archive. You should find seven
(4)
files within it:

LICENSE A copy of the firmware license
ipw2100-(version number).fw Boot strap image
ipw2100-(version number)-i.fw Used in IBSS mode
ipw2100-(version number)-p.fw Used in monitor mode

You need to place all of these files into the hotplug firmware
directory,
e.g. /usr/lib/hotplug/firmware/ or /lib/firmware/. Check the
contents
of the /etc/hotplug/firmware.agent to determine the specific location
for your
distribution.

If you do not have /etc/hotplug/firmware.agent, then you need to
upgrade your
hotplug scripts to something later than 2003_10_07. You can obtain the
latest
hotplug scripts via the following link (look for hotplug,
not firmwarehotplug):

http://sourceforge.net/project/showf...group_id=17679

Also, make sure that your kernel supports the hotplug firmware loader.
See the
section above, KERNEL REQUIREMENTS -- Configuration, on
CONFIG_FW_LOADER .

NOTE: Loading this firmware image will not affect the Intel
PRO/Wireless
2100 Network Connection driver for Linux in any other operating systems
you may boot.
Each OS keeps its own copy of the firmware, and loads its own copy onto
the
hardware each time the OS initializes the card.



11. LOADING THE DRIVER
-----------------------------------------------

IMPORTANT: Before loadingipw2100.ko, the ieee80211 subsystem needs to
be
loaded first. If you've properly installed the ieee80211 subsystem and
Intel PRO/Wireless 2100 Network Connection driver for Linux (and done
depmod -a,
which make install does), the following should load both:

# modprobe ipw2100 <--- You need to run this as root

If built with DEBUG (default for Intel PRO/Wireless 2100 Network
Connection
driver for Linux (versions 1.0.6 and earlier), assuming it's not
overridden by kernel
config file -- see BUILDING EXTERNAL section), the driver can be loaded
with a debug mode (a bit map of debug options) which you can select
from
running the following script, found in the Intel PRO/Wireless 2100
Network
Connection driver for Linux source tree:

% . dvals (shows debug options)
% modprobe debug=0x43fff (this is a good value for a useful debug
log)
OR
% . load debug=0x43fff

The ieee80211 module has a similar debug option. Run idval in the
ieee80211
subsystem source tree to see its debug options.

There are several other useful load-time module parameter options for
ipw2100.
See README.ipw2100, Command Line Parameters section for more
information.

The load script, found in the Intel PRO/Wireless 2100 Network
Connection
driver for Linux source directory, is an easy way to load the ieee80211
subsystem,
several of its cryptography modules, and Intel PRO/Wireless 2100
Network
Connection driver for Linux. It is a bit more complete (it loads some
extra
decryption modules), and automatic, than modprobe Intel PRO/Wireless
2100
Network Connection driver for Linux. It uses modprobe to load the
ieee80211 components
from their installed location, but insmod to load the Intel
PRO/Wireless
2100 Network Connection driver for Linux directly from its build
directory.

The load script also looks at the Intel PRO/Wireless 2100 Network
Connection
driver for Linux Makefile to see if CONFIG_IPW_DEBUG is set, and will
automatically
load it with a default debug mode (and you can, of course, edit the
load
script to modify the default debug mode).

# . load <--- You need to run this as root

# . unload <--- You need to run this as root



12. COMMON TROUBLESHOOTING TIPS
-----------------------------------------------

1. The following Unknown symbol in module error appears when running
the
load script:

[root@localhost ipw2100-1.0.7-pre10]# . load
Unloaded: ieee80211 ieee80211_crypt_tkip ieee80211_crypt_ccmp
ieee80211_crypt_wep ieee80211_crypt
insmod: error inserting './ipw2100.ko': -1 Unknown symbol in module

CAUSE: One or both of the following kernel configuration files may
still have
entries from old installations. Follow the removal instructions in the
section above entitled UPGRADING FROM PRIOR VERSIONS.
/lib/modules/`uname -r`/build/include/linux/autoconf.h
/lib/modules/`uname -r`/build/.config


2. The following error appears in the dmesg kernel ring buffer output:
ipw2100: ipw-2.4-boot.fw load failed: Reason -2
ipw2100: Unable to load firmware: -2
ipw2100: failed to register network device
ipw2100: probe of 0000:02:03.0 failed with error -5

CAUSE: this may be due to any one of the following reasons:
- firmware in wrong location or wrong firmware version. Follow the
instructions in the section LOADING FIRMWARE VIA HOT-PLUG above.
- sysfs may not be mounted. Follow the instructions in the SYSFS
section
above.


3. The following error appears when compiling the driver.
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [modules] Error 2

CAUSE: make sure that the kernel source is installed on your machine


-------------------------END INSTALL
OTES--------------------------------

And I'm not sure which parts of this pertain to my particular
situation.

Now, I notice in here that it says I must rebuild my Kernel and the
Like and I'm not sure how to do this.

Things such as:

"3) Remove any old ieee80211 subsystem or Intel PRO/Wireless 2100
Network
Connection driver for Linux, and remove any kernel configurations
relating to them.

4) Build and install the current ieee80211 module."

and

"5) Build and install the current Intel PRO/Wireless 2100 Network
Connection
driver for Linux module."

seem to be quite complex operations for someone with limited linux
experience.

Is there anywhere that's likely to give me a blow by blow run-down of
what's needed to get it working in Fedora Core 5?

Please advise.
Thanks again.

Kush.





Davide Bianchi wrote:
> On 2006-10-25, Kushty <(E-Mail Removed)> wrote:
> > The Wireless is activated on the laptop but I'm not sure whether the
> > correct Drivers or Firmware are loaded.

>
> The driver is ipw2100, you should see it in the list of modules
>
> > default. If you want to make sure you have everything you need, confirm
> > that you have wireless-tools, hotplug, and pcmcia-cs installed:

>
> If your card is built-in, then you don't need pcmcia-cs.
>
> > Download the source code at http://ipw2100.sf.net and uncompress it
> > into a temporary directory:

>
> The latest versions of Linux have the driver provided with the kernel.
> You don't have to build it.
>
> > 5. Install the firmware

>
> This is what you probably have to do.
>
> > I ran a modprobe ipw2100 from a root command prompt but nothing obvious
> > happened.

>
> Yes, this is what is supposed to happen.
>
> > ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.3
> > ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
> > ipw2100: eth0: Firmware 'ipw2100-1.3.fw' not available or load failed.

>
> Here you go. It can't load the firmware. Note that he wants version 1.3
> Now, there are 2 or 3 reasons for not being able to load the firmware,
> the first one is, the firmware isn't there (doh!), have you installed
> it? Second, is the correct version? Third is what he is expecting?
> He is trying to load a file named 'ipw2100-1.3.fw', if the file is
> named 'ipw2100.fw' it won't work.
>
> Davide
>
> --
> I've gone through over-stressed to physical exhaustion... what's next?
> Tuesday
> --Simon Burr & Kyle Hearn


 
Reply With Quote
 
Kushty
Guest
Posts: n/a

 
      10-25-2006, 09:39 PM
Hello again Davide.

Thanks again for taking the time to have a look at this. Please forgive
my ignorance, though, as this is all pretty new to me and some of the
terminology used in the install note is beyond my limited
comprehension.

I've extracted the relevant firmware file ipw2100-1.3.fw to a folder of
its own and have the install notes as follows (please excuse the large
paste here):


---------------------------------INSTALL NOTES
-------------------------

Intel PRO/Wireless 2100 driver for Linux in support of:

Intel PRO/Wireless 2100 Network Connection Adapter

Copyright (C) 2003-2006, Intel Corporation

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL
PRODUCTS.
EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH
PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND/OR USE OF INTEL
PRODUCTS, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A
PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT,
COPYRIGHT, OR OTHER INTELLECTUAL PROPERTY RIGHT.
This document is subject to change without notice.
* Other names and brands may be claimed as the property of others.

INSTALL

Version: 1.2.0
Date : February 15, 2006


Index
-----------------------------------------------
0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
1. INSTALLING IN YOUR DISTRIBUTION
2. BUILD/INSTALLATION OVERVIEW
3. GETTING THE SOURCE
4. KERNEL REQUIREMENTS - 2.6.13+
5. KERNEL REQUIREMENTS - Configuration
6. SYSFS
7. UPGRADING FROM PRIOR VERSIONS
8. BUILDING EXTERNAL (outside of the kernel tree)
9. BUILDING WITHIN THE KERNEL SOURCE TREE (not supported)
10. LOADING FIRMWARE VIA HOT-PLUG
11. LOADING THE Intel PRO/Wireless 2100 Driver
12. COMMON TROUBLESHOOTING TIPS



0. IMPORTANT INFORMATION BEFORE USING THIS DRIVER
-----------------------------------------------

Important Notice FOR ALL USERS OR DISTRIBUTORS!!!!

Intel wireless LAN adapters are engineered, manufactured, tested, and
quality checked to ensure that they meet all necessary local and
governmental regulatory agency requirements for the regions that they
are designated and/or marked to ship into. Since wireless LANs are
generally unlicensed devices that share spectrum with radars,
satellites, and other licensed and unlicensed devices, it is sometimes
necessary to dynamically detect, avoid, and limit usage to avoid
interference with these devices. In many instances Intel is required to
provide test data to prove regional and local compliance to regional
and
governmental regulations before certification or approval to use the
product is granted. Intel's wireless LAN's EEPROM, firmware, and
software driver are designed to carefully control parameters that
affect
radio operation and to ensure electromagnetic compliance (EMC). These
parameters include, without limitation, RF power, spectrum usage,
channel scanning, and human exposure.

For these reasons Intel cannot permit any manipulation by third parties
of the software provided in binary format with the wireless WLAN
adapters (e.g., the EEPROM and firmware). Furthermore, if you use any
patches, utilities, or code with the Intel wireless LAN adapters that
have been manipulated by an unauthorized party (i.e., patches,
utilities, or code (including open source code modifications) which
have
not been validated by Intel), (i) you will be solely responsible for
ensuring the regulatory compliance of the products, (ii) Intel will
bear
no liability, under any theory of liability for any issues associated
with the modified products, including without limitation, claims under
the warranty and/or issues arising from regulatory non-compliance, and
(iii) Intel will not provide or be required to assist in providing
support to any third parties for such modified products.

Note: Many regulatory agencies consider Wireless LAN adapters to be
modules, and accordingly, condition system-level regulatory approval
upon receipt and review of test data documenting that the antennas and
system configuration do not cause the EMC and radio operation to be
non-compliant.

Intel PRO/Wireless 2100 Network Connection driver for Linux available
for download from SourceForge are provided as a part of a development
project.
Conformance to local regulatory requirements is the responsibility of
the
individual developer. As such, if you are interested in deploying or
shipping a driver as part of solution intended to be used for purposes
other than development, please obtain a tested driver from Intel
Customer
Support at:

http://support.intel.com/support/not.../CS-006408.htm




1. INSTALLING IN YOUR LINUX DISTRIBUTION
-----------------------------------------------
Since each distribution is different, we can not cover all of the steps
that
may be required to install and configure your device for the particular

distribution you are using.

Please refer to the documentation for your Linux distribution on issues

related to auto-detection and installation of Intel PRO/Wireless 2100
Network Connection driver for Linux within your environment.



2. BUILD/INSTALLATION OVERVIEW
-----------------------------------------------

Installation of the current Intel PRO/Wireless 2100 Network Connection
driver for Linux involves several steps:

1) Get the source and firmware.

2) Check for certain capabilities in your kernel, and rebuild the
kernel
if necessary.

3) Remove any old ieee80211 subsystem or Intel PRO/Wireless 2100
Network
Connection driver for Linux, and remove any kernel configurations
relating to them.

4) Build and install the current ieee80211 module.

5) Build and install the current Intel PRO/Wireless 2100 Network
Connection
driver for Linux module.

6) Download and install current firmware for your Intel PRO/Wireless
2100
Network Connection driver for Linux.

7) Read README.ipw2100 for helpful information on how to use the
Intel PRO/Wireless driver for Linux and Intel PRO/Wireless 2100
Network Connection
Adapter.



3. GETTING THE SOURCE AND FIRMWARE
-----------------------------------------------

You can get the latest ipw2100 source code tarball from:

http://ipw2100.sf.net

ipw2100-1.0.4 and earlier versions included the ieee80211 subsystem
within
the Intel PRO/Wireless 2100 Network Connection driver for Linux source
tree.
For current versions of the Intel PRO/Wireless 2100 Network Connection
driver
for Linux, starting with version 1.0.5, you must obtain an ieee80211
subsystem
separately from the following site:

http://ieee80211.sf.net

Instructions for obtaining firmware can be found at:

http://ipw2100.sf.net/firmware.php.

You will need to unpack the tarballs. Intel PRO/Wireless 2100 driver
for Linux
and ieee80211 subsystem, create subdirectories, but firmware does not
create
subdirectories; you may want to put the firmware tarball in its own
directory before unpacking.

% tar xzvf ipw2100-1.2.0.tgz
% tar xzvf ieee80211- .tgz
% tar xzvf ipw2100-fw- .tgz



4. KERNEL REQUIREMENTS - 2.6.13+
-----------------------------------------------

The Intel PRO/Wireless 2100 Network Connection driver for Linux is
currently
maintained only for 2.6.13+ versions of the Linux kernel, restricted in
part by ieee80211 subsystem's requirement for 2.6.13+ (see INSTALL doc
in ieee80211 source tree).

Due to time constraints, we can not maintain a 2.4 backport of the
driver
for Linux.

There is a family of 2.4 backport patches for some earlier versions of
the
Intel PRO/Wireless 2100 Network Connection driver for Linux, provided
by an
external maintainer, but these patches are not managed or maintained by
the
Intel PRO/Wireless developers. For a link to this site, and some other
sites
that may be of interest, please review the following site::

http://ipw2100.sourceforge.net/#links



5. KERNEL REQUIREMENTS - Configuration
-----------------------------------------------

Your kernel must be configured and compiled to provide certain
capabilities
needed by the ieee80211 subsystem and Intel PRO/Wireless 2100 Network
Connection driver for Linux.

In addition, kernel versions 2.6.14 and later have integrated *old*
ieee80211 subsystem and old Intel PRO/Wireless 2100 Network Connection
driver for Linux as part of the mainline tree. If these are compiled
into your kernel
(i.e. not as modules, but as built-in), you will need to reconfigure
(using
n to exclude/disable ieee80211 subsystem and Intel PRO/Wireless 2100
Network Connection) drivers and rebuild your kernel before proceeding
with
your Intel PRO/Wireless 2100 Network Connection driver for Linux
upgrade. See below.

You can verify that your running kernel is configured properly by
searching the following file for the #define entries described below:

/lib/modules/`uname -r`/build/include/linux/autoconf.h

If you need to change anything in your kernel configuration (e.g. using
make menuconfig), make sure that you also rebuild, install, and reboot
to
the new kernel image before proceeding with your Intel PRO/Wireless
2100
Network Connection driver for Linux upgrade. For help or instructions
on
configuring and building the kernel, please consult the documentation
contained in your distribution.

MAKE SURE THAT THE FOLLOWING CAPABILITIES ARE ENABLED:

~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_NET_RADIO 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failure to enable CONFIG_NET_RADIO will result in the Wireless Tools
(iwconfig, iwlist, etc.) not functioning. In 2.6.x, this is enabled via
menuconfig:

Device Drivers ->
Networking support ->
Network device support ->
Wireless LAN (non-hamradio) ->
Wireless LAN drivers
(non-hamradio) & WE


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_FW_LOADER 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Intel PRO/Wireless 2100 Network Connection driver for Linux loads
firmware via the
Linux firmware hotplug capability (see later section on firmware
loading).
In 2.6.x, this is enabled via menuconfig:

Device Drivers ->
Generic Driver Options ->
Hotplug firmware loading support


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_CRYPTO 1
#define CONFIG_CRYPTO_ARC4(_MODULE) 1
#define CONFIG_CRC32(_MODULE) 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Intel PRO/Wireless 2100 Network Connection driver for Linux uses the
WEP
encryption and decryption algorithms provided by the Linux kernel. To
use WEP you must enable the crypto library support (CONFIG_CRYPTO) and
the ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4) as noted below:

Cryptographic options ->
ARC4 cipher algorithm

You also need to enable the CRC32 (CONFIG_CRC32) algorithm as noted
below:

Library routines ->
CRC32 functions


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_CRYPTO_MICHAEL_MIC(_MODULE) 1
#define CONFIG_CRYPTO_AES_586(_MODULE) 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you wish to enable (optional) WPA support, you also need to enable
the
following crypto library modules (in addition to those required for WEP
above):

Cryptographic options ->
Michael MIC keyed digest algorithm
AES cipher algorithms (i586)



NOW MAKE SURE THAT THE FOLLOWING CAPABILITIES ARE *NOT* ENABLED!!

~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_IEEE80211 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If ieee80211 subsystem support is built into your kernel (i.e.,
in kernel versions 2.6.14 and later), you must de-configure that
capability and rebuild your kernel before upgrading the ieee80211
subsystem and Intel PRO/Wireless 2100 Network Connection driver for
Linux.
In 2.6.x, this is *dis*abled via menuconfig (enter n for no):

Networking ->
Networking support (NET [=y]) ->
Generic IEEE 802.11 Networking Stack

NOTE: If ieee80211 subsystem is supported as a module (this would show
up as
#define CONFIG_IEEE80211_MODULE 1), you do not need to rebuild your
kernel,
but you will need to remove the binary module and relevant include
files
(see UPGRADING FROM PRIOR VERSIONS, below).


~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define CONFIG_IPW2100 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
If Intel PRO/Wireless 2100 Network Connection driver for Linux support
is built
into your kernel (i.e., in kernel versions 2.6.14 and later), you must
de-configure that capability and rebuild your kernel before upgrading
ieee80211 subsystem and Intel PRO/Wireless 2100 Network Connection
driver for Linux.
In 2.6.x, this is *dis*abled via menuconfig (enter n for no):

Device Drivers ->
Network device support ->
Network device support (NETDEVICES [=y]) ->
Wireless LAN (non-hamradio) ->
Intel PRO/Wireless 2100...

NOTE: If Intel PRO/Wireless 2100 Network Connection driver for Linux
is supported
as a module (this would show up as #define CONFIG_IPW2100_MODULE 1),
you
do not need to rebuild your kernel, but you will need to remove the
binary module and relevant include files (see UPGRADING FROM PRIOR
VERSIONS, below).



6. SYSFS
-----------------------------------------------

You will also need to have sysfs mounted. This facility is used to
query
and control the operation of the Intel PRO/Wireless 2100 Network
Connection
driver for Linux (see the README.ipw2100, found in the Intel
PRO/Wireless 2100
Network Connection driver for Linux source directory).

You can mount sysfs this by adding an entry to /etc/fstab similar to
this:

none /sys sysfs defaults 0
0

If the directory /sys does not already exist, you will need to create
it:

% mkdir /sys

You can then mount the sysfs partition via:

% mount -a



7. UPGRADING FROM PRIOR VERSIONS
-----------------------------------------------

You may have an old version of the ieee80211 subsystem and Intel
PRO/Wireless 2100 Network Connection driver for Linux if your Linux
distribution includes them, or if you have installed an earlier version
of the Intel PRO/Wireless 2100 Network Connection driver for Linux
yourself.
In addition, kernel versions 2.6.14 and later include *old* versions of
the Intel PRO/Wireless 2100 Network Connection (i.e., version 1.0)
driver
for Linux in the mainline source tree. You should upgrade to a more
recent
set of drivers.

Before upgrading to a new ieee80211 subsystem and Intel PRO/Wireless
2100
Network Connection driver for Linux, you should remove old ieee80211
subsystem,
Intel PRO/Wireless 2100, *and* Intel PRO/Wireless 2100 Network
Connection
driver for Linux modules (so modprobe won't find them), as well as any
related kernel
configuration declarations (so that they don't affect the new build).
To
do this most easily, you can use the 'remove-old' script, found in the
Intel PRO/Wireless 2100 Network Connection driver for Linux source
directory, as in
the following example:

% cd /your/path/to/ipw2100-1.2.0
% chmod 755 remove-old (probably not necessary)
% . remove-old <--- You need to run this as root

Answer *y* to all of questions.

NOTE: If you have already installed a new version of ieee80211
subsystem,
this removes it! Run this *before* installing the new ieee80211module.


Since this script may not work thoroughly and reliably for your
particular
distribution, the following is a summary of what you can do manually to
check
and/or complete its work.

1) Remove any old ieee802.11 and Intel PRO/Wireless 2100 Network
Connection
driver for Linux modules from
/lib/modules/{VERSION}. Find them via:

% for i in ieee80211 ipw2100; do \
find /lib/modules/`uname -r` -iname ${i}*; done

Remove whatever that finds, including directories and .h files
(create
backup files, unless you're feeling adventurous!).

Failure to remove old modules may result in unresolved symbols
when you try to load your new drivers.


2) Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW
declarations
in kernel's autoconf.h. Find with:

% for i in IEEE80211 IPW; do \
grep CONFIG_${i} \
/lib/modules/`uname -r`/build/include/linux/autoconf.h;
done

Use c-style comments (i.e. /* */) to comment out each line that it
finds.
Use a pair of /* */ for each line separately, instead of trying to
comment
out a block of several lines with a single pair of /* */.


3) Comment out or remove any CONFIG_IEEE80211 or CONFIG_IPW
declarations
in kernel's .config. Find with:

% for i in IEEE80211 IPW; do \
grep CONFIG_${i} \
/lib/modules/`uname -r`/build/.config; done

Use shell-style comments (i.e. #) to comment out the entries it
finds.

Failure to comment out these lines in steps 2) and 3) may affect
the build
of your new module; settings in the Intel PRO/Wireless 2100 Network
Connection driver for Linux Makefile are overridden by settings in
the kernel
configuration.



8. BUILDING EXTERNAL (outside kernel source tree)
-----------------------------------------------

First, you need to install the ieee80211 modules. You can find the
modules
package and install instructions at http://ieee80211.sourceforge.net

Then, you need to unpack the Intel PRO/Wireless 2100 Network Connection
driver
for Linux source code:

% tar xzvf ipw2100-1.2.0.tgz
% cd ipw2100-1.2.0

The driver package contains a Makefile that can be used for building
the driver
outside of the kernel tree. To build it for the currently running
kernel,
simply type:

% make <--- You may need to run this as root

NOTE: If you see any errors during the build process be sure to check
the
Issues section on the http://ipw2100.sf.net website as a patch may be
available
for your specific kernel configuration.

To build it for a different kernel than the running one, use the KSRC
parameter:

% make KSRC=/path/to/kernel

If you wish to install the modules into your currently running kernel
you can
do so via:

# make install <--- You need to run this as root

If you wish to install the modules into other place, you can do so via:

# make install KMISC=/path/to/install <--- You need to run this as
root


The Makefile for versions 1.0.6 and earlier defaults to building with
DEBUG
enabled. Versions 1.0.7 and later default to no debug. You can change
this
by editing the Makefile (search for CONFIG_IPW2100_DEBUG), which will
also
influence the Intel PRO/Wireless 2100 Network Connection driver for
Linux load script
to load with module parameter debug set to a default value embedded in
the
load script.



9. BUILDING WITHIN THE KERNEL SOURCE TREE
-----------------------------------------------

Starting with Linux kernel version 2.6.14, an old stable version of the
Intel PRO/Wireless 2100 Network Connection driver for Linux is provided
in the kernel. The Intel PRO/Wireless 2100 Network Connection driver
for
Linux project does not currently provide patches or other support for
upgrading this driver within the kernel tree, and does not provide
support
for building within earlier kernel trees.



10. LOADING FIRMWARE VIA HOT-PLUG
-----------------------------------------------

Before you can load the driver, you need the firmware image. You can
find
instructions for obtaining the firmware by going to:

http://ipw2100.sf.net/firmware.php.

Once you have the firmware, unzip the archive. You should find seven
(4)
files within it:

LICENSE A copy of the firmware license
ipw2100-(version number).fw Boot strap image
ipw2100-(version number)-i.fw Used in IBSS mode
ipw2100-(version number)-p.fw Used in monitor mode

You need to place all of these files into the hotplug firmware
directory,
e.g. /usr/lib/hotplug/firmware/ or /lib/firmware/. Check the
contents
of the /etc/hotplug/firmware.agent to determine the specific location
for your
distribution.

If you do not have /etc/hotplug/firmware.agent, then you need to
upgrade your
hotplug scripts to something later than 2003_10_07. You can obtain the
latest
hotplug scripts via the following link (look for hotplug,
not firmwarehotplug):

http://sourceforge.net/project/showf...group_id=17679

Also, make sure that your kernel supports the hotplug firmware loader.
See the
section above, KERNEL REQUIREMENTS -- Configuration, on
CONFIG_FW_LOADER .

NOTE: Loading this firmware image will not affect the Intel
PRO/Wireless
2100 Network Connection driver for Linux in any other operating systems
you may boot.
Each OS keeps its own copy of the firmware, and loads its own copy onto
the
hardware each time the OS initializes the card.



11. LOADING THE DRIVER
-----------------------------------------------

IMPORTANT: Before loadingipw2100.ko, the ieee80211 subsystem needs to
be
loaded first. If you've properly installed the ieee80211 subsystem and
Intel PRO/Wireless 2100 Network Connection driver for Linux (and done
depmod -a,
which make install does), the following should load both:

# modprobe ipw2100 <--- You need to run this as root

If built with DEBUG (default for Intel PRO/Wireless 2100 Network
Connection
driver for Linux (versions 1.0.6 and earlier), assuming it's not
overridden by kernel
config file -- see BUILDING EXTERNAL section), the driver can be loaded
with a debug mode (a bit map of debug options) which you can select
from
running the following script, found in the Intel PRO/Wireless 2100
Network
Connection driver for Linux source tree:

% . dvals (shows debug options)
% modprobe debug=0x43fff (this is a good value for a useful debug
log)
OR
% . load debug=0x43fff

The ieee80211 module has a similar debug option. Run idval in the
ieee80211
subsystem source tree to see its debug options.

There are several other useful load-time module parameter options for
ipw2100.
See README.ipw2100, Command Line Parameters section for more
information.

The load script, found in the Intel PRO/Wireless 2100 Network
Connection
driver for Linux source directory, is an easy way to load the ieee80211
subsystem,
several of its cryptography modules, and Intel PRO/Wireless 2100
Network
Connection driver for Linux. It is a bit more complete (it loads some
extra
decryption modules), and automatic, than modprobe Intel PRO/Wireless
2100
Network Connection driver for Linux. It uses modprobe to load the
ieee80211 components
from their installed location, but insmod to load the Intel
PRO/Wireless
2100 Network Connection driver for Linux directly from its build
directory.

The load script also looks at the Intel PRO/Wireless 2100 Network
Connection
driver for Linux Makefile to see if CONFIG_IPW_DEBUG is set, and will
automatically
load it with a default debug mode (and you can, of course, edit the
load
script to modify the default debug mode).

# . load <--- You need to run this as root

# . unload <--- You need to run this as root



12. COMMON TROUBLESHOOTING TIPS
-----------------------------------------------

1. The following Unknown symbol in module error appears when running
the
load script:

[root@localhost ipw2100-1.0.7-pre10]# . load
Unloaded: ieee80211 ieee80211_crypt_tkip ieee80211_crypt_ccmp
ieee80211_crypt_wep ieee80211_crypt
insmod: error inserting './ipw2100.ko': -1 Unknown symbol in module

CAUSE: One or both of the following kernel configuration files may
still have
entries from old installations. Follow the removal instructions in the
section above entitled UPGRADING FROM PRIOR VERSIONS.
/lib/modules/`uname -r`/build/include/linux/autoconf.h
/lib/modules/`uname -r`/build/.config


2. The following error appears in the dmesg kernel ring buffer output:
ipw2100: ipw-2.4-boot.fw load failed: Reason -2
ipw2100: Unable to load firmware: -2
ipw2100: failed to register network device
ipw2100: probe of 0000:02:03.0 failed with error -5

CAUSE: this may be due to any one of the following reasons:
- firmware in wrong location or wrong firmware version. Follow the
instructions in the section LOADING FIRMWARE VIA HOT-PLUG above.
- sysfs may not be mounted. Follow the instructions in the SYSFS
section
above.


3. The following error appears when compiling the driver.
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
make: *** [modules] Error 2

CAUSE: make sure that the kernel source is installed on your machine


-------------------------END INSTALL
OTES--------------------------------

And I'm not sure which parts of this pertain to my particular
situation.

Now, I notice in here that it says I must rebuild my Kernel and the
Like and I'm not sure how to do this.

Things such as:

"3) Remove any old ieee80211 subsystem or Intel PRO/Wireless 2100
Network
Connection driver for Linux, and remove any kernel configurations
relating to them.

4) Build and install the current ieee80211 module."

and

"5) Build and install the current Intel PRO/Wireless 2100 Network
Connection
driver for Linux module."

seem to be quite complex operations for someone with limited linux
experience.

Is there anywhere that's likely to give me a blow by blow run-down of
what's needed to get it working in Fedora Core 5?

Please advise.
Thanks again.

Kush.





Davide Bianchi wrote:
> On 2006-10-25, Kushty <(E-Mail Removed)> wrote:
> > The Wireless is activated on the laptop but I'm not sure whether the
> > correct Drivers or Firmware are loaded.

>
> The driver is ipw2100, you should see it in the list of modules
>
> > default. If you want to make sure you have everything you need, confirm
> > that you have wireless-tools, hotplug, and pcmcia-cs installed:

>
> If your card is built-in, then you don't need pcmcia-cs.
>
> > Download the source code at http://ipw2100.sf.net and uncompress it
> > into a temporary directory:

>
> The latest versions of Linux have the driver provided with the kernel.
> You don't have to build it.
>
> > 5. Install the firmware

>
> This is what you probably have to do.
>
> > I ran a modprobe ipw2100 from a root command prompt but nothing obvious
> > happened.

>
> Yes, this is what is supposed to happen.
>
> > ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.3
> > ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
> > ipw2100: eth0: Firmware 'ipw2100-1.3.fw' not available or load failed.

>
> Here you go. It can't load the firmware. Note that he wants version 1.3
> Now, there are 2 or 3 reasons for not being able to load the firmware,
> the first one is, the firmware isn't there (doh!), have you installed
> it? Second, is the correct version? Third is what he is expecting?
> He is trying to load a file named 'ipw2100-1.3.fw', if the file is
> named 'ipw2100.fw' it won't work.
>
> Davide
>
> --
> I've gone through over-stressed to physical exhaustion... what's next?
> Tuesday
> --Simon Burr & Kyle Hearn


 
Reply With Quote
 
Maurizio Loreti
Guest
Posts: n/a

 
      10-26-2006, 01:53 AM
1) You have a virus --- you posted three times the same message 800+
lines long.
2) Don't mess with ipw2100 files directly. You have a package
manager, don't you? So, add freshrpms (http://ayo.freshrpms.net/)
to your repositories list, then do (as root) something like

yum install ipw2100-firmware

if you use yum; run apt-get with the relevant command lines options
if you use apt.

--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Dept. of Physics, Univ. of Padova, Italy ROT13: (E-Mail Removed)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Pro/Wireless LAN 2100 3B Mini-PCI Adapter For Sale Morgi3 Wireless Internet 0 02-09-2006 08:11 PM
Intel Pro/Wireless LAN 2100 3B Mini-PCI Adapter For Sale Morgi3 Wireless Internet 3 02-09-2006 08:04 PM
PLEASE HELP - Intel Pro/Wireless LAN 2100 3A mini PCI adapter - Aa Curious Cally Wireless Networks 0 10-14-2005 10:19 AM
Please help - Intel Pro/Wireless LAN 2100 3A mini PCI adapter Curious Cally Wireless Networks 0 10-14-2005 10:17 AM
intel pro/wireless LAN 2100 3b mini pci adapter =?Utf-8?B?RGF2ZQ==?= Broadband Hardware 1 07-02-2005 07:04 AM



1 2 3 4 5 6 7 8 9 10 11