Use this playbook when RAW mode does not start, does not send, or does not appear in Wireshark.
Likely causes:
- Npcap is not installed.
- Npcap service is disabled.
- The app is not running with enough privileges.
- Only loopback, VPN, Wi-Fi, or virtual adapters are exposed.
Actions:
dotnet run --project .\src\PtpLabClock.Console -- --listThen reinstall/update Npcap and run the app as Administrator.
Likely causes:
- Driver blocks injection.
- Adapter is down or disconnected.
- Selected adapter is virtual/VPN/Wi-Fi.
- Security software prevents packet injection.
Actions:
- Prefer wired Ethernet.
- Disable unused VPN/virtual adapters during the test.
- Use a controlled lab switch/TAP.
- Try another USB Ethernet adapter and record the result in
docs/raw-nic-compatibility.md.
This can happen with some drivers. Local self-capture is useful, but external capture is stronger evidence.
Actions:
- Run Wireshark on the same adapter.
- If possible, capture on a mirror/TAP/external analyzer.
- Use this display filter:
eth.type == 0x88f7 or ptp
Actions:
- Enable VLAN tag in the app or CLI.
- Confirm VLAN ID and PCP.
- Use this capture filter:
ether proto 0x88f7 or (vlan and ether proto 0x88f7) or (vlan and vlan and ether proto 0x88f7)
This tool is a simulator and timing-visibility companion, not a certified timing source. Relay acceptance may depend on real grandmaster quality, domain, profile, BMCA behavior, hardware timestamping, sync accuracy, and network architecture.
Use a proper certified PTP grandmaster for final protection or metering validation.
Include:
- Windows version.
- Npcap version.
- Adapter model and driver.
- Whether the app ran as Administrator.
- RAW self-test output.
- Wireshark screenshot or PCAP.
- VLAN/QinQ configuration.
- Whether external capture saw the frame.