Hi xinliwang and NXP Community,
I am currently working on Web UI Demo (section 18.5 of Open Industrial User Guide - NXP). I have successfully created the Netopeer2-cli in Ubuntu system and Netopeer2-server in NXP LS1028ARDB. In addition, I have installed the required libraries and files for the same in Ubuntu system (steps 1-7) such as Pyan, libssh, libnetconf, cloning tsntool source code and Python libraries. I have also gone with step 8 on the OpenIL board, for avahi-daemon (following the below commands):
BR2_PACKAGE_AVAHI=y
BR2_PACKAGE_AVAHI_AUTOIPD=y
BR2_PACKAGE_AVAHI_DAEMON=y
BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY=y
BR2_PACKAGE_NSS_MDNS=y
BR2_PACKAGE_NETOPEER2_SERVER=y
Although there is no errors found and I am able to proceed with step 9 Start the web server (followed sudo python3 cnc.py after changing http://10.193.20.147:8180 in cnc.py python to 127.0.0.1 local host IP). The execution windows appeared as running cnc file.png.
Over the linux system, going after http:127.0.0.1:8180 in browser, I have found no devices (refer to Browser window.png).
Digging deeper, I have found that from Ubuntu system, through avahi-browse, the connected LS1028ARDB switch is not discoverable (although ping response is there among both (switch & System) and avahi-autoipd is running for the connected ethernet port in Switch). Taking forward, I have explored the avahi-daemon option among two Ubuntu systems and both are able to trace each other.
Kindly let me know where I am committing a mistake!
Thank you in advance.