Browse Tag: how to

How to disable WPS on the Netgear WNDR4500 Router

About: WPS stands for Wi-Fi Protected Setup and it is a wireless networking standard that tries to make connections between a router and wireless devices faster and easier. It works only for wireless networks that have WPA/WPA2 security. That’s great, however there is a problem with WPS, it can easily be cracked and allow a hacker access to your home WiFi network.

WPA2 security is very secure and there really is no way of hacking WPA2 without using a dictonary attack which can take months depending on the hardware you are using to bruteforce. It can also be a waste of time if your password is very long and includes many special characters, however if you have WPS enabled on your router (which it usually is by default) there is a faster way to hack your WiFi and it can be usually done in a maximum of 12 hours.

Objective: To disable WPS on our Netgear WNDR4500 router to improve WiFi security.

Material: You will need the following:

Instructions: You will need to begin by opening your browser and typing in the IP address for your router. The default is usually http://192.168.1.1 on Netgear routers. Type in the username and password. The default username is ‘admin’ and the default password is ‘password’.

Login screen for the Netgear WNDR4500 Router

Continue Reading

How to schedule Cron Jobs on the Raspberry Pi

About: I have recently been working on a MMORPG turn based text game and needed a way to run a php script every 2 hours to generate a turn. Since I use the Raspberry Pi as a LAMP server for testing out my game before releasing official updates I figured it would work well as a cron job to call a website page every 2 hours.

You can schedule many types of cron jobs using your Raspberry Pi. Cron is basically the Linux version of the Windows Task Scheduler. You can schedule commands to run at certain times of the day or only run once a month. The shortest time a cron job can run is 1 minute in between commands. If you need a command to repeat every 30 seconds then a cron job will not work.

Objective: To create and schedule a cron job using the terminal on the Raspberry Pi

Material: You will need the following:

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

Instructions: Open up a terminal window and type the following command to create a cron job

Continue Reading

How to connect your Raspberry Pi 3 to a WiFi network using the terminal

About: I recently purchased a Raspberry Pi 3 and was excited to learn that it comes with Bluetooth and WiFi built-in. Since I will be using this Raspberry Pi as a server I will be running it headless so it will not have a monitor. I will connect to the Raspberry Pi over SSH. The Raspberry Pi I will be using is running Raspbian Lite but will also work on the GUI version of Raspbian.

Objective: To connect your headless Raspberry Pi 3 to your WiFi network.

Material: You will need the following:

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

Instructions: Go ahead and connect to the Raspberry Pi over SSH and login to the Raspberry Pi. The default username and password is ‘pi’ and ‘raspberry’.  Continue Reading

How to make a custom PCB to make your Arduino Projects permanent

About: There may come a time when you create an awesome Arduino project and want to make it permanent. Sure you can leave it on your breadboard but you will have to be careful not to touch any of the wires or drop your board or unplug any of the connections. I will show you how quickly you can design and make your own custom printed circuit boards (PCB’s). The process is easy and any one can do it. Making your own printed circuit board will make your project permanent and more durable. This does not only pertain to Arduino projects. Any project you design on your breadboard can be transformed onto a PCB. I will be showing you how to make a single sided PCB in my demonstration but you can easily make a double sides board if you line up everything correctly.

Objective: To make a custom printed circuit board at home and making our Arduino projects permanent and durable

Material:

Instructions: You’ll first need to design or download a schematic and design it to fit your PCB board. I use Fritzing. It’s a little outdated and I am not even sure if it is being worked on anymore but it is super easy to use and is designed to be used by hobbyists and Arduino’s. Below is what my PCB design will look like.

Continue Reading

How to set a Static IP Address on the Raspberry Pi running Raspbian Jessie+

About: With the release of Raspbian Jessie made all older methods of setting a static IP Address on the Raspberry Pi obsolete. You no longer need to edit /etc/network/interfaces . You will now need to edit /etc/dhcpcd.conf to set your static IP address on the Raspberry Pi. Setting a static IP address is easy and useful if you are running something that requires the IP address to remain the same after a reboot. This is useful is you are using your Raspberry Pi as a web server or a DNS server.

Objective: To set a Static IP Address on our Raspberry Pi running Raspbian Jessie or newer

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 going into your terminal on your Pi. Continue Reading

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