Page 1 of 1

Nucleo stm32 F429ZI Telnet Server on LAN wired connection

Posted: Mon May 11, 2020 11:54 am
by greg161
I am trying to use telnet server from https://github.com/cpopp/MicroTelnetServer on Nucleo board F429ZI which has LAN connection. I don't know how to use it on this board. I see that it makes server on WiFi interface but how to change it to LAN (Ethernet by cable) ?

Re: Nucleo stm32 F429ZI Telnet Server on LAN wired connection

Posted: Tue Jul 06, 2021 7:28 am
by reverbrick
Hey, I know this post is quite old, I've just faced the same problem and made a quick fix by commenting those lines:

Code: Select all

    #for i in (network.AP_IF, network.STA_IF):
    #    wlan = network.WLAN(i)
    #    if wlan.active():
    #        print("Telnet server started on {}:{}".format(wlan.ifconfig()[0], port))
 
at the end of the file. It does the network init which I do before anyways.