vs4vijay/SwissArmyPi


A set of utility/tools to make Raspberry Pi [Zero W] into Swiss Army Knife

  • Users starred: 68
  • Users forked: 12
  • Users watching: 68
  • Updated at: 2020-05-14 14:27:59

SwissArmyPi

 o-o                           O                     o--o  o-O-o 
|              o              / \                    |   |   |   
 o-o  o   o   o  o-o o-o     o---oo-o o-O-o o  o     O--o    |   
    |  \ / \ / |  \   \      |   ||   | | | |  |     |       |   
o--o    o   o  | o-o o-o     o   oo   o o o o--O     o     o-O-o 
                                               |                 
                                            o--o                 

Hardware Required

  • Raspberry Pi (I am using Raspberry Pi Zero W)
  • SD Card (I am using 16 GB)
  • MicroUSB Cable
  • WiFi Card (The inbuilt Wireless Card doesn't support monitor mode by default, We need external wifi card. e.g. TP-LINK WN722N OR We need to patch kernel module & firmware using Nexmon)
.-------------------------.
| oooooooooooooooooooo J8 |
| 1ooooooooooooooooooo   |c
---+       +---+ PiZero W|s
 sd|       |SoC|   V1.1  |i
---+|hdmi| +---+  usb pwr |
`---|    |--------| |-| |-'

Basic Installation

  • Download Linux Image, Options are:
  • Flash Image to SD Card using Etcher
  • Configure SSH and Ethernet Gadget mode so that we can SSH into Pi using microusb cable
  • Connect Pi with USB Cable via usb port(Pi Zero W has two microusb port: one for power, second for usb)
  • Once Pi boots up, Run following commands to Configure & Update the system and depedencies:
    • sudo apt-get update

Use-Cases & Utilities

To Patch Kernel Module and Firmware

Extra Tools

  • cmatrix
  • python3-gpiozero
  • mosh
  • nmap - sudo apt-get install nmap

General Problems

  • If keyboard layout is "gb", Set keyboard layout to "en" from file: sudo nano /etc/default/keyboard
  • If nothing works, Just restart the Pi using sudo shutdown -r now

Other projects like this

Cool projects using Raspberry Pi