Software Manual

WE865-DUAL Software User Guide
1vv0300788 Rev. 0 08/08/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 23 of 48
5 Commands summary
All the specific wifi parameters for WE865-DUAL can be configured and controlled through Wireless
Tools and Wpa Supplicant.
Wireless Tools (iwconfig, iwlist, ifrename, iwevent and iwgetid) and WPA Supplicant, simple linux shell
commands, can be used for example to perform scanning and association to a wireless network
and/or to set the desired operating mode and to manage WPA security modes and related settings.
The table below shows examples of the most commonly used shell commands.
Functionality
Shell Commands
(Wireless Tools, WPA Supplicant)
WiFi Network Info
WiFi network Scanning
iwlist eth0 scan
AP Statistics Collecting
iwconfig eth0
WiFi Interface Settings
iwconfig eth0
iwconfig eth0
WiFi MAC Protocol Used
iwconfig eth0
WiFi Channel Used
iwconfig eth0 or iwlist eth0 frequency
Associated AP MAC Address
iwconfig eth0
WiFi Operating Mode Used
iwconfig eth0
Network Interfaces Names
ifconfig
WiFi Network Interfaces Names
iwconfig
iwconfig
WiFi Interface Config
WiFi Interface IP Setting
ifconfig eth0 192.168.1.12 netmask
255.255.255.0
Managed/Infrastructure Mode Setting
iwconfig eth0 mode Managed
Ad-Hoc Mode Setting
iwconfig eth0 mode Ad-Hoc
WiFi Channel Setting
iwconfig eth0 channel 3
WiFi Bitrate Setting
iwconfig eth0 rate 11M
ESSID Associating
iwconfig eth0 essid "test"
WiFi Security
Config
WEP Key Setting
iwconfig eth0 key s:password
WEP Encryption Setting
iwconfig eth0 key restricted
WPA/WPA2 Encryption Setting
wpa_supplicant -Dunifi -ieth0
-c/etc/wpa_supplicant.conf -d
All the shell commands seen above can be used from source code performing system calls.