Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mass-update: improve flashing of low_flash and low_mem devices #1183

Closed
6 tasks done
Noki opened this issue Feb 6, 2025 · 0 comments · Fixed by #1185
Closed
6 tasks done

mass-update: improve flashing of low_flash and low_mem devices #1183

Noki opened this issue Feb 6, 2025 · 0 comments · Fixed by #1185
Labels
enhancement New feature or request

Comments

@Noki
Copy link
Member

Noki commented Feb 6, 2025

Devices with low_flash / low_mem tend to run out of memory. We should therefore improve the mass-update script in the following way:

  • reboot device before flashing
  • stop services to free memory before flashing
    • /etc/init.d/collectd stop; /etc/init.d/luci_statistics stop; /etc/init.d/sysntpd stop; /etc/init.d/urngd stop; /etc/init.d/rpcd stop; /etc/init.d/naywatch stop
  • wait a couple of seconds before flashing for everything to settle

After flashing most of these devices loose the overlay and therefore require a new password to be set we should therefore:

  • check all flashed devices for a set password
  • list devices that require manually setting a password
@Noki Noki added the enhancement New feature or request label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant