Your Ad Here
 
Questions ? info@easylivecd.com

EasyLiveCD.com
LiveCD Software Solutions
Linux LiveCD Router new
Download free
Router Firewall PRO new
Hotspot Server
VoIP Server
Samba File Server
Search Server
Documentation
Admin Book
VoIP Book
Printed Books
Questions ?
info@easylivecd.com
Hardware
WiFi
Firewall
VoIP
IP Camera
News
VoIP
Linux Router
Hotspot
WiFi Blog
VoIP forum
Linux forums
Tutorials new
WiFi.com.ar


Languages
Google Translations
GE IT FR CN PT JA KO AR
Write to us info@easylivecd.com

Documentation Index
* README
*
* Copyright (C) 2001 AbsoluteValue Systems, Inc.  All Rights Reserved.
* --------------------------------------------------------------------
*
* linux-wlan
*
*   The contents of this file are subject to the Mozilla Public
*   License Version 1.1 (the "License"); you may not use this file
*   except in compliance with the License. You may obtain a copy of
*   the License at http://www.mozilla.org/MPL/
*
*   Software distributed under the License is distributed on an "AS
*   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
*   implied. See the License for the specific language governing
*   rights and limitations under the License.
*
*   Alternatively, the contents of this file may be used under the
*   terms of the GNU Public License version 2 (the "GPL"), in which
*   case the provisions of the GPL are applicable instead of the
*   above.  If you wish to allow the use of your version of this file
*   only under the terms of the GPL and not to allow others to use
*   your version of this file under the MPL, indicate your decision
*   by deleting the provisions above and replace them with the notice
*   and other provisions required by the GPL.  If you do not delete
*   the provisions above, a recipient may use your version of this
*   file under either the MPL or the GPL.
*
* --------------------------------------------------------------------
*
* Inquiries regarding the linux-wlan Open Source project can be
* made directly to:
*
* AbsoluteValue Systems Inc.
* info@linux-wlan.com
* http://www.linux-wlan.com
*
* --------------------------------------------------------------------
*
* Portions of the development of this software were funded by 
* Intersil Corporation as part of PRISM(R) chipset product development.
*
* --------------------------------------------------------------------

=======================================================================
Description:
The linux-wlan package is a linux device driver and subsystem
package that is intended to provide the full range of IEEE 802.11 MAC
management capabilities for use in user-mode utilities and scripts.
The package currently supports the Intersil 802.11b Prism2, Prism2.5, 
and Prism3 reference designs for PCMCIA, PCI, and USB.  Additionally,
the package includes support for PLX9052 based PCI to PCMCIA adapter
with a few different PCMCIA cards.




=======================================================================
Configuring:

NOTE:  linux-wlan-ng does not fully implement the wireless extensions
       interface.  This means that you can't use iwconfig and its kin to 
       set things up.  Instead, read on!

As of linux-wlan-ng 0.1.16-pre5, the configuration and launch scripts have
been largely re-written.  pcmcia/rc/hotplug now all use a common library 
of routines and use the same set of configuration files.

