Fixed bug in install script
This commit is contained in:
parent
2ac5aed8c6
commit
5401349b08
17
README.md
17
README.md
@ -6,6 +6,8 @@ This project prints all SSIDs, MAC addresses, and their vendors on a thermal pri
|
||||
## Overview
|
||||
|
||||
|
||||
|
||||
|
||||
## Usage
|
||||
1. Setup a Raspberry Pi with Raspbian/Raspberry OS
|
||||
2. Connect to Internet
|
||||
@ -19,3 +21,18 @@ This project prints all SSIDs, MAC addresses, and their vendors on a thermal pri
|
||||
## Important
|
||||
* You might need to adapt the printer configuration in ``cms.py`` depending on the printer you use
|
||||
* You might need to change the name of the network adaptor in ``install.sh``
|
||||
|
||||
## Tips
|
||||
For a headless install you need to
|
||||
* Enable SSH: ``touch <sd-card>/boot/ssh``
|
||||
* Configure Wi-Fi: Create file ``<sd-card>/boot/wpa_supplicant.conf``
|
||||
|
||||
country=DE
|
||||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
|
||||
update_config=1
|
||||
|
||||
network={
|
||||
ssid="NETWORK-NAME"
|
||||
psk="NETWORK-PASSWORD"
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ apt-get update
|
||||
apt-get dist-upgrade --yes
|
||||
|
||||
# Install Python3 and additional stuff
|
||||
apt-get install python3-pip libopenjp2-7-dev python3-serial python3-pil --yes
|
||||
apt-get install git python3-pip libopenjp2-7-dev python3-serial python3-pil --yes
|
||||
|
||||
# Remove old trackerjacker
|
||||
pip3 uninstall -y trackerjacker
|
||||
@ -27,7 +27,6 @@ ln -s -f /usr/lib/arm-linux-gnueabihf/libc.a /usr/lib/arm-linux-gnueabihf/liblib
|
||||
# Get trackerjacker, add plugin and install it
|
||||
cd /tmp
|
||||
git clone https://github.com/calebmadrigal/trackerjacker.git
|
||||
|
||||
git clone https://git.chaospott.de/sirgoofy/wifi-printer.git
|
||||
cp wifi-printer/cms.py trackerjacker/trackerjacker/plugins
|
||||
cp wifi-printer/*.png trackerjacker/trackerjacker/plugins
|
||||
@ -35,6 +34,7 @@ cp wifi-printer/*.png trackerjacker/trackerjacker/plugins
|
||||
pip3 install escpos
|
||||
|
||||
cd trackerjacker
|
||||
python3 setup.py build
|
||||
python3 setup.py install
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user