Site Tools


remote_upgrade_poc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
remote_upgrade_poc [2023/07/13 16:43] – [Concerns, Issues, and Known Challenges] -formatting hogwildremote_upgrade_poc [2023/07/13 16:45] – [Concerns, Issues, and Known Challenges] -formatting hogwild
Line 97: Line 97:
     - Automount mounts all partitions to subdirectories in "/mnt". The //nvram usb_automount// parameter \\ defaults to "1" (enabled), at least in recently compiled ".trx" firmware builds).     - Automount mounts all partitions to subdirectories in "/mnt". The //nvram usb_automount// parameter \\ defaults to "1" (enabled), at least in recently compiled ".trx" firmware builds).
     - Logic is needed to tell if the .autorun file ran right after an upgrade or on reboot during normal operation. \\  \\     - Logic is needed to tell if the .autorun file ran right after an upgrade or on reboot during normal operation. \\  \\
-  - Performing an upgrade via the shell is safer than via the web interface. From the shell, you download a .zip \\ and check for magic number errors when extracting the archive. Most devices have enough RAM to host the .zip. \\ Uploading a ".trx" file via the web interface increases risk, especially on a less stable connection, such as a WiFi client. \\  \\ +  - Performing an upgrade via the shell is safer than via the web interface. From the shell, you download a .zip \\ and check for magic number errors when extracting the archive. Most devices have enough RAM \\ to host the .zip. \\ Uploading a ".trx" file via the web interface increases risk, especially on a less stable connection, \\ such as a WiFi client. \\  \\ 
   - Clearing NVRAM and restoring variables remotely via a script could lead to a serious lockout or bootloop. \\ Even if such an approach (having a list of nvram set commands) saved time, too many things could go wrong.\\  \\    - Clearing NVRAM and restoring variables remotely via a script could lead to a serious lockout or bootloop. \\ Even if such an approach (having a list of nvram set commands) saved time, too many things could go wrong.\\  \\ 
   - Having a persistent basic Internet connection, VPN, and LAN parameters could allow an internal device \\ (such as a PC or small service/maintenance appliance RPI) to announce its availability. This could allow it \\ to be accessed remotely for finalizing the whole post-upgrade configuration. A VPN might not be needed \\ if a remote access tool \\ such as Teamviewer were available). \\  \\    - Having a persistent basic Internet connection, VPN, and LAN parameters could allow an internal device \\ (such as a PC or small service/maintenance appliance RPI) to announce its availability. This could allow it \\ to be accessed remotely for finalizing the whole post-upgrade configuration. A VPN might not be needed \\ if a remote access tool \\ such as Teamviewer were available). \\  \\ 
   - Upgrade options using TFTP wouldn't be viable because of the need to trigger the transfer during a short \\ (a few seconds) service window during power-up. Such options might also require specific button combinations \\ which wouldn't be practical.\\  \\    - Upgrade options using TFTP wouldn't be viable because of the need to trigger the transfer during a short \\ (a few seconds) service window during power-up. Such options might also require specific button combinations \\ which wouldn't be practical.\\  \\ 
-  - Other options for FreshTomato to do a controlled reconfiguration during upgrade might include leaving specific \\ entry points, hooks, or callback scripts. However, this would require thorough examination, development and testing. Such work might be unfeasible if developer resources were limited.+  - Other options for FreshTomato to do a controlled reconfiguration during upgrade might include leaving specific \\ entry points, hooks, or callback scripts. However, this would require thorough examination, development \\ and testing. Such work might be unfeasible if developer resources were limited.
  
  
remote_upgrade_poc.txt · Last modified: 2023/07/13 17:05 by hogwild