Returns: bool: True if the WiFi driver is installed, False otherwise. """ command = ["lsmod", "|", "grep", "wifi-driver"] output = subprocess.check_output(command, shell=True) return output != b""
def install_package(package_name): """ Installs the WiFi driver package. installing wifi driver
Most distros keep drivers on the installation USB. Returns: bool: True if the WiFi driver is
Returns: bool: True if the installation was successful, False otherwise. """ False otherwise. """ command = ["lsmod"
Before buying a Wi-Fi adapter, Google "Linux compatible Wi-Fi adapter." Intel cards work perfectly out of the box. Realtek requires headaches.
def download_package(package_name): """ Downloads the WiFi driver package.