91. Internet

Internet connection and YOU during the installation

91.1. Summary of Module Globals

List of Global Functions

  • Connected - Test if the interface is connected

  • FindFastest - Find the fastest connection to the Internet

  • GetDevices - Used if NetworkDevices cannot find anything (usually because NM runs) Calls ip

  • SetDemand - Set dial-on-demand

  • SetDevice - Set device from argument as default network device

  • Start - Start the fastest interface

  • Status - Status of the fastest interface

  • Stop - Stop the fastest interface

List of Global Variables

  • device - Values for selected connection.

  • do_test - Flag to remember if user wants to run internet test

  • do_you - Flag to remember if you should be started

  • suse_register - Flag to remember if user wants to run suse register

91.2. Global Functions

91.2.1. Connected

Test if the interface is connected

Return value

  • boolean - true if connected

91.2.2. FindFastest

Find the fastest connection to the Internet

Return value

  • boolean - true if a "good" connection was found

91.2.3. GetDevices

Used if NetworkDevices cannot find anything (usually because NM runs) Calls ip

Return value

  • list<string> - eg. ["eth0", "eth1"]

91.2.4. SetDemand

Set dial-on-demand

Function parameters

  • boolean demand

Return value

  • void

91.2.5. SetDevice

Set device from argument as default network device

Function parameters

  • string dev

Return value

  • void

91.2.6. Start

Start the fastest interface

Function parameters

  • string log

Return value

  • boolean - true if successful started

91.2.7. Status

Status of the fastest interface

Return value

  • boolean - true if interface is up (which is not equal to connected)

91.2.8. Stop

Stop the fastest interface

Function parameters

  • string log

Return value

  • boolean - true if successful stopped

91.3. Global Variables

91.3.1. device

Values for selected connection.

91.3.2. do_test

Flag to remember if user wants to run internet test

91.3.3. do_you

Flag to remember if you should be started

91.3.4. suse_register

Flag to remember if user wants to run suse register

91.4. Module Requirements

91.4.1. Module Imports

  • Map
  • NetworkDevices
  • NetworkService
  • Provider
  • Service

91.4.2. Module Includes

  • network/routines.ycp