Howto HiveOS: Difference between revisions
(Created page with "= commands = show hive client agent: agent-screen ask for rig id and password again: firstrun -f run file manager: mc upgrade from console, same as hitting a button on the web: selfupgrade do a hard reboot: sreboot do a hard shutdown: sreboot shutdown") |
|||
(17 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
do a hard shutdown: | do a hard shutdown: | ||
sreboot shutdown | sreboot shutdown | ||
show running miner screen: | |||
miner | |||
start currently configured miner: | |||
miner start | |||
stop currently configured miner: | |||
miner stop | |||
show miner log: | |||
miner log | |||
show miner configuration: | |||
miner config | |||
how boot system messages: | |||
dmesg | |||
show last 100 lines from system log: | |||
tail -n 100 /var/log/syslog | |||
show network interfaces: | |||
ifconfig | |||
show wireless adapters | |||
iwconfig | |||
stop any running command: | |||
ctrl+c | |||
detach from screen (miner or agent) to leave it working: | |||
ctrl+a, d | |||
switch between screens if you have second miner running and so on: | |||
ctrl+a, space or ctrl+a, 1,2,3 | |||
show logs of various parts (you can try log1 and log2) of the Hive agent | |||
agent-screen log | |||
say hello to server: to refresh IP addresses, configs etc: | |||
hello | |||
check and diagnose your network connection: | |||
net-test | |||
show time and date synchronization settings: | |||
timedatectl | |||
show list of all processes: | |||
top -b -n 1 | |||
show hashrate watchdog status and log: | |||
wd status | |||
spin gpu fans from the first card to the last to make it easier to find the required gpu: | |||
gpu-fans-find | |||
show voltage/temperature readings of the motherboard and cpu: | |||
sensors | |||
shutdown psu and boot in 120 seconds: | |||
sreboot wakealarm 120 | |||
send a power command to OpenDev watchdog: | |||
/hive/opt/opendev/watchdog-opendev power | |||
send a reset command to OpenDev watchdog: | |||
/hive/opt/opendev/watchdog-opendev reset | |||
expand a linux partition to fill remaining drive space: | |||
disk-expand -s | |||
list all installed miners: | |||
hpkg list miners | |||
uninstall all miners: | |||
hpkg remove miners | |||
it can help in situations when selfupgrade says hiveos is up to date but actually it isn’t: | |||
selfupgrade --force | |||
show Hive service boot log: | |||
journalctl -u hive --no-pager | |||
show log of xorg server: | |||
journalctl -u hivex --no-pager | |||
write all logs to disk, they will remain after reboots: | |||
logs-on | |||
write all logs to RAM to reduсe USB flash drive wear: | |||
logs-off | |||
send /var/log/syslog file to dashboard: | |||
log='/var/log/syslog'; gzip -c9 "$log" | base64 -w 0 | message file "$(basename "$log")" payload | |||
= amd gpu = | |||
show amd cards info: | |||
amd-info | |||
show info about amd cards power supply: | |||
amdcovc | |||
show amd cards memory info: | |||
amdmeminfo | |||
show voltage table for AMD GPU 0: | |||
wolfamdctrl -i 0 --show-voltage | |||
= nvidia gpu = | |||
show recent nvidia gpu errors: | |||
journalctl -p err | grep NVRM | |||
show extended nvidia cards info | |||
nvidia-info | |||
update nvidia drivers: | |||
nvidia-driver-update | |||
download and install latest driver from series 430: | |||
nvidia-driver-update 430 | |||
reinstall nvidia-settings only: | |||
nvidia-driver-update --nvs | |||
remove all downloaded nvidia driver packages except currently installed: | |||
nvidia-driver-update --remove | |||
show nvidia cards info: | |||
nvidia-smi | |||
show core/mem clocks for all the nvidia gpus: | |||
nvtool --clocks | |||
= references = | |||
* https://download.hiveos.farm/drivers | |||
* https://hiveon.com/guides-driver_upd | |||
* https://hiveon.com/guides-linux | |||
* https://download.hiveos.farm/VERSIONS.txt | |||
* https://github.com/lg/hiveos-docker |
Latest revision as of 00:43, 17 February 2022
commands
show hive client agent:
agent-screen
ask for rig id and password again:
firstrun -f
run file manager:
mc
upgrade from console, same as hitting a button on the web:
selfupgrade
do a hard reboot:
sreboot
do a hard shutdown:
sreboot shutdown
show running miner screen:
miner
start currently configured miner:
miner start
stop currently configured miner:
miner stop
show miner log:
miner log
show miner configuration:
miner config
how boot system messages:
dmesg
show last 100 lines from system log:
tail -n 100 /var/log/syslog
show network interfaces:
ifconfig
show wireless adapters
iwconfig
stop any running command:
ctrl+c
detach from screen (miner or agent) to leave it working:
ctrl+a, d
switch between screens if you have second miner running and so on:
ctrl+a, space or ctrl+a, 1,2,3
show logs of various parts (you can try log1 and log2) of the Hive agent
agent-screen log
say hello to server: to refresh IP addresses, configs etc:
hello
check and diagnose your network connection:
net-test
show time and date synchronization settings:
timedatectl
show list of all processes:
top -b -n 1
show hashrate watchdog status and log:
wd status
spin gpu fans from the first card to the last to make it easier to find the required gpu:
gpu-fans-find
show voltage/temperature readings of the motherboard and cpu:
sensors
shutdown psu and boot in 120 seconds:
sreboot wakealarm 120
send a power command to OpenDev watchdog:
/hive/opt/opendev/watchdog-opendev power
send a reset command to OpenDev watchdog:
/hive/opt/opendev/watchdog-opendev reset
expand a linux partition to fill remaining drive space: disk-expand -s list all installed miners:
hpkg list miners
uninstall all miners:
hpkg remove miners
it can help in situations when selfupgrade says hiveos is up to date but actually it isn’t:
selfupgrade --force
show Hive service boot log:
journalctl -u hive --no-pager
show log of xorg server:
journalctl -u hivex --no-pager
write all logs to disk, they will remain after reboots:
logs-on
write all logs to RAM to reduсe USB flash drive wear:
logs-off
send /var/log/syslog file to dashboard:
log='/var/log/syslog'; gzip -c9 "$log" | base64 -w 0 | message file "$(basename "$log")" payload
amd gpu
show amd cards info:
amd-info
show info about amd cards power supply:
amdcovc
show amd cards memory info:
amdmeminfo
show voltage table for AMD GPU 0:
wolfamdctrl -i 0 --show-voltage
nvidia gpu
show recent nvidia gpu errors:
journalctl -p err | grep NVRM
show extended nvidia cards info
nvidia-info
update nvidia drivers:
nvidia-driver-update
download and install latest driver from series 430:
nvidia-driver-update 430
reinstall nvidia-settings only:
nvidia-driver-update --nvs
remove all downloaded nvidia driver packages except currently installed:
nvidia-driver-update --remove
show nvidia cards info:
nvidia-smi
show core/mem clocks for all the nvidia gpus:
nvtool --clocks