ruvnet/RuView · error · RuntimeError
/proc/net/wireless not found. This environment has no Linux
Error message
/proc/net/wireless not found. This environment has no Linux wireless subsystem (common in Docker, WSL, or headless servers).
What it means
Error "/proc/net/wireless not found. This environment has no Linux wireless subsystem (common in Docker, WSL, or headless servers)." thrown in ruvnet/RuView.
Source
Thrown at archive/v1/src/sensing/rssi_collector.py:218
except OSError as exc:
return False, f"Cannot read /proc/net/wireless: {exc}"
if interface not in content:
names = cls._parse_interface_names(content)
return False, (
f"Interface '{interface}' not listed in /proc/net/wireless. "
f"Available: {names or '(none)'}. "
f"Ensure the interface is up and associated with an AP."
)
return True, "ok"
# -- internals -----------------------------------------------------------
def _validate_interface(self) -> None:
"""Check that the interface exists on this machine."""
available, reason = self.is_available(self._interface)
if not available:
raise RuntimeError(reason)
@staticmethod
def _parse_interface_names(proc_content: str) -> List[str]:
"""Extract interface names from /proc/net/wireless content."""
names: List[str] = []
for line in proc_content.splitlines()[2:]: # skip header lines
parts = line.split(":")
if len(parts) >= 2:
names.append(parts[0].strip())
return names
def _sample_loop(self) -> None:
interval = 1.0 / self._rate
while self._running:
t0 = time.monotonic()
try:
sample = self._read_sample()
self._buffer.append(sample)View on GitHub (pinned to 4685618388)
When it happens
Trigger: Thrown at archive/v1/src/sensing/rssi_collector.py:218 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/RuView@4685618388 (2026-08-16).
Data as JSON: /api/errors/7b0a57a5c2fcb905.
Report an issue: GitHub.