Hi.
I have a problem of wifi connection. I’m using custom kernel because I have to support many USB to ethernet adaptors. Anyway if I use only wifi, it works fine. But if I connect a ethernet cable, then wifi can’t get IP. Please let me know how to connect wifi and ethernet. If I connect ethernet cable after wifi get IP address, it works fine. I’m using U.FL antenna like here.
If I don’t connect a ethernet cable, then mlan0 is connected.
[ OK ] Reached target Login Prompts.
[ 21.364832] mwifiex_sdio mmc1:0001:1: info: trying to associate to 'PRECEPTHEALTH 5GHz' bssid f0:d1:a9:14:45:99
[ 21.383305] mwifiex_sdio mmc1:0001:1: info: associated to bssid f0:d1:a9:14:45:99 successfully
[ 21.478736] IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
.---O---.
| | .-. o o
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution colibri-imx6ull ttymxc0
Angstrom v2017.12 - Kernel 4.9.166-2.8.6+gd899927
If I connect the ethernet cable and turn on the power, WIFI can’t get IP address.
[ 20.569948] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 20.577879] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
.---O---.
| | .-. o o
| | |-----.-----.-----.| | .----..-----.-----.
| | | __ | ---'| '--.| .-'| | |
| | | | | |--- || --'| | | ' | | | |
'---'---'--'--'--. |-----''----''--' '-----'-'-'-'
-' |
'---'
The Angstrom Distribution colibri-imx6ull ttymxc0
Angstrom v2017.12 - Kernel 4.9.166-2.8.6+gd899927
Colibri-iMX6ULL_Console-Image 2.8b6 20200525
colibri-imx6ull login: root
Password:
Last login: Tue May 26 04:29:12 UTC 2020 on ttymxc0
idh@colibri-imx6ull:~# [ 35.774687] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[ 38.590014] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
idh@colibri-imx6ull:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:2D:62:FC:89
inet addr:192.168.1.170 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:2dff:fe62:fc89%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:160 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17558 (17.1 KiB) TX bytes:11100 (10.8 KiB)
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:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:6768 (6.6 KiB) TX bytes:6768 (6.6 KiB)
mlan0 Link encap:Ethernet HWaddr DC:F5:05:46:E5:2F
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)
uap0 Link encap:Ethernet HWaddr DC:F5:05:46:E4:2F
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:321 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30782 (30.0 KiB) TX bytes:9424 (9.2 KiB)
idh@colibri-imx6ull:~#
[ 65.577603] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[ 143.767051] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[ 146.584140] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[ 386.798493] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
[ 389.585571] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : Invalid Sched_scan parameters
idh@colibri-imx6ull:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:2D:62:FC:89
inet addr:192.168.1.170 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:2dff:fe62:fc89%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:848 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:83523 (81.5 KiB) TX bytes:12518 (12.2 KiB)
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:7296 (7.1 KiB) TX bytes:7296 (7.1 KiB)
mlan0 Link encap:Ethernet HWaddr DC:F5:05:46:E5:2F
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)
uap0 Link encap:Ethernet HWaddr DC:F5:05:46:E4:2F
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:934 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:81759 (79.8 KiB) TX bytes:9994 (9.7 KiB)
idh@colibri-imx6ull:~#