multi_interface_roam::pythonwifi::iwlibs::WirelessConfig Class Reference
List of all members.
Detailed Description
Low level access to wireless information on a device. This class
contains only those things absolutely needed to configure a card.
WirelessConfig implements the wireless_config struct in iwlib.h.
It will probably never be called directly, but instead be used via
WirelessInfo.
Definition at line 683 of file iwlibs.py.
Member Function Documentation
def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::__init__ |
( |
|
self, |
|
|
|
ifname | |
|
) |
| | |
def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getEncryption |
( |
|
self |
) |
|
Returns the encryption status.
>>> from iwlibs import Wireless
>>> wifi = Wireless('eth1')
>>> wifi.getEncryption()
'off'
Definition at line 714 of file iwlibs.py.
def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getEssid |
( |
|
self |
) |
|
Returns the current ESSID information.
>>> from iwlibs import Wireless
>>> wifi = Wireless('eth1')
>>> wifi.getEssid()
'romanofski'
Definition at line 769 of file iwlibs.py.
def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getFrequency |
( |
|
self |
) |
|
Returns currently set frequency of the card.
>>> from iwlibs import Wireless
>>> wifi = Wireless('eth1')
>>> wifi.getFrequency()
'2.417 GHz'
Definition at line 733 of file iwlibs.py.
def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getKey |
( |
|
self, |
|
|
|
key = 0 | |
|
) |
| | |
Get an encryption key.
key 0 is current key, otherwise, retrieve specific key (1-4)
As a normal user, you will get an 'Operation not permitted'
error:
>>> from iwlibs import Wireless
>>> wifi_conf = WirelessConfig('eth1')
>>> isinstance(wifi_conf.getKey(), Iwpoint)
True
Definition at line 746 of file iwlibs.py.
def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getMode |
( |
|
self |
) |
|
Returns currently set operation mode.
>>> from iwlibs import Wireless
>>> wifi = Wireless('eth1')
>>> wifi.getMode()
'Managed'
Definition at line 787 of file iwlibs.py.
def multi_interface_roam::pythonwifi::iwlibs::WirelessConfig::getWirelessName |
( |
|
self |
) |
|
Returns the wireless name.
>>> from iwlibs import Wireless
>>> wifi = Wireless('eth1')
>>> wifi.getWirelessName()
'IEEE 802.11-DS'
Definition at line 701 of file iwlibs.py.
Member Data Documentation
The documentation for this class was generated from the following file: