This is the classic problem: You need the driver to get online, but you need to be online to download the driver. Here is how to break the loop.
Windows (10/11)
ipconfig /all; check Network & Internet status.netsh winsock reset and netsh int ip reset.macOS
ifconfig and Network Preferences.Linux (Ubuntu/Debian example)
ip link, dmesg | grep -i <driver/module>If the adapter used to work but suddenly stopped: how to install driver for network adapter