MCU interface issues

What are the restrictions on the username and password for the HF 106. I was able to log in using a web browser. However, after I change the user ID and password using the account-s command, on the console, I was no longer able to log in using the web browser.

Q: What are users allowed to change?
Q: what are the requireents/restrictions for the password.

This could be an issue with the Web interface to the MCU

Please also update the HCF106 MCU User’s Manual to contain this information.

Perhaps the firmware version is too old, you can update it per this doc:

Also you can double check if the account-s was doing to right thing by dumping the user/password from eeprom:
In Linux, run sudo hexdump -C /sys/devices/platform/soc/51830000.i2c/i2c-3/3-0050/eeprom, and you’ll get something like this:

...
000000a0  61 64 6d 69 6e 00 00 00  00 00 00 00 00 00 00 00  |admin...........|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000c0  31 32 33 34 35 36 00 00  00 00 00 00 00 00 00 00  |123456..........|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
...

The user/password is starting at offset 0xa0.

There is only one account.
Access the management page by logging in at:
http://$MCUIP/login.html
You can use the ifconfig command to check the MCUIP address.

For now, please use only letters and numbers to set the username and password, and ensure the length does not exceed 20 characters.

Steps:

  1. Enter account-s in the MCU terminal to set the username and password, which will take effect immediately.
  2. Enter account-g to query the current username and password, and verify that they match what you set.
  3. Browser connections that are already logged in will not be affected. New login attempts must use the new username and password.

We will implement stricter validation rules in the future.

If you encounter any errors, please provide the relevant error logs or screenshots to us.

Thanks Tiger. We figured out that there is only one account. When I was testing I verified that the changes were taken. However, I am sure that my password contained more than letters and numbers and was likely more than 20 characters.

Ganboing. Is there a command to check which version of MCU firmware is running?

You can use the version command in MCU console.