Browse Tag: raspberry pi

How to Perform a Quiet Boot on the Raspberry Pi

If you plan on using your Raspberry Pi as a Retro gaming station or are using it in a setting where you want to remove the boot text from being displayed on the Raspberry Pi then you need to make your Raspberry Pi perform a quiet boot. A quiet boot will remove the rows of text that are displayed during a boot (also called verbose boot) and can be replaced with a logo. This can come in handy if you are making your own arcade machine or a commercial product with the Raspberry Pi.

Objective

To perform a quiet boot on the Raspberry Pi and remove the boot text

Material

You will need the following:

Instructions

Performing a quiet boot on your Raspberry Pi is very easy and it will only take us a view steps. I wrote these instructions on the official Raspbian Jessie distro but if you are running any other Raspberry Pi distro it should work the same way. Continue Reading

How to Setup a Raspberry Pi SFTP Server

SFTP stands for SSH File Transfer Protocol and is a secure way of remotely transferring files between 2 computers. It is a more preferred way of transferring files over the standard FTP protocol because it uses a secure connection meaning all your data is encrypted. FTP is an insecure way of transferring files and can easily be monitored over your network to intercept and see what files are being transferred, like secure bank information.

SFTP runs on port 22, the same standard port as a regular SSH connection, and FTP runs on port 21. It is advised that you change your SSH Port to improve security on your network. You can also port forward port 22 on your router to allow access to your Raspberry Pi server over SFTP from anywhere outside your network, but make sure you change your SSH port if you will be doing this to reduce the amount of attempted hacks on your Raspberry Pi SFTP server.

Today I will be showing you how to setup a Raspberry Pi SFTP server so that you can easily access files on your Raspberry Pi. This can be very useful if you are using your Raspberry Pi as a Network Attached Storage device or simply as a web server. Transferring files over SFTP will allow you to quickly download or upload multiple files with no issues and make changes to your web server on the go.

Objective

To setup our Raspberry Pi as a SFTP Server

Material

You will need the following:

Instructions

Setting up your Raspberry Pi SFTP is very easy and all we need to do is basically enable the SSH server on our Raspberry Pi because our SFTP server will be transferring files over SSH. Open a new terminal window on Raspbian desktop and type the following command to open the Raspberry Pi config tool. 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

How to setup the 8Bitdo NES30 Gamepad Controller on RetroPie

About: With all the recent talk about the NES Classic console I really wanted to play some Super Mario again and relive those childhood moments of trying to save the princess. I have used RetroPie before to play old games on the Raspberry Pi and I highly recommend it. I would usually play with the keyboard but recently used my Raspberry Pi to install Kodi and RetroPie together and I wanted to use a wireless Bluetooth controller to get the full gaming experience. I picked up the 8BitDo NES30 wireless Bluetooth controller after reading many reviews about it. 8BitDo makes some high quality retro controllers which are easy to setup and you can use them to play games on your computer or phone over bluetooth.

I was having one minor issue setting up my 8BitDo NES30 controller, the D-Pad would not work and not be recognized by RetroPie. The controller setup screen kept reading my D-Pad inputs as a Keyboard and not a Game-pad. I saw many people having issues with this so I decided to write this tutorial about the workaround I discovered on how to get the 8BitDo NES30 controller working on RetroPie.

Objective: To setup the 8BitDo NES30 wireless Bluetooth controller on the RetroPie.

Material: You will need the following:

Instructions: I will assume you are starting with a fresh install of RetroPie. I am using RetroPie 4.0 in this tutorial. You will need a keyboard connected to your Raspberry Pi to setup the controller if you plan on manually configuring it. I included the configuration files below if you want to set it up faster and avoid manually setting up the controller. 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