You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device ID (from lsusb output or file) to the WLAN Interfaces screen. Most of our current adapters use the same driver, so that won’t help. With M4, you can’t really tell what adapter has been installed without opening the case or SSH’ing in.
The text was updated successfully, but these errors were encountered:
Pseudo code which may be a helpful starting point for this:
modalias = run_command(["cat", f"/sys/class/net/{iface}/device/modalias"])
bus = modalias.split(":")[0]
if bus == "usb":
device_id = modalias.split(":")[1][1:10].replace("p", ":")
# we have the device ID.if bus == "pci":
vendor = run_command(
["cat", f"/sys/class/net/{iface}/device/vendor"]
).strip()
device = run_command(
["cat", f"/sys/class/net/{iface}/device/device"]
).strip()
device_id = f"{vendor}:{device}"# we have the device ID.
Device ID (from lsusb output or file) to the WLAN Interfaces screen. Most of our current adapters use the same driver, so that won’t help. With M4, you can’t really tell what adapter has been installed without opening the case or SSH’ing in.
The text was updated successfully, but these errors were encountered: