# ConnectCore 6UL SBC Pro: hostapd not working in 5GHz since Digi Embedded Yocto 3.0

**URL:** <https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844>\
**Category:** Linux\
**Tags:** connectcore6ul, hostapd, 5ghz\
**Created:** [October 5, 2020, 8:34am UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844 "2020-10-05T08:34:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![uwel](https://avatars.discourse-cdn.com/v4/letter/u/e68b1a/32.png) [@uwel](https://forums.digi.com/u/uwel)\
**Post date:** [October 5, 2020, 8:34am UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/1 "2020-10-05T08:34:05Z")

</div>

Hello,

after switching to Digi embedded yocto 3.0 I was not able to get the soft AP with hostapd working in 5GHz.  
In 2.4GHz range it is working well.

The /etc/network/interfaces contains:  
auto wlan1  
iface wlan1 inet static  
address 192.168.101.5  
netmask 255.255.255.0  
post-up /etc/init.d/hostapd start  
pre-down /etc/init.d/hostapd stop

The /etc/hostapd\_wlan1.conf is:  
ctrl\_interface=/var/run/hostapd  
ctrl\_interface\_group=0  
interface=wlan1  
driver=nl80211

ssid=MYSSID  
auth\_algs=1  
wpa=2  
wpa\_key\_mgmt=WPA-PSK  
wpa\_pairwise=CCMP  
wpa\_passphrase=MYPWD

# IEEE 802.11ac 5GHz

hw\_mode=a  
channel=40  
ieee80211ac=1  
ieee80211n=1

country\_code=DE

There is an error message in /var/volatile/log/messages  
Oct 1 12:56:18 btc daemon.warn hostapd: wlan1: IEEE 802.11 Configured channel (36) not found from the channel list of current mode (2) IEEE 802.11a  
Oct 1 12:56:18 btc daemon.warn hostapd: wlan1: IEEE 802.11 Hardware does not support configured channel

Thanks in advance,  
Uwe

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [October 8, 2020, 3:22pm UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/2 "2020-10-08T15:22:31Z")

</div>

There was an issue with the regulatory domain in the previous release only in the cc6ul platform, this was causing the hostapd not bringing-up in 5ghz bands. It will be solved in the following release dey-3.0-r2 coming up within a month.

If you want to try it now, you should enable in the ccimx6ul\_defconfig in the linux kernel the following configurations:

CONFIG\_FW\_LOADER\_USER\_HELPER=y  
CONFIG\_FW\_LOADER\_USER\_HELPER\_FALLBACK=y

---

<div class="post-metadata">

**Author:** ![uwel](https://avatars.discourse-cdn.com/v4/letter/u/e68b1a/32.png) [@uwel](https://forums.digi.com/u/uwel)\
**Post date:** [October 12, 2020, 4:39pm UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/3 "2020-10-12T16:39:00Z")

</div>

Thanks for the advise.  
There are two files ccimx6ul\_defconfig but none of them contains CONFIG\_FW\_LOADER\_USER\_HELPER  
uwe@ubuntu:~$ find / -name ccimx6ul\_defconfig -exec ls -l {} ; 2\>&-  
-rw-r–r-- 1 uwe uwe 8423 Sep 25 17:59 /home/uwe/pe/tmp/work-shared/ccimx6ulsbc/kernel-source/arch/arm/configs/ccimx6ul\_defconfig  
-rw-r–r-- 1 uwe uwe 8423 Sep 25 20:14 /home/uwe/pe/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/linux-imx-headers/5.4-r0/git/arch/arm/configs/ccimx6ul\_defconfig

To which file the two lines should be added?

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [October 12, 2020, 5:15pm UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/4 "2020-10-12T17:15:18Z")

</div>

Most likely the first one, but I wouldn’t try to change config files manually. Please follow the procedure here and change via menuconfig in a proper yocto way:  
[https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc6ul/yocto\_t\_make-changes-devshell](https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc6ul/yocto_t_make-changes-devshell)

---

<div class="post-metadata">

**Author:** ![uwel](https://avatars.discourse-cdn.com/v4/letter/u/e68b1a/32.png) [@uwel](https://forums.digi.com/u/uwel)\
**Post date:** [October 13, 2020, 9:00am UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/5 "2020-10-13T09:00:18Z")

</div>

Thanks for the advice. I did:  
uwe@ubuntu:~/pe$ source dey-setup-environment  
uwe@ubuntu:~/pe$ bitbake -c menuconfig virtual/kernel  
Then I search for CONFIG\_FW\_LOADER\_USER\_HELPER and … FALLBACK and found it in  
Defined at drivers/base/firmware\_loader/Kconfig:71  
Defined at drivers/base/firmware\_loader/Kconfig:143

and changed in Device Drivers/Generic Driver Options/Firmware loader  
\*- Firmware loading facility  
(imx/sdma/sdma-imx6q.bin) Build named firmware blobs into the kernel binary  
(firmware) Firmware blobs root directory  
[li] Enable the firmware sysfs fallback mechanism [/li][li] Force the firmware sysfs fallback mechanism when possible[/li][li] Enable compressed firmware support[/li]  
But the ccimx6ul\_defconfig have not been changed:  
uwe@ubuntu:~$ find / -name ccimx6ul\_defconfig -exec ls -l {} ; 2\>&  
–rw-r–r-- 1 uwe uwe 8423 Sep 25 17:59 /home/uwe/pe/tmp/work-shared/ccimx6ulsbc/kernel-source/arch/arm/configs/ccimx6ul\_defconfig  
-rw-r–r-- 1 uwe uwe 8423 Sep 25 20:14 /home/uwe/pe/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/linux-imx-headers/5.4-r0/git/arch/arm/configs/ccimx6ul\_defconfig

Then I did  
uwe@ubuntu:~/pe$ bitbake -C compile virtual/kernel  
which created a new zImage and Device tree  
Then I did:  
uwe@ubuntu:~/pe$ bitbake -c cleanall core-image-base  
uwe@ubuntu:~/pe$ bitbake core-image-base  
and flashed the boot and rootfs

but unfortunately with no succes:  
root@ccimx6ulsbc:~# iw list  
…  
Frequencies:  
\* 5180 MHz [36] (20.0 dBm) (no IR)  
\* 5200 MHz [40] (20.0 dBm) (no IR)

So I think it is best to wait for the dey-3.0-r2 and hope it works with that release.

and find it in

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [October 13, 2020, 9:02am UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/6 "2020-10-13T09:02:09Z")

</div>

yes, I agree. dey-3.0-r2 is really around the corner.

---

<div class="post-metadata">

**Author:** ![uwel](https://avatars.discourse-cdn.com/v4/letter/u/e68b1a/32.png) [@uwel](https://forums.digi.com/u/uwel)\
**Post date:** [November 4, 2020, 10:04am UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/7 "2020-11-04T10:04:50Z")

</div>

With new Release 3.0-r2 it is working well again!  
Pls see [https://https](https://https)://github.com/digi-embedded/meta-digi

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [November 4, 2020, 11:38am UTC](https://forums.digi.com/t/connectcore-6ul-sbc-pro-hostapd-not-working-in-5ghz-since-digi-embedded-yocto-3-0/21844/8 "2020-11-04T11:38:21Z")

</div>

good news! Please click Checkmark next to select the answer if you are satisfied with the answer.
