We have some (embedded) systems based on the NXP i.MX6Q boards. Some are equipped with Intel WiFi modules and some are equipped with modules based on the Atheros AR9285 chipset.
We have for a while been running Ubuntu 14.04 with a 3.14 kernel, and the Atheros modules works fine with that setup. We now want to upgrade to Ubuntu 18.04, and from the producer of the board we obtained a 4.9 kernel, which we have configured and built.
With this kernel, systems equipped with the Intel module can establish wifi connections, and using hostapd, can be configured as hotspots, which is what we want. Systems with the Atheros modules cannot.
Things that work:
lshw -c networkshows the network
lspcishows the chip is connected
ip, the interface can be changed
- configuring static IP through
/etc/network/interfacesbrings the interface up correctly
- Running the
systemctldoes not fail.
nohwcryptflag is set for the chip
- There's a basic "use NetworkManager" configuration in the netplan .yaml file
- Using same disk on a system with Intel chip works -> setup works
- Using 14.04 setup on same hardware works -> hardware works
Basicly, everything feels like it should be working, but the accesspoint doesn't show up, and it cannot be connected to a wifi network.
In my view, it is a problem specificly tied to the Atheros chip. I am in now way an expert on kernel configurations, and my google abilities has yet to reveal a working solution. So any help would be appreciated!