{"record":{"id":"3ba4f2c8e17d260f","repo":"GyulyVGC/sniffnet","slug":"no-traffic-can-be-observed-because-the-adapter-you","errorCode":null,"errorMessage":"No traffic can be observed because the adapter you selected has no active addresses...\\n\\nIf you are sure you are connected to the internet, try choosing a different adapter.","messagePattern":"No traffic can be observed because the adapter you selected has no active addresses\\.\\.\\.\\\\n\\\\nIf you are sure you are connected to the internet, try choosing a different adapter\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"src/translations/translations.rs","lineNumber":565,"sourceCode":"        Language::PT => \"Adaptador de rede\",\n        Language::EL => \"Προσαρμογέας δικτύου\",\n        // Language::FA => \"مبدل شبکه\",\n        Language::SV => \"Nätverksadapter\",\n        Language::FI => \"Verkkosovitin\",\n        Language::JA => \"ネットワーク アダプター\",\n        Language::UZ => \"Tarmoq adapteri\",\n        Language::ID => \"Adapter jaringan\",\n        Language::NL => \"Netwerkadapter\",\n        Language::HU => \"Hálózati adapter\",\n        Language::SI => \"නෙට්වර්ක් ඇඩැප්ටරය\",\n    }\n}\n\n#[allow(clippy::too_many_lines)]\npub fn no_addresses_translation(language: Language) -> &'static str {\n    match language {\n        Language::EN => {\n            \"No traffic can be observed because the adapter you selected has no active addresses...\\n\\n\\\n                                 If you are sure you are connected to the internet, try choosing a different adapter.\"\n        }\n        Language::CS => {\n            \"Nelze sledovat žádný provoz, protože vybraný adaptér nemá žádné aktivní adresy...\\n\\n\\\n                                 Pokud jste si jisti, že jste připojeni k internetu, zkuste vybrat jiný adaptér.\"\n        }\n        Language::IT => {\n            \"Non è osservabile alcun traffico perché l'adattatore di rete selezionato non ha indirizzi attivi...\\n\\n\\\n                                Se sei sicuro di essere connesso ad internet, prova a scegliere un adattatore diverso.\"\n        }\n        Language::FR => {\n            \"Aucun trafic ne peut être observé, car la carte réseau que vous avez saisie n'a pas d'adresse...\\n\\n\\\n                                Si vous êtes sûr d'être connecté à internet, essayez une autre carte.\"\n        }\n        Language::ES => {\n            \"No se puede observar ningún tráfico porque el adaptador seleccionado no tiene direcciones activas...\\n\\n\\\n                                 Si estás seguro de que estás conectado a Internet, prueba a elegir otro adaptador.\"\n        }","sourceCodeStart":547,"sourceCodeEnd":583,"githubUrl":"https://github.com/GyulyVGC/sniffnet/blob/48b0575dc0d3c7e503a466a3cb2c1466ba600f8e/src/translations/translations.rs#L547-L583","documentation":"no_addresses_translation() (src/translations/translations.rs:565) is the localized warning rendered by the waiting page when the selected adapter has no active IP addresses (waiting_page.rs:50 checks cs.get_addresses().is_empty()). The adapter opened successfully and has a supported link type, but libpcap reports zero addresses, so there is nothing meaningful to sniff and no per-connection metadata to build.","triggerScenarios":"Selecting a network interface that is administratively down or has no DHCP/static address: an unplugged Ethernet port, a Wi-Fi adapter in airplane mode, a virtual/bridge adapter before it is configured, a USB tethering interface that lost its lease, or a VPN/tun interface before the tunnel assigns an address.","commonSituations":"Laptop Wi-Fi turned off or not associated to a network; Ethernet cable pulled; Docker/VM bridge interfaces with no IP; adapter list captured at app start then the interface lost its address; OS quirk where the default looked-up device (config_device.rs:36 falls back to a made-up 'default' device) resolves to an unconfigured interface.","solutions":["Bring the interface up and connected: reconnect Wi-Fi / plug in Ethernet, confirm `ip addr` (Linux) or ipconfig (Windows) shows an IP on that adapter.","In Sniffnet's adapter selection, choose a different adapter that currently has an active address.","If the connection is fine but the app shows the message, restart the capture run so the address list is re-fetched.","For virtual adapters (tun/bridge), assign an address or select the physical adapter instead.","Check the remembered device name in settings — if it points to an unconfigured interface, clear or update it."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"# confirm the adapter you plan to select has an active address\n$ ip -brief addr show wlan0            # Linux: need an UP + IP line\n$ ipconfig | findstr IPv4               # Windows\n# only pick adapters that pass this check","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Before starting a run, confirm the chosen interface has an IP (`ip addr`, `ifconfig`, or the OS network panel).","Don't leave the remembered adapter pointing at interfaces that are often down (docked Ethernet, VPN taps).","Reconnect the interface (Wi-Fi/Ethernet) and restart the capture if the warning appears mid-session.","Prefer physical/managed-mode adapters over virtual ones for stable addressing."],"tags":["rust","sniffnet","gui","i18n","network-adapter","user-facing"],"backgroundTag":null,"analyzedSha":"48b0575dc0d3c7e503a466a3cb2c1466ba600f8e","analyzedAt":"2026-08-16T09:14:10.427Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}