I am able to stop the NetworkManager and use the wpa_supplicant command to submit the wifi authentication successfully. We can see the wlan0 authenticated and associated log.
[10182.543563] wcn36xx: ERROR hal_remove_bsskey response failed err=16
[10233.920372] wlan0: authenticate with f0:29:29:60:42:11
[10233.968372] wlan0: send auth to f0:29:29:60:42:11 (try 1/3)
[10234.169748] wlan0: send auth to f0:29:29:60:42:11 (try 2/3)
[10234.373758] wlan0: send auth to f0:29:29:60:42:11 (try 3/3)
[10234.375241] wlan0: authenticated
[10234.381835] wlan0: associate with f0:29:29:60:42:11 (try 1/3)
[10234.385461] wlan0: RX AssocResp from f0:29:29:60:42:11 (capab=0x431 status=0 aid=11)
[10234.421076] wlan0: associated
But there is no ip address assigned to wlan0.
h-4.3# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 02:00:95:52:20:B0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4320 errors:0 dropped:7 overruns:0 frame:0
TX packets:224 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:663496 (647.9 KiB) TX bytes:33065 (32.2 KiB)
Which command should I use to get an ip address for it? I guess we may need some dhcpd command, but not sure which one to use and how to use it exactly. Can you please help?