133. LanItems

133.1. Authors

    133.2. Summary of Module Globals

    List of Global Functions

    List of Global Variables

    • Items - Hardware information

    • SysconfigDefaults - the defaults here are what sysconfig defaults to (as opposed to what a new interface gets, in @ref Select)

    • modified - Data was modified?

    • operation - Which operation is pending?

    • wl_wpa_eap - wl_wpa_eap aggregates the settings in a map for easier CWM access.

    133.3. Global Functions

    133.3.1. Commit

    Commit pending operation

    Return value

    • boolean - true if success

    133.3.2. FindMatchingDevice

    Find matching device Find a device, optionally with some predefined values

    Function parameters

    • map interface

    Return value

    • map - The map of the matching device.

    133.3.3. FreeAliases

    Return 10 free aliases

    Function parameters

    • string type

    • integer num

    Return value

    • list - of 10 free devices

    133.3.4. FreeDevices

    Return 10 free devices

    Function parameters

    • string type

    Return value

    • list - of 10 free devices

    133.3.5. GetDefaultsForHW

    must be in sync with @ref SetDefaultsForHW

    Return value

    • map

    133.3.6. GetModified

    Function which returns if the settings were modified

    Return value

    • boolean - settings were modified

    133.3.7. GetModuleForInterface

    Get the module configuration for the modules configured in the interface section

    Function parameters

    • string ay_device

    • list<map> ay_modules

    Return value

    • map - the module map with module name and options

    133.3.8. InterfaceHasAliases

    Check if the given device has any virtual alias.

    Return value

    • boolean - true if there are some aliases

    133.3.9. Modified

    Data was modified?

    Return value

    • boolean - true if modified

    133.3.10. Overview

    Create an overview table with all configured devices

    Return value

    • list - table items

    133.3.11. Select

    Select the given device

    Function parameters

    • string dev

    Return value

    • boolean - true if success

    133.3.12. SelectHW

    Select the hardware component

    Function parameters

    • integer which

    Return value

    • void

    133.3.13. SelectHWMap

    Select the hardware component

    Function parameters

    • map hardware

    Return value

    • void

    133.3.14. SetDefaultsForHW

    must be in sync with @ref GetDefaultsForHW

    Return value

    • void

    133.3.15. SetDeviceVars

    Set various device variables

    Function parameters

    • map devmap

    • map defaults

    Return value

    • void

    133.3.16. SetModified

    Function sets internal variable, which indicates, that any settings were modified, to "true"

    Return value

    • void

    133.3.17. UnsetModified

    Function sets internal variable, which indicates, that any settings were modified, to "false"

    Return value

    • void

    133.4. Global Variables

    133.4.1. Items

    Hardware information

    See also:

    • ReadHardware

    133.4.2. SysconfigDefaults

    the defaults here are what sysconfig defaults to (as opposed to what a new interface gets, in @ref Select)

    133.4.3. modified

    Data was modified?

    133.4.4. operation

    Which operation is pending?

    133.4.5. wl_wpa_eap

    wl_wpa_eap aggregates the settings in a map for easier CWM access.

    wpa_eap
     WPA_EAP_MODE: string ("TTLS" "PEAP" or "TLS")
     WPA_EAP_IDENTITY: string
     WPA_EAP_PASSWORD: string (for TTLS and PEAP)
     WPA_EAP_ANONID: string (for TTLS and PEAP)
     WPA_EAP_CLIENT_CERT: string (for TLS, file name)
     WPA_EAP_CLIENT_KEY: string (for TLS, file name)
     WPA_EAP_CLIENT_KEY_PASSWORD: string (for TLS)
     WPA_EAP_CA_CERT: string (file name)
     WPA_EAP_AUTH: string ("", "MD5", "GTC", "CHAP"*, "PAP"*, "MSCHAP"*, "MSCHAPV2") (*: TTLS only)
     WPA_EAP_PEAP_VERSION: string ("", "0", "1")

    133.5. Module Requirements

    133.5.1. Module Imports

    • NetworkConfig
    • NetworkInterfaces
    • NetworkStorage
    • ProductFeatures

    133.5.2. Module Includes

    • network/complex.ycp
    • network/hardware.ycp
    • network/routines.ycp