The command to upgrade Python’s “Pip Install Packages” or package management system is simply It’s nice and simple and it should be easy to memorise.
There are 2 main ways to install NodeJS on a Raspberry Pi. A short way and a longish way. The short way The short way uses a script from NodeSource that does the heavy lifting. The installation instructions can be found here but essentially you run 2 lines of code. To confirm that node is… Read More »
To enable ssh on a Raspberry Pi if you do not have access to a keyboard and monitor, just run the command: touch /Volumes/boot/ssh The catch is that you need to have access to the micro SD card and have it connected to your computer. Then open up terminal and type the command above. touch… Read More »
Run this command: > grep Revision /proc/cpuinfo and you should see some code print out like: Revision : a22082 Go to the site: https://elinux.org/RPi_HardwareHistory and search for the revision number. Done!
This will be my last post on how to get wifi working on a raspberry pi because I’m going to buy the pi 3 from now on with inbuilt wifi. With a cheap as wifi dongle and changes in the OS from Wheezy to Jessie, getting wifi to work is a nightmare. I keep getting… Read More »
This post here got me started on the right track. Here, I specifically focus on the Arduino Due. Step 1: First connect your computer to the Arduino Due to the programming USB slot. The one closest to the power supply barrel. Connect the native USB to the raspberry pi. Step 2: Double check that the… Read More »
Here is the easiest and quickest way to get up and running with an Arduino Due on a Mac. Step 1: Plug the micro usb to the usb port closest to the DC power supply. This is called the programming port. (ref: https://www.arduino.cc/en/Main/arduinoBoardDue) Plug the other end into your Mac. Step 2: Download the Arduino software… Read More »
There are basically 2 ways to set up VPN on a Raspberry Pi. There is an easy way and a hard way. Use the PiVPN installer (https://www.sitepoint.com/setting-up-a-home-vpn-using-your-raspberry-pi/) Download and install OpenVPN manually (http://readwrite.com/2014/04/10/raspberry-pi-vpn-tutorial-server-secure-web-browsing/) The PiVPN installer is very neat and very cool and saves a lot of time. The disadvantage is that you are running… Read More »
I had always used Win32 Disk Imager to create my Raspberry Pi images because I was a windows person prior to my conversion to Mac. To be honest, Win32 Disk Imager was really simple v trying to understand command line such as: sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskn I finally took the leap and gave it… Read More »
The secure copy command is: scp where_the_file_is where_the_file_should_be Or more correctly: scp source destination The trick with a raspberry pi, or any remote location in fact is to include the username@host/ip with a colon as the first part of the source address. eg scp email@example.com:/home/pi/text.txt ~/