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
In some cases, wireless (Wi-Fi & WWAN) devices report their type as "Ethernet" (/sys/class/net//type contains "1"). This behavior has been observed on multiple devices (unfortunately, only Dell devices have been tested) running Arch/Manjaro distros.
It's unclear whether this issue is related to the kernel or driver (but a workaround is required as the app may be run on a distro with this problem).
Thank you for your report.
I will investigate the differences in the device filesystem specifications and revise the implementation to accurately identify device types.
Until now, I have conducted tests on Ubuntu and Kali Linux, but I plan to also examine the behavior on Arch Linux. This will help us understand the differences in behavior across various Linux distributions and enable us to devise more appropriate measures.
I will continue to consider specific workarounds and solutions based on the results of these tests.
Fixed detection for Wi-Fi devices on Linux, ensuring they are correctly identified when previously they might have been misclassified as Ethernet. This was achieved by checking additional directories like /sys/class/net/<interface>/wireless and /sys/class/net/<interface>/phy80211 whenever the /sys/class/net/<interface>/type returned 1 (Ethernet).
Tested on Ubuntu, Kali, and Arch.
However, the current implementation does not yet cover WWAN devices. We are considering keeping this issue open to address WWAN coverage specifically, or we might close this issue and open a new one focused solely on WWAN detection improvements.
Activity
shellrow commentedon May 14, 2024
Thank you for your report.
I will investigate the differences in the device filesystem specifications and revise the implementation to accurately identify device types.
Until now, I have conducted tests on Ubuntu and Kali Linux, but I plan to also examine the behavior on Arch Linux. This will help us understand the differences in behavior across various Linux distributions and enable us to devise more appropriate measures.
I will continue to consider specific workarounds and solutions based on the results of these tests.
#63 Fix interface type detection on Linux
Merge pull request #67 from shellrow/63-fix-linux-device-type
shellrow commentedon May 18, 2024
Fixed detection for Wi-Fi devices on Linux, ensuring they are correctly identified when previously they might have been misclassified as Ethernet. This was achieved by checking additional directories like
/sys/class/net/<interface>/wirelessand/sys/class/net/<interface>/phy80211whenever the/sys/class/net/<interface>/typereturned 1 (Ethernet).Tested on Ubuntu, Kali, and Arch.
However, the current implementation does not yet cover WWAN devices. We are considering keeping this issue open to address WWAN coverage specifically, or we might close this issue and open a new one focused solely on WWAN detection improvements.
[-]Wireless device reported as ethernet[/-][+]WWAN device reported as ethernet[/+]