summaryrefslogtreecommitdiffstats
path: root/src/utils/net.py
Commit message (Collapse)AuthorAgeFilesLines
* utils: disable fcntl in ogClient for WindowsAlejandro Sirgo Rica2024-11-151-1/+4
| | | | | Add conditional import for fcntl as it is only supported for Linux and causes ogClient for Windows fail to start.
* src: replace DEVICE env variable with get_ethernet_interface()Alejandro Sirgo Rica2024-10-011-0/+67
| | | | | | Use a python function to obtain the main net interface. Detect the first ethernet inferface in use. Stop using the DEVICE environment variable.
* Add utils modulesJose M. Guisado2022-04-211-0/+53
* disk.py Disk discovery * fs.py Uses psutil to fetch fs usage information * menu.py ogBrowser menu generation * net.py: gets nic status information IP address, MAC address and ethernet speed. * probe.py: probes mountpoints for operating systems Uses hivexget command to try fetching Windows installation information. Looks for /etc/os-release for probing linux systems.