YaST2 Developers Documentation: Network configuration

Network configuration

modules/Internet.ycp
Internet connection and YOU during the installation

Imports

  • Map
  • NetworkDevices
  • Provider
  • Service

Global Variables

Global Functions

Local Functions

global do_test -> boolean

Flag to remember if user wants to run internet test

global do_you -> boolean

Flag to remember if you should be started

global device -> string

Values for selected connection.

local Reset () -> void

Reset values.

global FindFastest () -> boolean

Find the fastest connection to the Internet

Return value:
true if a "good" connection was found
global Start (string log) -> boolean

Start the fastest interface

Parameters:
log file for the commands output
Return value:
true if successful started
global Stop (string log) -> boolean

Stop the fastest interface

Parameters:
log file for the commands output
Return value:
true if successful stopped
global Status () -> boolean

Status of the fastest interface

Return value:
true if interface is up (which is not equal to connected)
global Connected () -> boolean

Test if the interface is connected

Return value:
true if connected
global SetDemand (boolean demand) -> void

Set dial-on-demand

Parameters:
demand true if dial-on-demand should be set