wifi-printer/README.md

40 lines
1.0 KiB
Markdown
Raw Normal View History

2022-01-11 22:03:29 +00:00
# Wi-Fi Printer
2022-01-10 23:10:08 +00:00
2022-01-11 22:03:29 +00:00
This project prints all SSIDs, MAC addresses, and their vendors on a thermal printer using a Wi-Fi adaptor in monitor mode.
## Overview
2022-01-12 21:01:56 +00:00
2022-01-11 22:03:29 +00:00
## Usage
1. Setup a Raspberry Pi with Raspbian/Raspberry OS
2. Connect to Internet
3. Run ``install.sh``-Script
4. Wait
5. Set up for further usage, i.e.:
* Remove Internet connectivity (not needed anymore)
* Connect printer and Wi-Fi adaptor
* Include everything into nice device :)
## 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``
2022-01-12 21:01:56 +00:00
## 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``. This repository contains a configuration file for Freifunk.
2022-01-12 21:01:56 +00:00
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="NETWORK-NAME"
psk="NETWORK-PASSWORD"
}