Network configuration |
modules/Internet.ycp |
Internet connection and YOU during the installation | |
|
|
This module has an unstable interface. |
Imports
Global VariablesGlobal Functions
Local Variables |
global
do_test
->
boolean
Flag to remember if user wants to run internet test
global
suse_register
->
boolean
Flag to remember if user wants to run suse register
global
do_you
->
boolean
Flag to remember if you should be started
global
test
->
boolean
Flag to remember status of internet test: nil - skipped true - passed false - failed
local
devices
->
list<string>
cache for GetDevices
global
device
->
string
Values for selected connection.
global
Reset ()
->
void
Reset values.
global
GetDevices ()
->
list<string>
Used if NetworkInterfaces cannot find anything (usually because NM runs) Calls ip
- Return value:
-
eg. ["eth0", "eth1"]
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
global
ShutdownAllLocalDHCPClients ()
->
boolean
DANGEROUS function. Searches for all standard PID files of dhcpcd, then kills all dhcpcds running (first SIGHUP, then SIGKILL). Works via WFM (only for local dhcpcd).