MAC address of peer is not correct
I attempted to connect to a TV on my network, but the connection times out and fails. No error is provided in the GUI, so I attempted to debug. I then noticed in the log that the MAC address reported by gnome-network-displays does not match the MAC address of my devices.
Gnome-Network-Displays Logs:
(gnome-network-displays:2): GLib-GIO-DEBUG: 01:20:46.519: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(gnome-network-displays:2): GLib-GIO-DEBUG: 01:20:46.670: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(gnome-network-displays:2): Adwaita-DEBUG: 01:20:46.720: Setting org.freedesktop.appearance.contrast of type u not found
(gnome-network-displays:2): GLib-GIO-DEBUG: 01:20:46.776: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.780: NdWindow: Got avahi client
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.781: NdWindow: Got avahi browser
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.836: NdPulseaudio: Querying sink info by name
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.836: NdPulseaudio: Error querying sink info
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.836: NdPulseaudio: Got a sink info for the expected name
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.844: NdNMDeviceRegistry: Found a new device, creating provider
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.844: WFDP2PProvider: Discover is now set to 1
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.844: WFDP2PProvider: Starting P2P discovery.
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.850: NdNMDeviceRegistry: Got NMClient
(gnome-network-displays:2): Gnd-DEBUG: 01:20:46.850: WFDP2PProvider: Started P2P discovery
(gnome-network-displays:2): Gnd-DEBUG: 01:20:49.679: Created screencast session
(gnome-network-displays:2): Gnd-DEBUG: 01:20:50.858: WFDP2PProvider: Found a new sink with peer "50" Hisense Roku TV" (DE:72:23:F6:XX:XX) on device 0x63fe7a975fa0
(gnome-network-displays:2): Gnd-DEBUG: 01:20:50.858: NdWFDP2PSink: Adding P2P MAC DE:72:23:F6:XX:XX to match list
(gnome-network-displays:2): Gnd-DEBUG: 01:20:50.858: MetaSink: Priority sink updated. Priority: 100
(gnome-network-displays:2): Gnd-DEBUG: 01:20:50.859: SinkList: Adding a sink
(gnome-network-displays:2): Gnd-DEBUG: 01:21:07.324: WFDP2PProvider: Restarting P2P discovery
(gnome-network-displays:2): Gnd-DEBUG: 01:21:07.327: WFDP2PProvider: Started P2P discovery
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.046: Got state change notification from streaming sink to state ND_SINK_STATE_ENSURE_FIREWALL
(gnome-network-displays:2): Gnd-WARNING **: 01:21:21.049: codec list not initialized
(gnome-network-displays:2): Gnd-WARNING **: 01:21:21.049: codec list not initialized
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.049: WFDP2PProvider: Discover is now set to 0
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.049: WFDP2PProvider: Stopping P2P discovery.
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.058: NdFirewalld: Firewalld does not seem to be installed. Code will assume that no firewall will be configured.
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.058: NdWfdP2PSink: Got firewall information
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.058: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_P2P
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.109: WFDP2PProvider: Device state changed. It is now 40. Reason: 0
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.110: WFDP2PProvider: Device state changed. It is now 50. Reason: 0
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.110: NdWfdP2PSink: Got P2P connection
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.111: WfdMediaFactory: Checking profile: 0
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.111: WfdMediaFactory: Checking profile: 1
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.111: WfdMediaFactory: Found openh264enc gst element.
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.111: WfdMediaFactory: Found fdkaacenc gst element.
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.111: WfdMediaFactory: Found mpegtsmux gst element.
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.111: WfdMediaFactory: Found elements for media profile: 1
(gnome-network-displays:2): Gnd-DEBUG: 01:21:21.111: Got state change notification from streaming sink to state ND_SINK_STATE_WAIT_SOCKET
(gnome-network-displays:2): Gnd-DEBUG: 01:22:06.712: WFDP2PProvider: Device state changed. It is now 120. Reason: 11
(gnome-network-displays:2): Gnd-DEBUG: 01:22:06.714: WfdServer: Finalize
(gnome-network-displays:2): Gnd-DEBUG: 01:22:06.714: WfdMediaFactory: Finalize
(gnome-network-displays:2): Gnd-DEBUG: 01:22:06.715: Got state change notification from streaming sink to state ND_SINK_STATE_ERROR
(gnome-network-displays:2): Gnd-DEBUG: 01:22:06.725: WFDP2PProvider: Device state changed. It is now 30. Reason: 0
(gnome-network-displays:2): Gnd-DEBUG: 01:22:16.530: WFDP2PProvider: Peer removed
(gnome-network-displays:2): Gnd-DEBUG: 01:22:16.531: NdWFDP2PProvider: Removing sink
(gnome-network-displays:2): Gnd-DEBUG: 01:22:16.531: NdWFDP2PSink: Adding P2P MAC DE:72:23:F6:67:8D to match list
(gnome-network-displays:2): Gnd-DEBUG: 01:22:16.531: MetaSink: No usable sink is left, object has become invalid.
(gnome-network-displays:2): Gnd-DEBUG: 01:22:16.531: SinkList: Removing a sink
NetworkManager Logs:
NetworkManager[1055]: <info> [1715750481.0817] audit: op="connection-add-activate" uuid="261e0cd8-97a5-489b-938e-d548ca7353f6" name="Wi-Fi P2P Peer DE:72:23:F6:XX:XX" pid=14864 uid=1000 result="success"
NetworkManager[1055]: <info> [1715750481.0936] device (p2p-dev-wlp0s20f3): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[1055]: <info> [1715750481.0941] device (p2p-dev-wlp0s20f3): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[1055]: <warn> [1715750526.7044] device (p2p-dev-wlp0s20f3): Activation: (wifi-p2p) connecting took too long, failing activation
NetworkManager[1055]: <info> [1715750526.7045] device (p2p-dev-wlp0s20f3): state change: config -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed')
NetworkManager[1055]: <warn> [1715750526.7063] device (p2p-dev-wlp0s20f3): Activation: failed for connection 'Wi-Fi P2P Peer DE:72:23:F6:XX:XX'
NetworkManager[1055]: <info> [1715750526.7090] device (p2p-dev-wlp0s20f3): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
While both of these logs claim my device MAC address is DE:72:23:F6:XX:XX, its actually DC:72:23:F6:XX:XX. I've checked this on the TV itself and my router interface. I'm not sure if there is another reason why the connection fails, but this seemed like an issue.
Details:
- System OS: Ubuntu 22.04
- Gnome Network Diplays version: 0.92.2 installed via Flatpak
- Peer (TV): 50 inch Hisense Roku TV
- Network Manager version 1.36.6