83 lines
3.5 KiB
HTML
83 lines
3.5 KiB
HTML
<!doctype html>
|
|
<html lang="en"><head><meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Command line and environment - Alkane Toolkit</title>
|
|
<link rel="stylesheet" href="../style.css"></head>
|
|
<body><header><div class="bar"><a class="brand" href="../"><i></i>Alkane Toolkit</a>
|
|
<nav><a href="../">Overview</a><a href="../manual/" class=on>Manual</a><a href="../quality/">Code quality</a><a href="../bench/">Benchmarks</a><a href="https://gitea.bluefla.re/blueflare/alkane-toolkit/releases">Downloads</a><a href="https://gitea.bluefla.re/blueflare/alkane-toolkit">Source</a></nav></div></header>
|
|
<main><div class="layout"><aside><ol><li><a href="getting-started.html">Getting started</a></li><li><a href="scanning.html">Scanning</a></li><li><a href="the-table.html">The table and header</a></li><li><a href="health.html">Health, access and light</a></li><li><a href="actions.html">Actions</a></li><li><a href="settings.html">Settings and credentials</a></li><li><a href="restore.html">Restore to stock firmware</a></li><li><a href="export.html">Export</a></li><li><a href="command-line.html" class=on>Command line and environment</a></li><li><a href="troubleshooting.html">Troubleshooting</a></li></ol></aside><article><h1 id="command-line-and-environment">Command line and environment</h1>
|
|
<h2 id="environment-variables">Environment variables</h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Variable</th>
|
|
<th>Effect</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>ALKANE_FAKE_SCAN=1</code></td>
|
|
<td>demo mode: a built-in sample fleet, no network traffic, simulated actions</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>ALKANE_APPEARANCE=light</code> or <code>dark</code></td>
|
|
<td>force the light or dark theme</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>ALKANE_SELFTEST=1</code></td>
|
|
<td>run the built-in UI self-test on the sample fleet and exit (prints <code>SELFTEST PASS</code> or <code>FAIL</code>)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>ALKANE_ACCESS_PROBE="<ip> <make>"</code></td>
|
|
<td>print whether the saved login can change that miner, then exit</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>ALKANE_LOG_SCAN="<ip> <brand>"</code></td>
|
|
<td>fetch that miner's log through its API, print the size, then exit</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>On Windows these one-shot modes print to the Command Prompt they are started
|
|
from.</p>
|
|
<h2 id="miner_probe">miner_probe</h2>
|
|
<p><code>miner_probe</code> is a command-line companion for scripting and diagnosis. These
|
|
commands only read:</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Command</th>
|
|
<th>Prints</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>miner_probe scan <cidr> [<cidr>...]</code></td>
|
|
<td>discovered miners and their telemetry, as tab-separated values</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>miner_probe hashrate <cidr>...</code></td>
|
|
<td>raw hashrate and algorithm</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>miner_probe msgs <ip></code></td>
|
|
<td>fault messages and per-board data</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>miner_probe tune <ip></code></td>
|
|
<td>tuning support and limits</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>miner_probe presets <ip></code></td>
|
|
<td>available firmware profiles</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>miner_probe timezone <ip></code></td>
|
|
<td>the current time zone</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>Its other commands change miners. It uses the global login from the settings
|
|
folder, or <code>ALKANE_PROBE_USER</code> and <code>ALKANE_PROBE_PASS</code>, and
|
|
<code>ALKANE_PROBE_CONCURRENCY</code> (default 128).</p></article></div>
|
|
<footer>Built from 224b3b37e8. Alkane Toolkit is MIT licensed.</footer></main></body></html>
|