Browse Category: Raspberry Pi

How to Whitelist Xbox Live on Pi-Hole

About: I have been using Pi-Hole on my home network for the past 3 months and it has been working great. It blocks ad’s network wide at home. For example, I can play games on my Ipad and won’t see any ads on the bottom of the screen. If I am watching YouTube, I see no ads before a video plays. It’s great and I don’t think I can ever go back. Check out my tutorial on How to Install Pi-Hole here.

Recently, Pi-Hole has been working great on my Xbox One, until one day it started to take forever to log into Xbox Live and sometimes it never did. Eventually, my Xbox One was unable to connect to Xbox Live at all. The only app that worked was Netflix, not even YouTube would start. I did some trouble shooting and found Pi-Hole has updated one of it’s ad lists which includes Xbox Live services. I did some research and got some help from Reddit user /u/Palmer11 who compiled a whitelist of addresses to add to Pi-Hole. If you are having trouble connecting to Xbox Live while running Pi-Hole this should hopefully work for you, and clear this issue up.

Objective: To whitelist blocked Xbox Live service domains on Pi-Hole

Material: You will need the following:

  • Raspberry Pi (Click the link to check out the price on Amazon. Usually around $37 with free shipping)
  • Pi-Hole

Instructions: You will only need one command to do this. Simply SSH into your Pi-Hole server and type the following command

Continue Reading

How to recover a lost Raspberry Pi password

About: There may come a time when you lost your login password for the Raspberry Pi. I recently had this happen to a small server I have been running on my home network, which I forgot about and needed to login to pull some logs. I was unable to login because I forgot the password for my ‘pi’ username. Unfortunately, there is no way to recover the original password that you have been using for the Raspberry Pi login however you can reset the password easily.

Objective: To recover and reset a lost Raspberry Pi password.

Material: You will need the following:

  • Raspberry Pi (Click the link to check out the price on Amazon. Usually around $37 with free shipping)

Instructions: Resetting your Raspberry Pi password is simple. You will basically need to edit a text file that’s located on the /boot/ mount of your Raspberry Pi SD card. Continue Reading

How to turn your Raspberry Pi into a LAMP Web Server

About: Many projects you use your Raspberry Pi for may need your Raspberry Pi to be a web server. A popular package is LAMP which stands for Linux, Apache, MySQL and PHP. LAMP is not a package in itself but 3 packages in one. LAMP is the Linux equivalent. You may hear it called a WAMP server or MAMP server if you are using Windows or Mac as your operating system. Since the Raspberry Pi runs on Linux we will be installing a LAMP server.

The 3 packages we will be installing are:

  • Apache – Apache is a popular HTTP Web Server.
  • MySQL – Used as our SQL database system
  • PHP – Server Side scripting language that is applied to our websites

Objective: To turn the Raspberry Pi into a LAMP Web Server (Linux, Apache, MySQL, PHP)

Material: You will need the following:

  • Raspberry Pi (Click the link to check out the price on Amazon. Usually around $37 with free shipping)

Instructions: Installing LAMP is easy. Simply type the following commands Continue Reading

How to change your Raspberry Pi Hostname

About: There may come a time where you will want to change your hostname on the Raspberry Pi. For example the default hostname when using Raspbian is ‘raspberrypi’. This is fine, however if you have 2 Raspberry Pi’s running on your network you will want to change the hostname to differentiate the Raspberry Pi’s on your network. This isn’t critical since they still will have different IP addresses but it will help you if you look at your network list on your router or when running certain commands that include the hostname.

I will show you two different ways to change your Raspberry Pi’s hostname. The first way is using SSH/Terminal which would be useful if you are running your Raspberry Pi headless and can connect to it using SSH. The second way is using the Raspbian desktop and is just a few clicks.

Objective: To demonstrate how to change the hostname on your Raspberry Pi

Material: You will need the following:

  • Raspberry Pi (Click the link to check out the price on Amazon. Usually around $37 with free shipping)

Instructions: Let’s start off by showing you how to change the hostname using the terminal or using SSH Continue Reading

Best 5 WiFi adapters for the Raspberry Pi 2016

Here is my list of Top 5 WiFi adapters that can be used on the Raspberry Pi and Linux without any issues. I have personally tested all of these wireless adapters and decided to rate them on my experiences. Since I enjoy using tools like aircrack-ng for hacking WiFi access points, all of the WiFi adapters I have listed are able to be used in interface and ad-hoc modes, which lets you run them in monitor mode as well as being able to use the adapter as an access point. Lets cut to the chase.

