Mycroft Community Forum

[Bug confirmed] Mycroft Mark I and Wifi (EU / Germany) - Mark 1 cannot connect to channels 12 or 13

Hi,

Yesterday my Mark I arrived. The device looks and feels really nice. But I had problems with setting up the Wifi. My SSID simply did not show up in the Wifi selection dialog. So i took my first steps with a LAN connection. I tried several things (manually adding my Wifi configuration in “/etc/wpa_supplicant/wpa_supplicant.conf" via SSH connection) but this did not help either.

Eventually I have checked my Wifi-router configuration. In EU/Germany there are channels 12/13 allowed for 2.4GHz Wifi (but it is not allowed in the US&Canada as far as I know). After disabling usage of channels 12/13 in my Wifi-router my SSID showed up in Mycrofts setup.

Is it possible to enable channels 12/13 in Mark I for the international market?

Hey @Dominik thank you so much for listing this bug report - appreciated.

We haven’t seen this particular issue before, but we have seen issues with wpa_supplicant connecting to SSIDs with non-Latin characters in the SSID name.

I’ll test this one out here by putting my SSID on Channel 12 or 13.

Again, really appreciate you logging this issue.

So @Dominik I can confirm you have identified a very nasty little bug!

I have confirmed this by doing the following:

  • Starting state: My 2.4 GHz wireless SSID is set by default to Auto, which defaults to channel 1. Mark 1 units all happy and responding OK.
  • Change wireless SSID to channel 12 manually -> both Mark 1s complain they cannot connect to internet, but all other internet services I have are working.
  • Change wireless SSID to channel Auto -> defaults to 1 -> both Mark 1s come back online
  • Change wireless SSID to channel 13 manually -> both Mark 1s complain they cannot connect to internet, but all other internet services I have are working.
  • Change wireless SSID to channel Auto -> defaults to 1 -> both Mark 1s come back online

This is the syslog excerpt concerning wpa_supplicant - althought it doesn’t reference the channels themselves.

pi@mark_1:/var/log $ cat syslog | grep -i wpa_supplicant
May 22 12:29:56 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-DISCONNECTED bssid=18:a6:f7:8c:7e:46 reason=0 locally_generated=1
May 22 12:29:56 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
May 22 12:29:57 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2462 MHz)
May 22 12:29:57 mark_1 wpa_supplicant[712]: wlan0: Associated with 18:a6:f7:8c:7e:46
May 22 12:29:57 mark_1 wpa_supplicant[712]: wlan0: WPA: Key negotiation completed with 18:a6:f7:8c:7e:46 [PTK=CCMP GTK=TKIP]
May 22 12:29:57 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-CONNECTED - Connection to 18:a6:f7:8c:7e:46 completed [id=1 id_str=]
May 22 12:29:57 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-DISCONNECTED bssid=18:a6:f7:8c:7e:46 reason=0 locally_generated=1
May 22 12:29:57 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
May 22 12:29:58 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2462 MHz)
May 22 12:29:58 mark_1 wpa_supplicant[712]: wlan0: Associated with 18:a6:f7:8c:7e:46
May 22 12:30:00 mark_1 wpa_supplicant[712]: wlan0: WPA: Key negotiation completed with 18:a6:f7:8c:7e:46 [PTK=CCMP GTK=TKIP]
May 22 12:30:00 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-CONNECTED - Connection to 18:a6:f7:8c:7e:46 completed [id=1 id_str=]
May 22 12:30:03 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-DISCONNECTED bssid=18:a6:f7:8c:7e:46 reason=0 locally_generated=1
May 22 12:30:03 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
May 22 12:30:04 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2462 MHz)
May 22 12:30:04 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=16
May 22 12:30:05 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2462 MHz)
May 22 12:30:05 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=16
May 22 12:30:07 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2462 MHz)
May 22 12:30:07 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=16
May 22 12:30:07 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="kathyreid-wireless" auth_failures=1 duration=10 reason=CONN_FAILED
May 22 12:30:13 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2462 MHz)
May 22 12:30:13 mark_1 wpa_supplicant[712]: Could not read interface p2p-dev-wlan0 flags: No such device
May 22 12:30:13 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: Association request to the driver failed
May 22 12:32:13 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="kathyreid-wireless"
May 22 12:32:13 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 84:1b:5e:05:bf:e6 (SSID='kathyreid-wireless' freq=2412 MHz)
May 22 12:32:13 mark_1 wpa_supplicant[712]: wlan0: Associated with 84:1b:5e:05:bf:e6
May 22 12:32:13 mark_1 wpa_supplicant[712]: wlan0: WPA: Key negotiation completed with 84:1b:5e:05:bf:e6 [PTK=CCMP GTK=TKIP]
May 22 12:32:13 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-CONNECTED - Connection to 84:1b:5e:05:bf:e6 completed [id=1 id_str=]
May 22 12:41:03 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-DISCONNECTED bssid=84:1b:5e:05:bf:e6 reason=0 locally_generated=1
May 22 12:41:03 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
May 22 12:41:04 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2412 MHz)
May 22 12:41:04 mark_1 wpa_supplicant[712]: wlan0: Associated with 18:a6:f7:8c:7e:46
May 22 12:41:04 mark_1 wpa_supplicant[712]: wlan0: WPA: Key negotiation completed with 18:a6:f7:8c:7e:46 [PTK=CCMP GTK=TKIP]
May 22 12:41:04 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-CONNECTED - Connection to 18:a6:f7:8c:7e:46 completed [id=1 id_str=]
May 22 12:41:18 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-DISCONNECTED bssid=18:a6:f7:8c:7e:46 reason=0 locally_generated=1
May 22 12:41:18 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
May 22 12:41:18 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2412 MHz)
May 22 12:41:19 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=16
May 22 12:41:20 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2412 MHz)
May 22 12:41:20 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=16
May 22 12:41:22 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2412 MHz)
May 22 12:41:22 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=16
May 22 12:41:22 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="kathyreid-wireless" auth_failures=1 duration=10 reason=CONN_FAILED
May 22 12:41:27 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: Trying to associate with 18:a6:f7:8c:7e:46 (SSID='kathyreid-wireless' freq=2412 MHz)
May 22 12:41:28 mark_1 wpa_supplicant[712]: Could not read interface p2p-dev-wlan0 flags: No such device
May 22 12:41:28 mark_1 wpa_supplicant[712]: p2p-dev-wlan0: Association request to the driver failed
May 22 12:45:28 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="kathyreid-wireless"
May 22 12:45:28 mark_1 wpa_supplicant[712]: wlan0: Trying to associate with 84:1b:5e:05:bf:e6 (SSID='kathyreid-wireless' freq=2462 MHz)
May 22 12:45:28 mark_1 wpa_supplicant[712]: wlan0: Associated with 84:1b:5e:05:bf:e6
May 22 12:45:28 mark_1 wpa_supplicant[712]: wlan0: WPA: Key negotiation completed with 84:1b:5e:05:bf:e6 [PTK=CCMP GTK=TKIP]
May 22 12:45:28 mark_1 wpa_supplicant[712]: wlan0: CTRL-EVENT-CONNECTED - Connection to 84:1b:5e:05:bf:e6 completed [id=1 id_str=]

I’m going to write this up as an Issue.

An issue has now been logged for this, and the documentation for both Mark 1 and Picroft has been updated.