{% extends 'flask_user/_public_base.html' %}
{% block content %}


<div class="card" >
  <div class="panel-heading" style="text-align: center;"><h4>Pi-Star Instructions</h4></div>
  <div class="panel-body">
<p>&nbsp;</p>
<p>This page generates a script to enable the use of this network on a Pi-Star device. This script will automatically add information, including your generated passphrase and each Master/Proxy instance available on this network, to your device's DMR_Hosts.txt. This will also add rules to your Pi-Star firewall to allow use on non default ports. After executing, you should be able to connect to this network in the Pi-Star configuration page.</p>
<p>&nbsp;</p>
<p>A script that can be copied and pasted is generated for each of your DMR IDs when you load this page. Each script/command contains a link that is valid for only one use. If you need execute a command again, simply reload the page to get a fresh link.</p>
<p>&nbsp;</p>
<hr />
<p>&nbsp;</p>
<p><strong>1</strong>: Log into your Pi-Star device via SSH. <br /> <strong>2</strong>: Become <strong>root</strong> user.</p>
<pre>sudo su</pre>
<p><strong>3</strong>: Decide which DMR ID you want Pi-Star to login with. Copy and past one of the commands below to update DMR_Hosts.txt. Each command is specific to a DMR ID. <strong>You only need to execute ONE of the commands below.</strong></p>
<p>&nbsp;</p>

{{markup_content}}
<p>&nbsp;</p>

If you were sucessful, you can now go into the Pi-Star configuration and select this network from the dropdown list.
  </div>
</div>
<p>&nbsp;</p>

{% endblock %}