5. Realtek 8191 WiFi Adapter

I got this WiFi adapter for my parents who needed a wireless connection for their desktop computer in a spare bedroom they use as their computer room. It’s been working with no major issues or speed concerns however my parents have complained that it will freeze up and they have to plug the USB adapter out and in again to get it to work. This doesn’t happen often but often enough that I replaced it with a better adapter.

If you need something cheap and for basic connectivity this may be the WiFi adapter for you. It usually sells for around $10 and that’s including shipping which you can’t beat for the price.

4. Etekcity Wireless N WiFi Dongle

The Etekcity WiFi adapter is pretty decent for its price. It’s a true 802.11 N WiFi adapter because it works on both the 2.4GHz and 5GHz WiFi signals. I found that the range is decent enough to pick up your neighbors signal about half a block away. It comes with 2 6dBi antennas to work on both wavelengths.

It will work with 802.11 b/g/n and has a transmission rate up to 300Mbps. The WiFi adapter is compatible with WEP 64/128, WPA/WPA2, & WPA-PSK/WPA2-PSK security.

The Etekcity WiFi adapter usually sells for under $20 and works well with the Raspberry Pi.


3. Alfa 1000mW High Power AWUS036H

The Alpha AWUS036H WiFi adapter is one of the most popular choices for pen-testing and connecting to your WIFi at home. It has great range and can pick up signals up to a block away without much loss. It also includes settings for increasing the power of the WiFi signal to connect to networks further away.

When you purchase from Amazon there are a few choices that you can buy. Some of them come with a holder and flex cable which are not necessary. I bought the model that comes with the 5dBi and 7dBi antennas. The 7dBi antenna is a directional antenna meaning it can get better signals depending on which way it’s facing. The reviews for the 9dBi antenna are not the best, so I personally wouldn’t recommend it. The only other downfall with the Alfa AWUS036H is it is not compatible is 802.11 N signals, which may be an issue if a network is setup for only 802.11N

If you are looking for a WiFi adapter that works perfectly on the Raspberry Pi and has great reviews then you can’t go wrong with the Alfa AWUS036H WiFi adapter


2. Panda Wireless PAU06 300Mbps N USB Adapter

The Panda PAU06 is one of the first WiFi adapters I have used with the Raspberry Pi. It works with no issue and doesn’t require any software to be installed on the Raspberry Pi. The WiFi adapter has been very reliable and I use it a lot.

The Panda PAU06 WiFi adapter comes with an external antenna which works well. The range on this adapter is a little short of the Alfa AWUS036H. It may not pick up as many networks as the Alfa, but the networks it does pick up are very reliable and you do not get many dropped signals when you are connected to a network further away.

The only issue I have with this WiFi adapter is when you plug it into your USB port while the Raspberry Pi is running it will draw too much current and restart your Raspberry Pi. After it has been plugged in it will not reset your Raspberry Pi and works perfectly.


1. TP-LINK TL-WN722N  N150 High Gain USB Adapter

This is my best pick for the WiFi adapter of the year for the Raspberry Pi. It works great, sets up in seconds and is plug and play. It uses the Atheros AR9271 chipset which is very reliable and has a lot of support for linux. It has great reception and can seek out signals far away. It is very stable once it is connects to a network and  has virtually no signal loss.

It works with 802.11 b/g/n wireless networks, which is the standard now. The price is usually under $12 which can’t be beat. The only downfall with the TP-Link TL-WN722N wireless adapter is that it can only transmit up to 150Mbps. This shouldn’t be a problem for many users and you most likely will not even notice the slower speeds unless you are transferring files onto your network.

For under $12 and great connectivity and options the TP-Link TL-WN722N wireless adapter is my pick for best WiFi adapter for the Raspberry Pi in 2016.




How to install aircrack-ng suite on the Raspberry Pi

About: In some cases you may need to install the aircrack-ng suite on a Raspberry Pi that’s dedicated to hacking like the official Raspbian distro. That’s not a problem. Installing aircrack-ng on the Raspberry Pi is very easy and I’ll show you how to get it up and running in just a few steps. This tutorial is also useful if you need to update your aircrack-ng suite when using Kali or PwnPi that comes with an older version.

Objective: To demonstrate how to install aircrack-ng suite on the Raspbian distro for the Raspberry Pi

Material: You will need the following:

Instructions: Let’s begin by installing the libraries that are needed to get aircrack-ng to work on the Raspberry Pi. Type in the following command: Continue Reading