YaST2 Developers Documentation: Network configuration

Network configuration

include/network/runtime.ycp
Runtime routines

Imports

  • Arch
  • Desktop
  • ISDN
  • Mode
  • NetworkDevices
  • Package
  • Service

Local Functions

local ReadStatus () -> boolean

Read status information

Return value:
true if success
local RunSuSEconfig () -> boolean

Run SuSEconfig

Return value:
true if success
local RunSuSEconfigModule (string modul) -> boolean

Run one SuSEconfig module

Parameters:
modul SuSEconfig module
Return value:
true if success
local HasLink () -> boolean

Check if running on a local system or over a network

Return value:
true if link found
See
ethtool(8)
local ReloadOrStartNetwork () -> boolean

Reload network configuration. If it was not running, start it instead

Return value:
true if success
local StopNetwork () -> boolean

Stop network

Return value:
true if success
local EnableNetwork () -> boolean

Enable the network service

Return value:
true if success
local HaveDialupLikeInterfaces () -> boolean

Are there interfaces controlled by smpppd and kinternet? They are the ones with USERCONTROL=yes (#44303)

Return value:
true/false
local SetupSMPPPD () -> boolean

Setup smpppd(8)

Return value:
true if success
local RunKInternet () -> boolean

Run KInternet

Return value:
true if success