{"id":1156,"date":"2022-02-15T11:45:26","date_gmt":"2022-02-15T17:45:26","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=1156"},"modified":"2025-04-14T22:13:10","modified_gmt":"2025-04-15T04:13:10","slug":"spectre-automatic-firmware-upgrade-and-permissions","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=1156","title":{"rendered":"Spectre Automatic Firmware Upgrade and Permissions"},"content":{"rendered":"<p>I&#8217;m working on a project with an Advantech router (SR305 v3) that needs infrequent firmware security updates. It has the ability to pull the firmware updates from a third party web server on a specified schedule. To do this, the web server (Apache running on macOS <del datetime=\"2025-04-15T03:54:27+00:00\">Monterey<\/del> Sonoma) needs read access to the directory and files the firmware is saved in.<\/p>\n<p>Advantech&#8217;s latest firmware is usually <a href=\"https:\/\/icr.advantech.cz\/firmware\">posted here<\/a>. After downloading the firmware files and saving them in the web server directory &#8220;Spectre_firmware&#8221;, proper file and directory permissions are enabled on the web server by opening Terminal.app and running the following command:<\/p>\n<p><code>sudo chown -Rv _www \/Library\/WebServer\/Documents\/Default\/brad\/images\/Spectre_firmware<\/code><\/p>\n<p>This information is for later reference if we decide to script the update process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m working on a project with an Advantech router (SR305 v3) that needs infrequent firmware security updates. It has the ability to pull the firmware updates from a third party web server on a specified schedule. To do this, the &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=1156\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1156","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1156"}],"version-history":[{"count":6,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1156\/revisions"}],"predecessor-version":[{"id":1921,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1156\/revisions\/1921"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}