<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic USB First Time Config using autoconf.clish files  - How to use them in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/USB-First-Time-Config-using-autoconf-clish-files-How-to-use-them/m-p/38952#M1599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Here i talk about using &lt;EM&gt;autoconf.clish&lt;/EM&gt; files to configure SMB units; this articles second and third parts can be found here :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0cm 1.45pt 6.0pt 0cm; font-size: 14.0pt;"&gt;&lt;A href="https://community.checkpoint.com/docs/DOC-2609"&gt;USB First Time Config using autoconf.clish files - How it works &lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0cm 1.45pt 6.0pt 0cm; font-size: 14.0pt;"&gt;&lt;A href="https://community.checkpoint.com/docs/DOC-2634"&gt;USB First Time Config using autoconf.clish files - How it is written&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0cm 1.45pt 6.0pt 0cm; font-size: 14.0pt;"&gt;---------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;The &lt;EM&gt;autoconf.clish&lt;/EM&gt; files will, if present,&amp;nbsp; always run if the unit is rebooted in the Initial Configuration state, that is,&amp;nbsp; before &lt;EM&gt;First Time Wizard&lt;/EM&gt; was run. An already configured unit will have to be reset before a new configuration, here that is done using the CLI (from a serial connection, of course !), but you could also use the WebGUIs DEVICE &amp;gt; System &amp;gt; System Operations &amp;gt; Default Settings button: &lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;GW-620&amp;gt; restore default-settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Restoring the default settings will delete your current settings and reboot the appliance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Are you sure you want to continue? (yes/no): y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Restoring factory default settings...&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Please wait while the appliance reboots. Please do not pull out the power cable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Warning - USB device contains image files for the device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Please remove the device to prevent reverting to that image after reboot, then press ENTER to continue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;GW-620&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Broadcast message from root (Wed Oct 8 08:45:55 2014):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The system is going down for reboot NOW!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;INIT: Restarting system.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;Now the configuration will be read from &lt;EM&gt;autoconf.clish&lt;/EM&gt; file only and nothing from the old config will survive. If an existing configuration has to be changed using &lt;EM&gt;autoconf.clish&lt;/EM&gt;, we can have the unit just to run it on next reboot, when no reset is needed:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;EM&gt;GW-620&amp;gt; set property USB_auto_configuration once&lt;/EM&gt; &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;If the unit is rebooted now, values already configured will be overwritten with the values from &lt;EM&gt;autoconf.clish&lt;/EM&gt;, and some commands may not work at all if only intended to run once or just for First Time configuration (like, for example, adding two Internet connections).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;After the next reboot, &lt;EM&gt;autoconf.clish&lt;/EM&gt; will not run again. But during corrections on an &lt;SPAN style="font-size: 14.0pt;"&gt;&lt;EM&gt;autoconf.clish&lt;/EM&gt; file not intended for first time configuration but for configuration changes, &lt;/SPAN&gt;it can be very helpfull to make the device run the &lt;EM&gt;autoconf.clish&lt;/EM&gt; again after every reboot:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;GW-620&amp;gt; set property USB_auto_configuration always&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;Now we could change the &lt;EM&gt;autoconf.clish&lt;/EM&gt; file, save it, just issue a reboot on the CLI and look if it does work correctly now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; .&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2018 11:08:43 GMT</pubDate>
    <dc:creator>G_W_Albrecht</dc:creator>
    <dc:date>2018-02-08T11:08:43Z</dc:date>
    <item>
      <title>USB First Time Config using autoconf.clish files  - How to use them</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/USB-First-Time-Config-using-autoconf-clish-files-How-to-use-them/m-p/38952#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Here i talk about using &lt;EM&gt;autoconf.clish&lt;/EM&gt; files to configure SMB units; this articles second and third parts can be found here :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0cm 1.45pt 6.0pt 0cm; font-size: 14.0pt;"&gt;&lt;A href="https://community.checkpoint.com/docs/DOC-2609"&gt;USB First Time Config using autoconf.clish files - How it works &lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0cm 1.45pt 6.0pt 0cm; font-size: 14.0pt;"&gt;&lt;A href="https://community.checkpoint.com/docs/DOC-2634"&gt;USB First Time Config using autoconf.clish files - How it is written&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0cm 1.45pt 6.0pt 0cm; font-size: 14.0pt;"&gt;---------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;The &lt;EM&gt;autoconf.clish&lt;/EM&gt; files will, if present,&amp;nbsp; always run if the unit is rebooted in the Initial Configuration state, that is,&amp;nbsp; before &lt;EM&gt;First Time Wizard&lt;/EM&gt; was run. An already configured unit will have to be reset before a new configuration, here that is done using the CLI (from a serial connection, of course !), but you could also use the WebGUIs DEVICE &amp;gt; System &amp;gt; System Operations &amp;gt; Default Settings button: &lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;GW-620&amp;gt; restore default-settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Restoring the default settings will delete your current settings and reboot the appliance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Are you sure you want to continue? (yes/no): y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Restoring factory default settings...&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Please wait while the appliance reboots. Please do not pull out the power cable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Warning - USB device contains image files for the device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Please remove the device to prevent reverting to that image after reboot, then press ENTER to continue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;GW-620&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Broadcast message from root (Wed Oct 8 08:45:55 2014):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The system is going down for reboot NOW!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;INIT: Restarting system.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;Now the configuration will be read from &lt;EM&gt;autoconf.clish&lt;/EM&gt; file only and nothing from the old config will survive. If an existing configuration has to be changed using &lt;EM&gt;autoconf.clish&lt;/EM&gt;, we can have the unit just to run it on next reboot, when no reset is needed:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;EM&gt;GW-620&amp;gt; set property USB_auto_configuration once&lt;/EM&gt; &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;If the unit is rebooted now, values already configured will be overwritten with the values from &lt;EM&gt;autoconf.clish&lt;/EM&gt;, and some commands may not work at all if only intended to run once or just for First Time configuration (like, for example, adding two Internet connections).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;After the next reboot, &lt;EM&gt;autoconf.clish&lt;/EM&gt; will not run again. But during corrections on an &lt;SPAN style="font-size: 14.0pt;"&gt;&lt;EM&gt;autoconf.clish&lt;/EM&gt; file not intended for first time configuration but for configuration changes, &lt;/SPAN&gt;it can be very helpfull to make the device run the &lt;EM&gt;autoconf.clish&lt;/EM&gt; again after every reboot:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;GW-620&amp;gt; set property USB_auto_configuration always&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="margin-right: 1.45pt;"&gt;&lt;SPAN style="font-size: 14.0pt;"&gt;Now we could change the &lt;EM&gt;autoconf.clish&lt;/EM&gt; file, save it, just issue a reboot on the CLI and look if it does work correctly now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; .&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 11:08:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/USB-First-Time-Config-using-autoconf-clish-files-How-to-use-them/m-p/38952#M1599</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2018-02-08T11:08:43Z</dc:date>
    </item>
  </channel>
</rss>