Now, everything relevant exists in /etc/wlan/*

/etc/wlan/wlan.conf:

	This file maps between wlan devices and network IDs, and contains
	the names of all devices that should be initialized by the hotplug
	and rc scripts.

/etc/wlan/wlancfg-*

	These files are per-network configurations.  This makes it easy to 
	switch between different SSIDs and the various settings they may
	require, like WEP keys and whatnot.

The bare minimum you need to do to configure your system after a fresh driver
install:

0)  Nothing whatsoever.  out-of-the-box, the driver will attempt to associate
    with any access point within range.

However, we highly recommend setting up a configuration specifically for
your network, using the following method:

0)  This example assumes your network name/SSID is "MyHomeNetwork"
1)  cp /etc/wlan/wlancfg-DEFAULT /etc/wlan/wlancfg-MyHomeNetwork
2)  edit /etc/wlan/wlan.conf and change the SSID_wlan0 line to:
	SSID_wlan0="MyHomeNetwork"
3)  edit /etc/wlan/wlancfg-MyHomeNetwork, and make any necessary changes 
    necessary to support your network, such as WEP and whatnot.

------------------------------
FOR PCMCIA USERS:
A)  Edit /etc/pcmcia/network.opts file to set up your IP settings. 
    Note: for a station, the SSID you're connecting to will be appended to the 
    current pcmcia scheme name.  You can use this to have different
    IP setups for different wireless LANs you connect to (e.g. home vs. work).

    Note2:  This only applies if you are using a stock pcmcia-cs 
    package.  Most (if not all) distros use their own mechanisms for 
    configuring pcmcia network interfaces, and thus 
    /etc/pcmcia/network.opts may not even be present.

B)  Restart pcmcia-cs with the command:

    /etc/rc.d/init.d/pcmcia restart

C) Insert the card.  For most cards, a solid LED indicates that the 
    SSID you specified was found, a bss was joined, and the firmware 
    completed the authenticate and associate processes.

D) Run ifconfig and route to determine if your IP and route settings are
    listed as you wanted them.  It's also a good idea to look at the file
    /etc/resolv.conf to see if your nameserver address has been set up 
    correctly.

------------------------------
FOR PCI, PLX, OR USB USERS:
A) You must make sure that the drivers get loaded at boot time and that the 
   necessary initialization takes place.  The simplest way to do this is
   to add the following commands to your rc.local file:

     modprobe prism2_pci   [or prism2_usb/prism2_plx]
     wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
     wlanctl-ng wlan0 lnxreq_autojoin ssid= authtype=opensystem
     ifconfig wlan0  netmask  broadcast 
     route add default gw 

   Also, don't forget to set up your resolv.conf to point at your DNS server.

B) Alternatively, you can use the rc.wlan script, which ties into the 
   /etc/wlan/* configuration files mentioned above.

   We currently don't create the softlink from the runlevel directories to
   the wlan startup script due to differences in distributions, but the
   scripts are redhat-aware, and can be extended to hook into other tools
   easily.  (patches welcome!)  Just make sure it is brought up early in 
   the process, namely, before the the network interfaces are brought up. 

C) Add an alias for wlan0 in /etc/modules.conf.  For example, a usb 
   interface on wlan0 would be set up as:

   alias wlan0 prism2_usb

   Substitute prism2_plx or prism2_pci as appropriate.

------------------------------
FOR USB USERS:

A) Make sure your kernel usb support is running
B) Plug in the Prism2.x USB device
C) Run 'modprobe prism2_usb prism2_doreset=1' to load the driver into memory.
D) Run 'wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable' to initialize the
   driver+MAC functions.
E) Run 'wlanctl-ng wlan0 lnxreq_autojoin ssid= authtype=opensystem'
   to enable the MAC in Infrastructure Station mode.
F) Run 'ifconfig wlan0 '

Or, you can use the provided hotplug scripts, if your distribution has
hotplug support.  :) 

IMPORTANT: Due to an issue with some versions of the Prism USB firmware,
the driver usually needs to perform a port reset.  

Some combinations of usb low-level drivers, kernel releases, and
hardware don't like this, and usually end up generating a kernel OOPS.
newer kernels are much better in this regard.  In particular, Intel usb
controllers are the most trouble-prone.

The OOPS is due to bugs in the linux USB core, and newer kernels
(2.4.18 and later) behave much better in this regard.

However, the good news is that primary firmware 1.1.2 seems to resolve
the need for the port reset to begin with.  Contact your vendor to
request this update.

Also, using the 'Alt. UHCI' controller driver (uhci.o) is broken with 
kernels older than 2.4.22 due to a bug in the controller driver.


Documentation Index




Products and Services Linux LiveCD Router (Free Download) | Download | Router PRO | Hotspot Server | Media Player | Samba File Server | VoIP Server | IP Camera Server | CDRouter Admin Manual | VoIP Server Book | Printed Book Format | Online Documentation |
Noticias Noticias WIFI News | Linux Router | VoIP | Hotspot new | Linux and WIFI Forums | ba.net



Contact us info@easylivecd.com
© EasyLiveCD.com, FonoSIP.com, WiFi.com.ar, BA.NET
>