YaST2 Developers Documentation: Network configuration



functions
files
intro

Network configuration

include/network/lan/wireless.ycp
Wireless dialogs

Imports

  • Label
  • Lan
  • Popup
  • Wizard

Includes

  • network/routines.ycp

Local Functions

local ComposeKey (string type, string key) -> string

Compose a typed key into a single-string representation

Parameters:
type "passphrase", "ascii", "hex" @param key
key
Return value:
prefixed key

local CheckWirelessKey (string key) -> boolean

Is the entered key valid? TODO: check according to the selected key length (or better adjust the length?)

Parameters:
key

local WirelessDialog () -> any

Wireless devices configuration dialog

Return value:
dialog result

local WirelessExpertDialog () -> any

Wireless expert configuration dialog

Return value:
dialog result

local WirelessKeyPopup (string tkey) -> string

Used to add or edit a key

Parameters:
tkey has s: for ascii or h: for passphrase

local WirelessKeysItems (list<string> keys, integer default) -> list<term>

Generate items for the keys table

Parameters:
keys
default

local FindGoodDefault (list<string> keys, integer default) -> integer

In case the current default key is empty, find a nonempty one or the first one.

Parameters:
keys
default

local WirelessKeysDialog () -> any

Wireless expert configuration dialog

Return value:
dialog result

YaST2 Developers Documentation