Display the local ip adress on an 0.96" I²C OLED Display for headless installations.
Default config is for these: 128*64 i²c Oled displays: https://amzn.to/3k93grg
Edit ipscreen.c if you have a different one, see oled_96 library for config details.
Uses: https://github.com/bitbank2/oled_96.git
- Run
sudo ./setup_build_tools.sh - Run
sudo ./compile_oled_library.sh - Run
make - Run
sudo ./install_setup_script.sh - Add the line
/etc/init.d/ipscreen.sh startto/etc/rc.local
- Add to
/etc/rc.local(Starts IPScreen on boot)
su pi -c '/home/pi/path/to/RunIpScreen.sh' - Add to
~/.bashrc(disables IP Screen when logged in)
/home/pi/path/to/KillIPScreen.sh - Add to
~/.bashrc_logout(restarts ip Screen when logged out)
/home/pi/path/to/RunIpScreen.sh