Created
January 23, 2019 01:11
-
-
Save xillwillx/97a9fa7e10fc0d5bcca8f717bf76e904 to your computer and use it in GitHub Desktop.
Pwnp1 ALOA with OLED
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh [email protected] | |
nano /boot/config.txt | |
ctrl+w to find | |
Type: i2c_arm and add the uncommented lines underneath | |
## i2c_arm | |
## Enable the ARM's i2c interface | |
## | |
## Default off. | |
## | |
dtparam=i2c_arm=on | |
dtparam=i2c1=on | |
ctrl+w to find | |
Type: dtparam=spi | |
## spi | |
## Set to "on" to enable the spi interfaces | |
## | |
## Default off. | |
## | |
#dtparam=spi=off | |
dtparam=spi=on | |
ctrl+x | |
Y+enter | |
reboot | |
Once rebooted connect to http://172.16.0.1:8000/#/wifi in browser | |
Change 'Working Mode' to 'Client' and add your SSID and password then hit Deploy button to connect the Pi online | |
ssh [email protected] | |
apt install python-dev python-pip libfreetype6-dev libjpeg-dev -y | |
pip install --upgrade pip | |
apt clean | |
pip install --upgrade luma.oled | |
git clone https://github.com/beboxos/P4wnP1_ALOA_OLED_MENU_V2.git ~/BeBoXGui | |
echo "python ~/BeBoXGui/runmenu.py &" &>>/usr/local/P4wnP1/scripts/startup.sh | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment