Telnet REPL
Pycom devices also support a connection via telnet, using the device's on board WiFi/WLAN. Connect to the device's WiFi Access Point (AP) and using the following credentials to connect to the AP. The WiFi SSID
will appear upon powering on a Pycom Device for the first time (e.g. lopy-). To re-enable this feature at a later date, please see network.WLAN.
password
: www.pycom.io
Telnet Server
Additionally, to use the MircoPython REPL over telnet, further authentication is required. The default credentials for the telnet server are:
username
: micro
password
: python
See network.server for info on how to change the default authentication.
MacOS and Linux
Once the host machine is connected to the Pycom device's Access Point, a telnet connection may be opened from a terminal instance.
$ telnet 192.168.4.1
Upon connection, the telnet program will prompt for the username
and password
in the section above.
Windows
A terminal emulator is needed to open a telnet connection from Windows; the easiest option is to download the free program, PuTTY.
- With PuTTY open, select telnet as connection type and leave the default port (23)
- Next enter the IP address of the Pycom device (192.168.4.1)
- Finally click
Open
When using a Pycom device with a personal, home or office WiFi access point, the telnet connection may still be used. In this instance, the user will need to determine the Pycom device's local IP address and substitute this for 192.168.4.1
, referred to in the earlier sections.