Hello, I’m having wifi problems with my Colibri iMX6ULL wifi/ble. I follow the steps outlined in the getting started page to setup my wifi and connect to my access point. The wifi connects successfully but never stays connected for too long.
When connecting, I am able to ping google.com like such:
root@colibri-imx6ull:~# ping google.com
PING google.com (172.217.6.174): 56 data bytes
64 bytes from 172.217.6.174: seq=0 ttl=52 time=16.544 ms
64 bytes from 172.217.6.174: seq=1 ttl=52 time=46.216 ms
64 bytes from 172.217.6.174: seq=2 ttl=52 time=104.265 ms
64 bytes from 172.217.6.174: seq=3 ttl=52 time=101.299 ms
64 bytes from 172.217.6.174: seq=4 ttl=52 time=75.802 ms
64 bytes from 172.217.6.174: seq=5 ttl=52 time=121.093 ms
I can also see the wifi module here:
root@colibri-imx6ull:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:2D:2D:E4:18
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:7744 (7.5 KiB) TX bytes:7744 (7.5 KiB)
mlan0 Link encap:Ethernet HWaddr 00:19:88:5E:10:74
inet addr:192.168.129.163 Bcast:192.168.129.255 Mask:255.255.255.0
inet6 addr: fe80::219:88ff:fe5e:1074%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22973 (22.4 KiB) TX bytes:13835 (13.5 KiB)
uap0 Link encap:Ethernet HWaddr 00:19:88:5E:10:74
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb0 Link encap:Ethernet HWaddr 00:14:2D:FF:FF:FF
inet addr:192.168.11.1 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::214:2dff:feff:ffff%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:301 errors:0 dropped:0 overruns:0 frame:0
TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26581 (25.9 KiB) TX bytes:20928 (20.4 KiB)
However, after a few minutes, I see these messages in my serial console:
The Angstrom Distribution colibri-imx6ull ttymxc0
Angstrom v2017.12 - Kernel
Colibri-iMX6ULL_Console-Image 2.8b3.111 20180626
colibri-imx6ull login: [ 16.793450] mwifiex_sdio mmc1:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[ 16.800778] mwifiex_sdio mmc1:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization
[ 16.897420] mwifiex_sdio mmc1:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p71)
[ 16.905768] mwifiex_sdio mmc1:0001:1: driver_version = mwifiex 1.0 (15.68.7.p71)
[ 16.941003] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
[ 17.110707] IPv6: ADDRCONF(NETDEV_UP): uap0: link is not ready
[ 17.182973] Bluetooth: RFCOMM TTY layer initialized
[ 17.326263] Bluetooth: RFCOMM socket layer initialized
[ 17.419039] Bluetooth: RFCOMM ver 1.11
[ 18.102959] mwifiex_sdio mmc1:0001:1: info: trying to associate to 'WellAware' bssid 00:18:0a:35:ed:dc
[ 18.159432] mwifiex_sdio mmc1:0001:1: info: associated to bssid 00:18:0a:35:ed:dc successfully
[ 18.246691] IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
[ 25.932272] mwifiex_sdio mmc1:0001:1: mlan0: already connected
[ 25.970847] mwifiex_sdio mmc1:0001:1: info: successfully disconnected from 00:18:0a:35:ed:dc: reason code 3
[ 26.027131] mwifiex_sdio mmc1:0001:1: info: trying to associate to 'WellAware' bssid 02:18:1a:35:ed:dc
[ 26.134072] mwifiex_sdio mmc1:0001:1: info: associated to bssid 02:18:1a:35:ed:dc successfully
[ 34.728062] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[ 61.838881] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[ 77.352823] mwifiex_sdio mmc1:0001:1: info: successfully disconnected from 02:18:1a:35:ed:dc: reason code 3
[ 77.492603] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready
After receiving those messages, this is the result of my two tests:
root@colibri-imx6ull:~# ping google.com
ping: bad address 'google.com'
root@colibri-imx6ull:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:2D:2D:E4:18
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:7744 (7.5 KiB) TX bytes:7744 (7.5 KiB)
usb0 Link encap:Ethernet HWaddr 00:14:2D:FF:FF:FF
inet addr:192.168.11.1 Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::214:2dff:feff:ffff%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:396 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33275 (32.4 KiB) TX bytes:29302 (28.6 KiB)
The mlan0 adapter disappears and I can no longer connect to the network.
I’m not sure what is happening here but any help would be appreciated.
Thanks.