<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">That is not correct, at all.<div class=""><br class=""></div><div class="">For a case where you have a wifi STA connection, but no IP address yet, you should see the ‘st’ network interface, but without an IP. In fact, the ‘st’ interface should appear as soon as you start the wifi client. What does ‘wifi status’ show you?</div><div class=""><br class=""></div><div class="">Trying to catch mine, between STA connected and IP assigned, this is what I get:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">OVMS # wifi mode client STA</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Starting WIFI as a client to STA...</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27218) phy: phy_version: 383.0, 79a622c, Jan 30 2018, 15:38:06, 0, 0</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27108) wifi: wifi firmware version: ebd3e5d</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27118) wifi: config NVS flash: enabled</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27118) wifi: config nano formating: disabled</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27118) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27128) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27128) wifi: Init dynamic tx buffer num: 16</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27128) wifi: Init data frame dynamic rx buffer num: 16</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27138) wifi: Init management frame dynamic rx buffer num: 16</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27138) wifi: wifi driver task: 3ffe5f94, prio:23, stack:4096</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27138) wifi: Init static rx buffer num: 4</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27148) wifi: Init dynamic rx buffer num: 16</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27148) wifi: wifi power manager task: 0x3ffea128 prio: 21 stack: 2560</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (27218) wifi: mode : sta (re:da:ct:ed:da:ta)</span></font></div><div class=""><span style="font-size: 18px; font-family: "Andale Mono";" class=""><br class=""></span></div><div class=""><span style="font-size: 18px; font-family: "Andale Mono";" class="">OVMS # network</span></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Interface#1: st1 (ifup=0 linkup=1)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Interface#0: lo0 (ifup=1 linkup=1)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">DNS: None</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Default Interface: None</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (30268) wifi: n:11 0, o:1 0, ap:255 255, sta:11 0, prof:1</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (30938) wifi: state: init -> auth (b0)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (30948) wifi: state: auth -> assoc (0)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (30958) wifi: state: assoc -> run (10)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (30978) wifi: connected with STA, channel 11</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">OVMS # network</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Interface#1: st1 (ifup=1 linkup=1)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> IPv4: 0.0.0.0/0.0.0.0 gateway 0.0.0.0</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Interface#0: lo0 (ifup=1 linkup=1)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">DNS: None</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Default Interface: st1 (0.0.0.0/0.0.0.0 gateway 0.0.0.0)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (33968) wifi: pm start, type:0</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34288) event: sta ip: x.x.x.56, mask: 255.255.255.0, gw: x.x.x.62</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34288) netmanager: Set DNS#0 8.8.8.8</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34298) netmanager: Set DNS#1 8.8.4.4</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34298) netmanager: Interface priority is st1 (x.x.x.56/255.255.255.0 gateway x.x.x.62)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34308) time: Starting SNTP client</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34318) ovms-mdns: Starting MDNS service</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34318) esp32wifi: WiFi UP with SSID: STUBBY, MAC: re:da:ct:ed:da:ta, IP: x.x.x.56, mask: 255.255.255.0, gw: x.x.x.62</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34348) webserver: Launching Web Server</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">I (34358) ssh: Launching SSH Server</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">OVMS # network</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Interface#1: st1 (ifup=1 linkup=1)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> IPv4: x.x.x.56/255.255.255.0 gateway x.x.x.62</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Interface#0: lo0 (ifup=1 linkup=1)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">DNS: 8.8.8.8 8.8.4.4</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">Default Interface: st1 (x.x.x.56/255.255.255.0 gateway x.x.x.62)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">D (40248) time: ntp (stratum 1 trusted 1) provides time Mon Mar 19 01:03:25 2018 (535294us) UTC</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">OVMS # wifi status</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class="">WiFi</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> Power: on</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> Mode: Client mode</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> STA SSID: STUBBY</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> MAC: re:da:ct:ed:da:ta</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> IP: x.x.x.56/255.255.255.0</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-size: 18px;" class=""> GW: x.x.x.62</span></font></div></blockquote><div class=""><div><br class=""></div><div>Regards, Mark.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Mar 2018, at 8:52 AM, Stephen Casner <<a href="mailto:casner@acm.org" class="">casner@acm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">When I start wifi client, it looks like it has acquired the link, but<br class="">not done DHCP to get an address?<br class=""><br class=""> -- Steve<br class=""><br class="">OVMS # wifi mode client Revelstoke<br class="">Starting WIFI as a client to Revelstoke...<br class="">I (742914) wifi: wifi firmware version: ebd3e5d<br class="">I (742914) wifi: config NVS flash: enabled<br class="">I (742914) wifi: config nano formating: disabled<br class="">I (742914) wifi: Init dynamic tx buffer num: 16<br class="">I (742914) wifi: Init data frame dynamic rx buffer num: 16<br class="">I (742914) wifi: Init management frame dynamic rx buffer num: 16<br class="">I (742914) wifi: wifi driver task: 3fff1044, prio:23, stack:4096<br class="">I (742914) wifi: Init static rx buffer num: 4<br class="">I (742914) wifi: Init dynamic rx buffer num: 16<br class="">I (742914) wifi: wifi power manager task: 0x3ffe81d8 prio: 21 stack: 2560<br class="">I (742924) wifi: mode : sta (30:ae:a4:37:1b:84)<br class="">I (745344) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1<br class="">I (745994) wifi: state: init -> auth (b0)<br class="">I (746004) wifi: state: auth -> assoc (0)<br class="">I (746014) wifi: state: assoc -> run (10)<br class="">I (746054) wifi: connected with Revelstoke, channel 1<br class="">I (749014) wifi: pm start, type:0<br class="">OVMS # net<br class="">Interface#0: lo0 (ifup=1 linkup=1)<br class=""> IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1<br class=""><br class="">DNS: None<br class=""><br class="">Default Interface: None<br class="">OVMS #<br class="">_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></div></div></blockquote></div><br class=""></div></body></html>