Networking for dummies

From KolibriOS wiki
Revision as of 18:45, 25 May 2016 by Hidnplayr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The only current way to access the internet in KolibriOS is through an Ethernet connection. Drivers are available for various types of Ethernet cards. To access the internet, you'll need to connect the Ethernet card of your KolibriOS PC to a network that has a gateway to the internet. (A router). Setups that use PPP on the client computer (straight connection to some DSL modem for example) are not suported yet.

Netcfg

Netcfg is the name of the program that's responsible for loading the network drivers that are needed on your system.
Only Ethernet devices are supported so far.

When opening the program, you will be presented with a list of network devices that are detected in your computer.

Error creating thumbnail: Unable to save thumbnail to destination


It's possible to load the network driver for an interface by selecting the desired interface and pressing the 'start device' button that will appear in the upper left corner of the program.

In normal circumstances however, all drivers will already be loaded, because netcfg is executed silently at booting time.
In /sys/config/autorun.dat (open with a text editor) there is a list of programs that are loaded at booting time, in this list you'll find 'netcfg A'.
The parameter 'A' makes netcfg load all drivers and then exit immediately.

Netstat

Netstat gives an overview of the active network devices, and the various protocols running for them.

Error creating thumbnail: Unable to save thumbnail to destination


Error creating thumbnail: Unable to save thumbnail to destination


Here you can see the current IPv4 settings of this device (example from virtualbox).

ZeroConfig

zeroconf is a program that will try to contact the DHCP server on each network interface to get the IPv4 settings needed for your machine. If no such server is found on your network, zeroconf will by default choose a link-local IPv4 address. You will not be able to browse the web with such an address. You can configure network settings from netstat program, or alternatively you can edit /sys/config/network.ini manually and restart zeroconf or reboot the whole system.
This program is also run automatically at booting time from autorun.dat