Skip to content

Install SSH on UBUNTU 12.10

How to install ssh on UBUNTU 12.10

From the command prompt, type:

sudo bash

apt-get install openssh-server

nano /etc/ssh/sshd_config

uncomment the # from the line that says
#Listen 0.0.0.0
and set it to
Listen 192.168.1.10 or whatever the ip address is on your Ubuntu system

Press:
CTRL and O at the same time to save the file

Press:
CTRL and together to exit

sudo /etc/init.d/ssh restart

Now try to connect to your Ubuntu system from another computer over ssh and it will work

Raspberry Pi GPS Installation

RASPBERRY PI – GlobalSat BU-353S4 GPS Installation

 
This is how we were able to install and run the GlobalSat BU-353 GPS module on our Raspberry Pi
From the command prompt, type:

sudo bash

apt-get install gpsd gpsd-clients python-gps

nano /lib/udev/gpsd.hotplug

Scroll down the document and add
chmod a+rw $DEVNAME
above the line that says
gpsdctl $ACTION $DEVNAME

Press CTRL and O together to save

Press CTRL and X together to exit the file

/etc/init.d/gpsd restart

gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock

cgps -s

You will now see the GPS output



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Clean Out Files on Raspberry Pi

Fix Those DISK FULL Errors in Kali on Your Raspberry Pi

The Kali Linux image for the Raspberry Pi only has 7.2GB of space by default, and it fills quickly.  If you haven’t expanded, or are unable to expand for any reason, this will allow you to regain some space.

Simply run the following command from the Terminal:

apt-get autoclean

Thats it!  Make sure you run this command periodically for housekeeping purposes.



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Setting up a Bitcoin Wallet on a Raspberry Pi

Setting up a Bitcoin wallet on a Raspberry Pi

Here is the quick and dirty guide to getting your wallet up and running.

Boot to the Desktop

If you are at the command line and cannot get to the desktop type in:
sudo bash
Enter in your password if prompted

Type:
apt-get update and press enter

Type:
startx, press enter, and the desktop will start

Open up an LXTerminal on your Pi.

Type:
sudo apt-get install python-qt4 python-pip and press enter

Press Y when prompted

sudo pip install http://download.electrum.org/3.2.3/Electrum-3.2.3.tar.gz and press enter

The wallet will now install. Once it is installed type:
electrum and press enter

dialog box will appear telling you that a wallet is not found.

Click Create

Copy your wallet generation seed into a safe place and click ok

Type in your wallet generation seed in the verification box and click ok

Accept the default server and press ok

Set the password when prompted

Verify the password

Click Ok

The Password was Updated dialog box will appear. Click Ok

Your Electrum Bitcoin wallet will now show on your desktop

Once you have your wallet open click on the Receive Tab

In the Main Account section, you will see 5 addresses that look similar to this:
1246L8DYTSJ12ti35gXtRvG9Qu4oVCfXrz

That is your bitcoin wallet address. You will use that address to receive your bitcoins.



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Wireshark Lua Error in Kali Linux on a Raspberry Pi

How to Fix the LUA Wireshark Error on Kali Linux

Loading up Wireshark for the first time, you will see the following error:

Lua: Error during loading:
“/usr/share/wireshark/init.lua.32: dofile has been disabled due to running Wireshark as superuser”…….

Fixing it is easy and quick.  First:

nano /usr/share/wireshark/init.lua.32

Look for the following line
disable_lua = false

Change the values to
disable_lua = true

Save and exit the file

Then restart wireshark from the terminal, and the error is gone



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Running GParted on a Raspberry Pi with Kali Linux

Expanding Your Root Partition with GPARTED

Installing Kali linux onto a MicroSD card can be quick and easy.  The one main drawback is the default image size of Kali for the Raspberry Pi is only 7GB, which fills up quickly.  This guide will walk you through taking your default install, and expanding it to the maximum size available with your hardware.

To expand it:

apt-get update && apt-get upgrade -y

apt-get install gparted -y

gparted

Select the line with the “/” Mount Point

Click Partition at the top

Click Resize

In the Bar graph at the top of the dialog box you will see Yellow/White/Grey which represents used space, free space, and unallocated space.

Between the yellow and grey you can Select the area and Drag the line over to the right to the maximum size

Select Resize

Click the Edit tab at the top

To commit the changes, click Apply All Operations

Your Drive will grow to the maximum size and you are done!



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

LOKI Wallet – Windows Installation

How-To guide for installing the LOKI Desktop Wallet

This is a guide to installing the Windows version of the Loki Desktop Wallet.  Save your Wallet Seed and Password in a secure place.  Do NOT keep them on the same computer as your wallet.

Download the Loki-Gui-Win64 wallet from

https://github.com/loki-project/

Unzip/Extract the zipped folder loki-gui-win64 to your Desktop

Navigate to the Desktop of your computer

Open the new loki-gui-win64 folder

Double click on the start-low-graphics-mode.bat file

Loki will start

Select your Language

Click Create a New Wallet

Copy down your wallet seedDO NOT LOSE THIS

Click the next Arrow

Create a strong PasswordDO NOT LOSE THIS

Click the next Arrow

