config
Description
Lists basic runtime configuration information. This command exists mostly for CGMiner compatibility; if you are interested in changing the runtime configuration, it is better to look into luxminer-specific commands.
Command
$ echo '{"command": "config"}' | nc $MINER_IP 4028 | jq
Examples
$ echo '{"command": "config"}' | nc $MINER_IP 4028 | jq
{
"CONFIG": [
{
"ASC Count": 3,
"BcastAddr": "192.168.0.255",
"CurtailMode": "None",
"DHCP": true,
"DNS Servers": "",
"Device Code": "",
"FPGABuildIdHex": "0x22111417",
"FPGABuildIdStr": "2022-11-14 17:00",
"Gateway": "192.168.0.1",
"Hostname": "LuxOS",
"Hotplug": "None",
"IPAddr": "192.168.0.33",
"ImmersionMode": false,
"IsAtmEnabled": false,
"IsPowerSupplyOn": true,
"IsSingleVoltage": false,
"IsTuning": false,
"Log Interval": 0,
"LogFileLevel": "debug",
"MACAddr": "08:F3:2A:75:81:92",
"Model": "Antminer S9",
"NameplateTHS": 14.0,
"NetMask": "255.255.255.0",
"OS": "LuxOS",
"PGA Count": 0,
"Profile": "default",
"PSUHwVersion": "00",
"PSULabel": "Unknown",
"Pool Count": 3,
"Strategy": "Failover",
"SystemStatus": "Normal",
"UpdateOnStartup": "off",
"UpdateOnTimeout": "off",
"UpdateOnUser": "full",
"UpdateSource": "https://storage.googleapis.com/luxor-firmware/stable",
"UpdateTimeout": 60
}
],
"STATUS": [
{
"Code": 33,
"Description": "LUXminer 2024.2.19.131822-ef17c0c4",
"Msg": "LUXminer config",
"STATUS": "S",
"When": 1672770089
}
],
"id": 1
}
Field details
Field | Notes |
---|---|
ASC Count | Number of boards, as defined in luxminer.toml (see Configuration). |
BcastAddr | Miner broadcast address. |
CurtailModel | Either None , Sleep or WakeUp . |
DHCP | true if the miner is using a dynamic IP address. |
DNS Servers | Comma-separated list of DNS servers. |
Device Code | Always "" . |
FPGABuildIdHex | FPGA build ID, in hex. |
FPGABuildIdStr | FPGA build ID, as string. |
Gateway | Network gateway. |
Hostname | Machine host name. |
Hotplug | Always "None" . |
IPAddr | Miner IP address. |
ImmersionMode | true if immersion mode is enabled. |
IsAtmEnabled | true if ATM is enabled. |
IsPowerSupplyOn | true if the power supply is on. |
IsSingleVoltage | true if the machine supports only a single voltage value. |
IsTunning | true if the autotuner is running. |
Log Interval | Always zero. |
LogFileLevel | Log level to be used for the log files |
MACAddr | Miner MAC address. |
Model | Miner model. |
NameplateTHS | The nameplate hashrate, in TH/s, assuming 3 boards in the default configuration. |
Netmask | Network mask. |
OS | Always "LuxOS" . |
PGA Count | Always zero. |
Profile | Name of the current profile. |
PSUHwVersion | Hardware version of the PSU. |
PSULabel | Label of the PSU. Can be classified as Unknown , even if the PSU is supported. |
Pool Count | Number of pools, as defined on luxminer.toml (see Configuration). |
Strategy | Always "Failover" . |
SystemStatus | Either Normal or Initializing . |
UpdateOnStartup | Either off , download , apply or full . |
UpdateOnTimeout | Either off , download , apply or full . |
UpdateOnUser | Either off , download , apply or full . |
UpdateSource | The source location of the updates. |
UpdateTimeout | The timeout to trigger auto updates. Used only if UpdateOnTimeout is not off . |