Wednesday, May 17, 2017

Scan Raspberry Pi IP address from network neighbor computer, by MAC

Raspberry Pi Foundation has their own range of MAC addresses B8-27-EB-00-00-00 to B8-27-EB-FF-FF-FF. You can check it at

Such that we can scan neighbor with MAC address start with B8-27-EB, using arp command.

arp (stands for Address Resolution Protocol) is used to find the address of a network neighbor for a given IPv4 address.

From Linux Terminal:
$ arp -a | grep b8:27:eb

orFfom Windows DOS prompt (Now you can run most Linux command on Bash on Windows directly)
> arp -a | grep b8-27-eb

In the result, is the IP address of my Raspberry Pi.

Monday, May 15, 2017

Install virtual keyboard on Raspberry Pi/Raspbian Jessie with PIXEL

To install virtual keyboard, matchbox-keyboard, on Raspberry Pi/Raspbian Jessie with PIXEL:

Always update apt-get:
$ sudo apt-get update

Install matchbox-keyboard:
$ sudo apt-get install matchbox-keyboard

Then, you can open the matchbox-keyboard by enter:
$ matchbox-keyboard

This video show how to install matchbox-keyboard on Raspberry Pi 3/Raspbian Jessie with PIXEL (2017-04-10).

Raspberry Pi GPS using Python 2.7 or 3.4: For Raspbian Jessie Linux using GPSD gps3

Raspberry Pi GPS using Python 2.7 or 3.4: For Raspbian Jessie Linux using GPSD gps3

Congratulations on selecting the Raspberry Pi! These programs have been developed on the Raspberry Pi 3. They have been tested on the Raspberry Pi Zero W. You are going to have a lot of fun developing programs and inventing new uses. This book will give you the tools to get your PI's GPS up and running. The compete printed Python source code is included. The electronic or digitized code is available for an additional fee and for a limited time. The book takes you in steps through the connection process to the completion of your program. Included are the steps to operate your Pi remotely, or from a hard wire ether-net connection (direct connection) to your Laptop. The process for computing distance using the Haversine Formula is included along with simple examples to provide an understanding of the concept. When you have finished this project I believe you will have greatly increased your knowledge of the Global Positioning System, computer interconnections, and Python. The programs use Python standard modules that are available without cost. Where modules or programs need to be installed information is provided to assist you. The book provides good information and options for your choices on running the programs. For example you can choose to run from a Windows PC or a Ubuntu-Linux PC or from the Pi's console. Also you can run the programs from a wireless remote connection or through a router or over a direct ether-net connection. This book is an updated version of “Raspberry Pi GPS using Python For Windows and Debian-Linux”. There have been numerous changes since the original book was published. Python3 is now supported for the Python module gps3. The inclusion of VNC with the Raspbian OS greatly simplifies remote viewing (running headless). For those of you into Geocaching you will be able to load your desired locations prior to your search. While traveling to them you can easily compute the distance remaining.