Browse Tag: how to

How to install a Dash Cam in a Subaru Outback

Watching all the Russian car crash videos and attempted scams got me thinking, I really want a dash cam installed in my car. I travel a lot on the roads and see many different accidents, funny people, and crazy things happening on the streets and wanted to record them for personal pleasure. A dash cam will also help out in case of an accident and help prove my innocence to the insurance company. It’s a small investment, usually around $50, and you’ll have first-hand proof in case of an accident.

Installing your dash cam is fairly easy and the power cable can be easily hidden in the headliner and can be routed down the A-Pillar. The car I am installing the Dash cam in is a 2017 Subaru Outback which also has Subaru’s Eyesight system which is a set of cameras that monitors the road in front of you and can brake the car and avoid obstacles.

The location I picked for the Dash Cam is to the side of the Eyesight cameras and is not interfering with the cameras. I was afraid at first that it would somehow have an affect on the Eyesight cameras but it did not. If you do not have the Eyesight system then you can mount your Dash Cam behind the rear-view mirrors so that it is out of the way.

Objective

To install a dash cam in a Subaru Outback which can be followed to install a dash cam in any automobile

Material

Instructions

Let’s get started by finding a place to attach your Dash Cam to the windshield. You will want to find a location that is in the middle of the windshield but also out of the way as to not obstruct your view. A good starting location is behind the rear-view mirror. If you windshield has vinyl dots around the rear-view mirror then do not attach the Dash Cam to them. The suction cup on your Dash Cam will not adhere to the windshield completly and may fall during driving. I located an area to the right of my rear-view mirror that is also not obstructing the Eyesight cameras.

Continue Reading

How to turn your Raspberry Pi into a Home VPN Server using PiVPN

With all the news about privacy concerns and security threats on the internet recently more people are starting to use a VPN on their home networks and phones. A VPN or a Virtual Private Network allows you to send and receive data across shared or public networks as if their devices were directly connected to the private network. For example if you are connected to the public WiFi network at the mall, everyone can see your data, if you use a VPN all your data is encrypted through a private tunnel and it looks like you are connected directly to your home network. VPN’s are very popular in the business world and most likely you may be using one for work and not even know why. The main reason is security and access of your local files.

You can use your Raspberry Pi as a VPN server for free or you can use a VPN service which will limit the amount of data you can use monthly as well a paying a monthly fee. With your Raspberry Pi VPN server you will be able to connect to public WiFi networks and have all your data encrypted which will prevent you from man-in-the-middle attacks as well as any one else snooping WiFi data on the network. When you are connected to your own VPN server you will be able to access all of your home files. If you have movies or music you will be able to access them with ease.

Objective

To improve our network security by turning our Raspberry Pi into a Home VPN Server using PiVPN

Material

You will need the following:

Instructions

Installation of PiVPN (The software we will be using as our VPN server) is a breeze. You simply have to run just one command to install PiVPN. I will assume you already have the Raspbian OS up and running. You only need the lite version if you will be running headless, that’s how I am installing it since I will have PiVPN running along side PiHole, my network wide ad blocker.

Continue Reading

Fix Xbox Live Achievements not popping up when using Pi-Hole

About: I’ve been using Pi-Hole on my Raspberry Pi for the past year to block ad’s on my whole network. It works great however some of the ad blocking lists end up blocking the Xbox Live servers which cause weird issues like being unable to update your Xbox or unable to access Netflix or Youtube or just simply not allowing you to connect to the Xbox Live servers. I have compiled a list of domains that should be white-listed to avoid these issues, check out the white-list here.

The issue I was having was my achievements would take up to a week to show completed and show up on my Xbox. I usually don’t play many games that unlock achievements but I was suspicious when the achievements would unlock at random times, often when I am not even playing the game. I did some investigating and seeing what domains were being blocked on my Pi-Hole while the Xbox was sitting idle and found a few Microsoft domains that were being blocked. I compiled the short list below.

Objective: To fix Xbox Live achievements not showing up when using Pi-Hole due to blocking of Microsoft servers.

Material: You will need the following:

  • Xbox One (Click the link to check out the price on Amazon. Usually under $250 with free shipping and some bundles let you choose your own game)

Continue Reading

3 steps to take to improve the security of your Raspberry Pi server

About: The latest version of Raspbian disables SSH by default to improve security of the Raspberry Pi. This is a great step of improving internet and network security and I congratulate the Raspberry Pi team for moving forward with this step and making it super easy to enable SSH by simply adding a file called “ssh” into the /boot/ directory.

Enabling SSH allows you to use your Raspberry Pi headless, meaning you can use it without a keyboard and monitor by connecting to it from another computer. The problem with enabling SSH on your Raspberry Pi server is that if you expose your server to the internet you will notice many hackers will attempt to connect to your server and try to access it using brute-force attacks.

I will shows you 3 things you can do to improve the security of your Raspberry Pi server today if you have SSH enabled. These steps will improve your Raspberry Pi’s security as well as your personal network. We will learn how to change the default SSH port number, install Fail2Ban to ban IP addresses if they attempt to brute-force our user passwords and finally I will show you how to create SSH keys so that only the computer you create a key for will be able to access your Raspberry Pi server.

Objective: To improve security on the Raspberry Pi by changing the SSH Port Number, Installig Fail2Ban and generating SSH keys

Material: You will need the following:

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

Continue Reading

How to setup SSH Keys on the Raspberry Pi

About: SSH Keys are a secure way of connecting to a server without needing a password. The way it works is a private and public set of keys are generated and the private key is held on our main computer and the public key is put on the server, in this case it would be our Raspberry Pi. The keys generated are a minimum of 512-bits with 1024-bits being the default. The recommended bits to use for a server are 2048-bits but you can go up to 4096-bits.

SSH Keys allow you to login to your server without a password and the client and server will use these keys to authenticate the client allowing it access. This is safer because it prevents brute-force attacks. You can however add a passphrase to your key, meaning that you would need to have a private key as well as a passphrase to connect to the server. Adding a passphrase would really lock-down our server and make it virtually impossible to connect into without the SSH key and passphrase.

Objective: To generate and setup SSH Keys between a client and Raspberry Pi server

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: First we will start off by generating the SSH key on our main computer that we will be using to connect to our Raspberry Pi. I will assume you are using a Linux based computer. Look up how to generate SSH keys on Windows or MAC if that’s what you are using. I am using Linux Mint so this tutorial will show you how to generate SSH keys using Linux. Start off by opening the terminal on your computer.

Continue Reading

How to install Fail2Ban on the Raspberry Pi

About: Fail2Ban is a daemon that scans defined log files and bans IP Addresses that show the malicious signs. It protects your Raspberry Pi from too many password failures or hackers seeking for exploits. It is a must have tool to protect your from intruders to your server or network especially if you allow outside SSH traffic or any traffics from an outside network to your Raspberry Pi. Fail2Ban supports a lot of services (sshd, apache, qmail, proftpd, sasl, asterisk, etc) and can be integrated with your IPTables.

Fail2Ban is very easy to install and setup and will drastically improve security on your Raspberry Pi. Fail2Ban works by monitoring your logs for failures and depending on the settings you setup it will ban or timeout an IP Address for a certain amount of time if it fails to login to your server. It is a great tool and a must have tool to protect your from brute-force attacks.

Objective: To install and setup Fail2Ban to increase security on the 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 opening the terminal on your Raspberry Pi or by connecting to it over SSH

Continue Reading