How to build a portable "hacking machine" with your raspberry Pi 3
I got my raspberry pi last month and the major reason for me to buy it is just I wanna have a portable Linux machine with me so that I can run some cool programs anytime anywhere. An alternative for this objective could be either try to jailbreak my iPhone and install a virtual machine or rent a cheap cloud machine. However, considering the costs, capabilities and fun, I decided to go with the solution of installing the raspbian on my pi 3 with VNC enabled. With that, I can now turn on my mobile hotspot and VNC into my pi whenever I want. Pretty cool isn't it :P
Chapter I: Install the raspbian system into the pi 3
Tools needed: A raspberry pi (obviously), A raspberry pi charger (standard micro usb), A wired/wireless keyboard and mouse (if you are geeky enough you can skip the mouse), A micro SD card (buy a card reader if you do not have one), A monitor and a hdmi cord (again if you are geeky enough...)
Step 1: Download the system from the official website. Do not download the image from any untrusted websites. (https://www.raspberrypi.org/downloads/raspbian/) I choose this OS for my pi because it is optimized for pi and comes with a lot of handy tools like Python and Java.
Step 2: Write the unzipped image file into the micro SD card. For different systems there are different installation method. Again highly suggested to go to the official website for references. (https://www.raspberrypi.org/documentation/installation/installing-images/)
Step 3: Put the loaded micro SD card into the card slot below your pi with the correct direction. Also plug in your wire/wireless keyboard and mouse. Connect the pi with monitor as well. Picture blow shows what are the different parts:

Step 4: Plug in the charger and boot up the system. The installation process is highly automated. The only thing needs some note is the default credentials (all lower cases):
User Name: pi
Password: raspberry
In order to change the default password, run "sudo raspi-config" in terminal
Chapter II: Making the pi portal by enabling ssh and installing VNC
Since my ultimate goal is to have a "portable" hacking machine (which means I should not be using the mouse and keyboard all the time because those will make it unportable), SSH service as well as the VNC service are needed for the communication between Raspberry Pi and my personal device.
Step 1: Enabling the SSH service is very straight forward for Raspberry Pi especially if you have the official system installed. To enable the SSH, simply go to terminal and run "sudo raspi-config". Navigate through Advanced Options -> ssh -> enable SSH. Documentation Link: https://www.raspberrypi.org/documentation/remote-access/ssh/
Step 2: Enabling the VNC service will take some works both on the raspberry/host side as well as the iPhone/client side.
(Update 11/23/16: In my previous research I did not find the official documentation for enabling the VNC service. However this evening I found a link from the official website. Here is the link: https://www.raspberrypi.org/documentation/remote-access/vnc/ )
Chapter III: To make it better (WIP)
Chapter I: Install the raspbian system into the pi 3
Tools needed: A raspberry pi (obviously), A raspberry pi charger (standard micro usb), A wired/wireless keyboard and mouse (if you are geeky enough you can skip the mouse), A micro SD card (buy a card reader if you do not have one), A monitor and a hdmi cord (again if you are geeky enough...)
Step 1: Download the system from the official website. Do not download the image from any untrusted websites. (https://www.raspberrypi.org/downloads/raspbian/) I choose this OS for my pi because it is optimized for pi and comes with a lot of handy tools like Python and Java.
Step 2: Write the unzipped image file into the micro SD card. For different systems there are different installation method. Again highly suggested to go to the official website for references. (https://www.raspberrypi.org/documentation/installation/installing-images/)
Step 3: Put the loaded micro SD card into the card slot below your pi with the correct direction. Also plug in your wire/wireless keyboard and mouse. Connect the pi with monitor as well. Picture blow shows what are the different parts:
Step 4: Plug in the charger and boot up the system. The installation process is highly automated. The only thing needs some note is the default credentials (all lower cases):
User Name: pi
Password: raspberry
In order to change the default password, run "sudo raspi-config" in terminal
Chapter II: Making the pi portal by enabling ssh and installing VNC
Since my ultimate goal is to have a "portable" hacking machine (which means I should not be using the mouse and keyboard all the time because those will make it unportable), SSH service as well as the VNC service are needed for the communication between Raspberry Pi and my personal device.
Step 1: Enabling the SSH service is very straight forward for Raspberry Pi especially if you have the official system installed. To enable the SSH, simply go to terminal and run "sudo raspi-config". Navigate through Advanced Options -> ssh -> enable SSH. Documentation Link: https://www.raspberrypi.org/documentation/remote-access/ssh/
Step 2: Enabling the VNC service will take some works both on the raspberry/host side as well as the iPhone/client side.
(Update 11/23/16: In my previous research I did not find the official documentation for enabling the VNC service. However this evening I found a link from the official website. Here is the link: https://www.raspberrypi.org/documentation/remote-access/vnc/ )
Chapter III: To make it better (WIP)
Comments
Post a Comment