WLAN Commands
- ignore :: Monad m => m a -> m ()
- assu :: IO a -> IO a -> IO a
- userIsRoot :: IO Bool
- run :: String -> IO String
- type Key = String
- type SSID = String
- type MAC = String
- type Interface = String
- type Cell = String
- type IP = String
- type AP = String
- type Driver = String
- getDefaultInterface :: IO Interface
- getInterfaces :: IO [Interface]
- scan :: Interface -> IO [Cell]
- getCells :: String -> [Cell]
- data Encryption
- data Version
- type Quality = Int
- type Unit = (MAC, Quality)
- data CWLAN = CWLAN {}
- meanQuality :: [Quality] -> Quality
- mean :: Fractional a => [a] -> a
- data WLAN = WLAN {
- essid :: SSID
- quality :: Quality
- encryption :: Encryption
- mac :: MAC
- compact :: [WLAN] -> [CWLAN]
- cellToWLAN :: Cell -> WLAN
- getWLANs :: Interface -> IO [WLAN]
- getLocalIP :: Interface -> IO IP
- getESSID :: Interface -> IO SSID
- getAP :: Interface -> IO AP
- data ConnectionStatus
- = NotConnected
- | Connected IP SSID
- getConnectionStatus :: Interface -> IO ConnectionStatus
- matching :: String -> String -> String
- debug :: Show a => a -> a
- exec :: String -> IO ()
- pcom :: String -> [String] -> IO ()
- modprobe :: [String] -> IO ()
- iwconfig :: [String] -> IO ()
- ifconfig :: [String] -> IO ()
- dhclient :: [String] -> IO ()
- wpa_supplicant :: [String] -> IO ()
- initHardware :: Driver -> Interface -> IO ()
- deactivate :: Driver -> Interface -> IO ()
- activate :: Driver -> Interface -> IO ()
- disconnect :: Interface -> IO ()
- connectFree :: Interface -> SSID -> IO ()
- connect :: Interface -> ConnectionSetting -> IO ()
- wpaconfig :: [String] -> IO ()
- wpa_temp :: FilePath
- data ConnectionSetting = Wireless SSID (Maybe (Encryption, Key))
Documentation
data Encryption Source
WLAN encryption values
meanQuality :: [Quality] -> QualitySource
mean :: Fractional a => [a] -> aSource
WLAN | |
|
cellToWLAN :: Cell -> WLANSource
getLocalIP :: Interface -> IO IPSource
data ConnectionStatus Source
wpa_supplicant :: [String] -> IO ()Source
disconnect :: Interface -> IO ()Source