Click the next Arrow again

Click Use LOKI

Your wallet is now installed

To find out your wallet address, click Receive.  Once you have that, you can use that in your miners to receive payments

 

 

Installing Teamviewer on Ubuntu Server

How-To guide for installing and running Teamviewer on your Ubuntu Mining Rig

This is the quick and dirty to get it up and running.  I find that running Teamviewer on my Ubuntu Mining Rigs helps me manage them on the fly.  For this guide you will replace the home directory named tacticalware with the name of your home directory.  The rest of the commands will work as they are listed.

From a command prompt run the following commands:

sudo bash

mkdir /home/tacticalware/teamviewer

cd /home/tacticalware/teamviewer

wget https://download.teamviewer.com/download/linux/teamviewer-host_amd64.deb

dpkg -i teamviewer-host_amd64.deb

The installation will fail

Now run:

apt-get -f install

y

After it installs then run

teamviewer setup

Enter your username

Enter your password

Log into your email, and find the Teamviewer email

Allow/Add the device

And now you can log into your server using Teamviewer

 

Installing XMR-STAK on Ubuntu with NVidia 1080TI

How-To guide for installing XMR-STAK on Ubuntu 16.04.04 for Mining LOKI

I prefer linux (more specifically Ubuntu) for mining, and have preferred linux since I began mining in 2012/2013.  I was finally fed up with Windows 10 mining of Loki after the most recent set of Windows updates broke several of my rigs.  So I used a small ubuntu rig that I used for testing, and was able to install the XMR-STAK app onto it.  As happy as ever to be able to mine Loki now with Ubuntu, I thought I should put together this quick guide and hope that it may be beneficial to others.  Some of the steps are from github, some are from other sites, some I had found myself.  This is a central place to get you up and running without having to look too far.

For this guide I am assuming you already have a mining rig built with the following:

Ubuntu 16.04.04

NVidia 1080TI Cards

Loki Wallet already downloaded, installed, and the wallet address ready

I am going to run the commands logged in as sudo to make this quick and easy

Now, onto the guide:

sudo bash

apt-get install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev screen

mkdir /miner && mkdir /miner/drivers

git clone https://github.com/fireice-uk/xmr-stak.git

mkdir xmr-stak/build

cd xmr-stak/build

cmake ..

make install

cd /miner/drivers/xmr-stak/build/bin/

./xmr-stak

You will need to insert a port for monitoring the progress.  I use port 30131 and press Enter

Next type in cryptonight_heavy and press Enter

For the pool address, I use loki.ingest.cryptoknight.cc:7733  press Enter

Your username will be your wallet address, for example

LChtjHqr29p5FojLdMtcUW5ApLWyQHH5j4366V78YECEjUkgK99Y7uLDVLpHjXpYM3UcZ39FFL5Gvd4debF95mcJHbnx5ke

The password will be your worker name.  For example mine is Miner23

Your Rig Identifier can be empty, so just press Enter

Input N for TLS and press Enter

Insert N for Nicehash and press Enter

Input N for multiple pools and press Enter

Select Yes when prompted

Mining will begin!

Once you see it mining properly, hit CTRL + C to cancel the mining.  You will want to run it in screen, so you can disconnect from the terminal and the miner will continue to run. To do that run:

screen ./xmr-stak

It will run and you can now disconnect from your putty session or whatever way you are logged in.  If you want to reconnect to your terminal at any time, run the following and you can see your miner running

screen -r

That’s it!  Thanks for reading!

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk

Mining with the Z270X Ultra-Gaming Motherboard

How-To Enable all 6 GPUs with the Z270X Ultra-Gaming Motherboard

I use a fair amount of the Gigabyte Z270X motherboards in my rigs, and have run into an issue where only 5 of the 6 GPUs will be seen by Microsoft Windows 10.  To get the 6th one to display there are a few steps, that I can list below.  The good news is your system will see the GPUs…Windows just doesnt know how to allow the OS to access them all.

First thing….install the latest BIOS for the motherboard.  You can get this from the Gigabyte manufacturer site.

Next, configure the bios by performing the following:

Reboot

Press DEL

Enter Setup

On the M.I.T Tab, navigate to Miscellaneous Settings and select it.

Then select Max Link Speed

Scroll down to Gen 2 and select that option

Next you want to Navigate to the BIOS tab

Scroll down to Windows 8/10 Features and select that option

Make sure Windows 8/10 is selected, not Other OS

Scroll down to CSM Support and select that option

Set it to Disabled

You can now Save and Exit your Bios, reboot your rig, and all of your video cards will be functional.  If you find that you cannot boot your Windows installation, it may be that you need to install the OS using UEFI support.  If that is the case and you do not want rebuild at this time, simply undo the changes above and you are back to where you began.

Hardware I used in this build:
Motherboard (QTY 1):
https://amzn.to/2JqGJZ7

CPU (QTY 1):
https://amzn.to/3qevp2X

Memory (QTY 1):
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):
https://amzn.to/3lic3X5

Risers (QTY 6):
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

GPUs (QTY 6):
https://amzn.to/2JqvXC8

Power Switch (QTY 1):
https://amzn.to/3ljmNVk