Wireless overview
Introduction
http://linuxwireless.org/en/users is the source for documentation regarding the entire Linux IEEE 802.11 ("wireless") subsystem. It is a wiki like this one, so feel free to contribute there as well! Everything not OpenWrt specific, belongs there. This page here is an exception, as I believe I can provide a better introduction.
- IEEE 802.11 is a family of communication protocols comprising Layer 1 and Layer 2 Sublayer MAC only!
- IEEE 802.11 has no name; IEEE 802.3 is officially called "Ethernet", IEEE 1394 is unofficially called "Firewire", IEEE 802.11 has no name so most people simply call it "wireless" or "wavelan" or whatever (Wi-Fi is a brand name)
- Linux IEEE 802.11 support is a bit fragmented. i.e. there are
- atheros proprietary drivers and madwifi-driver and atheros mac80211-based drivers (e.g. ath5k and ath9k)
- broadcom proprietary drivers and broadcom mac80211-based drivers (the b43) and the brcmSmac- and brcmFmac drivers
- to set up and configure wireless utilities are available, however on OpenWrt the configuration is done via UCI in the files
/etc/config/wirelessand/etc/config/networkonly!
- Linux IEEE 802.11 drivers always function on one of the available Wireless Modes. Some support only one mode: STA (also called managed) other drivers support multiple modes, some even simultaneously
- Learn what the Linux 802.11 driver for your hardware can and cannot do. You can read here about the abilities, bugs and TODOs for all the Linux FOSS drivers. Please go somewhere else, to learn about the proprietary drivers.
Wireless Drivers and Utilities in OpenWrt
Wireless FAQ
Wireless Tools and Applications available in the OpenWrt repository
- wireless.tool.kismet – An IEEE 802.11 network detector, sniffer and intrusion detection system.
- wireless.tool.aircrack-ptw – A tool using a new method for breaking WEP Keys
- wireless.tool.aircrack-ng – Aircrack-ng is the next generation of aircrack with new features
- wireless.tool.horst – A scanning and analysis tool for IEEE 802.11 networks and especially IBSS (ad-hoc) mode and mesh networks (OLSR).
- wireless.snort-wireless – Snort for wireless
- →wireless.hotspot if you want to run a wireless hotspot on OpenWrt and read e.g. Hotspot (Wi-Fi) or Captive portal for introduction and explanation. (If you find better source of information, drop it right here.
)
Wireless packages
This shall be, but is not, an exhaustive list of all packages in the OpenWrt repository regarding wireless stuff to play with. The installation is always the same opkg install <package>, for documentation regarding the configuration and utilization, search for Howtos in this wiki or in the Internet.
| Name | Size | Description |
|---|---|---|
| airpwn | 23618 | Airpwn is a framework for 802.11 (wireless) packet injection. Airpwn listens to incoming wireless packets, and if the data matches a pattern specified in the config files, custom content is injected "spoofed" from the wireless access point. From the perspective of the wireless client, airpwn becomes the server. |
| collectd-mod-wireless | 7321 | wireless status input plugin |
| freifunk-watchdog | 9546 | A watchdog daemon that monitors wireless interfaces to ensure the correct BSSID and channel. The process will initiate a wireless restart as soon as it detects a BSSID or channel mismatch. |
| karma | 8605 | KARMA is a set of tools for assessing the security of wireless clients at multiple layers. Wireless sniffing tools discover clients and their preferred/trusted networks by passively listening for 802.11 Probe Request frames. |
| kmod-wprobe | 9408 | A module that exports measurement data from wireless driver to user space |
| mdk3 | 49495 | Tool to exploit wireless vulnerabilities |
| wavemon | 32209 | wavemon is a ncurses-based monitoring application for wireless network devices. It currently works under Linux with devices that are supported by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4 and higher), e.g. the Lucent Orinoco cards. |
| wireless-tools | 30236 | This package contains a collection of tools for configuring wireless adapters implementing the "Linux Wireless Extensions" |
Wireless security
- WEP (unsecure, cracked)
- WPA (unsecure, cracked)
- WPA2 (considered secure)
Wireless recipes
You can find a couple of probed scenarios under →recipes.
Troubleshooting
Notes
doc/howto/wireless.overview.txt · Last modified: 2012/05/08 15:20 by flyingcow