Useful Linux and Hive commands for beginners

I log in by ssh, so I could put this ~/bin/log script into my ~/.bashrc or ~/.bash_whatever and then it would run every time I log in. Then CTRL-C to kill it, and “log” to go back into it.

This one is only for xmr-stak, but I can put conditionals in it when i write others. TeamRedMiner isn’t mining ryo yet. xmr-rig-amd does, so I may update this script.

Could you tell me why I cannot update my rig to the latest hiveos ?

root@NN05:/# selfupgrade
Current version: 0.6-42@190515-2
Hit:1 http://download.hiveos.farm/repo/binary InRelease
Reading package lists… Done

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
hive-miners-claymore-12.0
Use ‘sudo apt autoremove’ to remove it.
The following additional packages will be installed:
libssh-4
The following NEW packages will be installed:
libssh-4
The following packages will be upgraded:
hive hive-lib hive-opt
3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 120 kB/37.8 MB of archives.
After this operation, 360 kB of additional disk space will be used.
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libssh-4 amd64 0.6.3-4.3ubuntu0.1
404 Not Found [IP: 91.189.91.23 80]
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libssh-4 amd64 0.6.3-4.3ubuntu0.1
404 Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libs/libssh/libssh-4_0.6.3-4.3ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Checking miners packages
Reading package lists… Done
Building dependency tree
Reading state information… Done
hive-miners-claymore is already the newest version (0.6-06).
hive-miners-custom is already the newest version (0.6-02).
hive-miners-gminer is already the newest version (0.6-40).
The following package was automatically installed and is no longer required:
hive-miners-claymore-12.0
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Checking miners version packages
Reading package lists… Done
Building dependency tree
Reading state information… Done
hive-miners-claymore-11.9 is already the newest version (0.6-02).
hive-miners-gminer-1.47 is already the newest version (0.6-01).
hive-miners-claymore-14.7 is already the newest version (0.6-01).
hive-miners-claymore-12.0 is already the newest version (0.6-01).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Upgrade failed

How to login through SSH?

1 Like

That’s a big subject. HiveOS is set up to allow password login.

Here are top 50 Linux commands and example check link below

https://www.puttygen.com/linux-commands

Did somebody help you with this?

Thanks!

Any ideas?

miner stop
rm -r /var/lib/dpkg/updates

Which package does this belong to?

image

I’m using 0.6-199@210218

Thanks

Hello, do you know how to clear the amdmemtweak parameters to clear this conf? I deleted the overclocking parameters but that does not delete the amdmemtweak parameters, we should be able to clear this conf … Thank you very much in advance

You can use Gnome Linux file manager to use commands.