Skip to content

Install Alfa AWUS036ACH Drivers on ParrotOS

Simple Command To Install Alfa Drivers

Open a terminal and escalate your privelages

sudo bash

ifconfig

Note your wireless adapters…if any are installed

apt-get install realtek-rtl88xxau-dkms

Drivers will install, this may take a few minutes.

Once it is done type the following

ifconfig

You will now see your ALFA wireless card

 

 

Deleting Linux Partitions on USB Drive From Windows 10

How to Delete Linux Partitions on USB Drive using DISKPART on Windows 10

On your Windows 10 computer, insert the linux USB drive

Press the Windows + R button on your keyboard

In the newly launched RUN box, type:

diskpart

And press Enter

From the DISKPART box, type in the following commands

list disk

Now find your USB Drive.  My USB Drive is Disk 1, so I will use that for the rest of the guide.

select disk 1

list partition

select partition 1

delete partition 1 override

select partition 2

delete partition 2 override

Do those steps until you have deleted all of the partitions.  Close the dialog box.  Remove the Drive, and you are ready to go with a new, fresh, unformatted drive.

 

Windows 10 Encrypted Folder

How To Encrypt A Folder on Windows 10

Open Windows Explorer

Right-click the file or folder that you want to encrypt

Select Properties

Click the Advanced button at the bottom

Place a check mark in the box next to Encrypt Contents To Secure Data

Click OK

You are done.  Folder is encrypted.  Make sure you backup your keys to a safe place.

Remove Groove Music from Windows 10

Removing This Troublesome App Via Powershell

In the Type Here To Search box

Type in Windows Powershell and it will show up

Right Click on Windows Powershell and Select Run as Administrator

Past in the following command

remove-AppxPackage (Get-AppxPackage –AllUsers|Where{$_.PackageFullName -match "ZuneMusic"}).PackageFullName

Hit Enter

And that is it!  Program Removed!

CLINFO Number of Platforms 0 Error

Running CLINFO Returns The Error “Number of Platforms – 0” Even With AMD Drivers Installed

This happens in Ubuntu Server 18.04 and most likely other versions.  To fix it run the following:

sudo apt install mesa-opencl-icd

Configuring an IP Address in CENTOS

CENTOS – Configure IP Address on ifcfg-eth0

Log into the machine as root

Type:
nano /etc/sysconfig/network-scripts/ifcfg-eth0

change
BOOTPROTO=”dhcp”

to
BOOTPROTO=”static”

add
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

leave the HWADDR line alone and on the next line down add

DNS1=192.168.1.1
DNS2=”4.2.2.2″

Change:
ONBOOT=”no”

to
ONBOOT=”yes”

and change
NM_CONTROLLED=”yes”

to
NM_CONTROLLED=”no”

file should now look like this:
DEVICE=”p1p1″
BOOTPROTO=”static”
IPADDR=”192.168.1.200″
NETMASK=”255.255.255.0″
GATEWAY=”192.168.1.1″
HWADDR=”00:12:34:56:78:90″
DNS1=”192.168.1.1″
DNS2=”4.2.2.2″
NM_CONTROLLED=”no”
ONBOOT=”yes”
TYPE=”Ethernet”
uuid=”UIHASD-ASDFASD-ASDFASDF-ADSF”
 Leave these values alone

save file
CTRL + O

and exit
CTRL + X

reboot your machine and you are all set

Raspberry Pi Backup using MAC

RASPBERRY PI – Backup Your Raspberry Pi SD Card Using a MAC

 

This is a quick how to on backing up your Raspberry Pi SD Card

Shutdown the Raspberry Pi and remove the SD Card

Plug the SD Card into your MAC

Go to Spotlight (the little magnifying glass on the top right of your MAC), type Terminal, and press Enter

Now the rest of the commands are done in the Terminal

Type:
sudo bash and press enter

Type in your password to get the # prompt

Type:
mkdir /raspberry-pi and press enter
mkdir /raspberry-pi/backups and press enter
cd /raspberry-pi/backups and press enter

Type
df -h and look for your SD Card. My card is listed as /dev/disk1s1. Once you know which card is your SD Card type

diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as)

dd if=/dev/rdisk1 of=/raspberry-pi/backups/wheezy-todaysdate-backup.img bs=1m and press enter

your SD Card will now be backed up

Once the backup is complete type:
diskutil eject /dev/rdisk1

And that is it.



Thanks for reading

Hardware that I used:
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

Restoring a Raspberry Pi Backup

This is a quick how to on restoring a backed up image to your SD Card Plug the SD Card into your MAC Go to Spotlight (the little magnifying glass on the top right of your MAC), type Terminal, and press Enter Now the rest of the commands are done in the Terminal Type: sudo bash and press enter Type in your password to get the # prompt Type: cd /raspberry-pi/backups and press enter Type df -h and look for your SD Card. My card is listed as /dev/disk1s1. Once you know which card is your SD Card type diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as) dd bs=1m if=/raspberry-pi/backups/wheezy-todaysdate-backup.img of=/dev/rdisk1 and press enter your SD Card will now be restore the backup Once the backup is complete type: diskutil eject /dev/rdisk1 And that is it. 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

BlockErupter Setup On A Raspberry Pi

Setup a USB Block Erupter on the Raspberry Pi with MinePeon

Insert your MinePeon SD Card

Connect the Rashberry Pi to a Powered USB Hub

Connect the Block Erupters into the Powered USB Hub

Boot the Raspberry Pi

Log into the Pi as user: minepeon with the password: peon

Type ifconfig and note the ip address for the device

On a separate computer open up your internet browser and point it to the ip of the raspberry pi. (ex: http://192.168.1.101)

Log into the Pi as user: minepeon with the password: peon

Click on the Pools tab at the top of the page

Delete all the info inside the boxes and replace it with your own info

Ex: stratum.d7.lt:3333 username: InstantSupp.777 password: 12345

Click Submit

The Block Erupter will now start mining

After a few minutes check the Graph page to make sure it is producing the info and your erupter is mining properly



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

Automatically Mount USB Drive on Raspberry Pi

RASPBERRY PI – Automatically Mount USB Drive

 

This guide explains how to get your External USB Drive to be recognized and automatically mounted using Raspberry Pi

Open a command prompt

Type
sudo bash and press enter

apt-get install usbmount and press enter

The software will now install

After it installs type
df -h and press enter

Make a note of the listed drives

Plug in your USB drive

Type
df -h and press enter

You will now see your USB Drive



Thanks for reading

Hardware that I used:
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