Closed tjobanpu closed 7 years ago
Not able to reproduce the ipv4 address not getting displayed for wlan0 with the new v1.1.0 release running on 2 Ci40 boards. It seems it takes some time to get the IP, which is why when I did ifconfig immediately after STA associated with an AP, it did not show the ipv4, but on running ifconfig again, it showed the IP correctly Also tested by rebooting the board a few times, and with 2 different router APs.
wlan0 Link encap:Ethernet HWaddr 00:19:F5:89:02:9D
inet addr:10.2.2.147 Bcast:10.2.2.255 Mask:255.255.255.0
inet6 addr: fe80::219:f5ff:fe89:29d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59379 (57.9 KiB) TX bytes:1167 (1.1 KiB)
wlan0-1 Link encap:Ethernet HWaddr 00:19:F5:89:02:9E
inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::219:f5ff:fe89:29e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:864 (864.0 B)
Steps to recreate the issue.
1) Bring up the ci40 in dual interface, wlan0 in STA and wlan0-1 in AP. 2) ifconfig does not show the ipv4 address: wlan0 Link encap:Ethernet HWaddr 00:19:F5:89:19:5F
inet6 addr: fe80::219:f5ff:fe89:195f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1622 (1.5 KiB) TX bytes:1662 (1.6 KiB)
wlan0-1 Link encap:Ethernet HWaddr 00:19:F5:89:19:60
inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::219:f5ff:fe89:1960/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:864 (864.0 B)
Note wlan0 does not have ipv4 addr.