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
Jessie has moved away from sysvinit and onto systemd. Writing an init script to /etc/init.d/ is outdated, | |
and a bit tedious since you have to handle the start/stop/restart logic yourself (if you want those capabilities). | |
New Method: | |
1. Write a unit file for systemd. | |
$ sudo nano /etc/systemd/system/your_jar_software.service | |
[Unit] | |
Description=Example on starting a JAR with systemd |
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
1. Setup Bluetooth on Raspberry Pi 3: | |
https://hacks.mozilla.org/2017/02/headless-raspberry-pi-configuration-over-bluetooth/ | |
2. Add these lines to startupScript in 1 to start bluetooth as discoverable: | |
#make bluetooth discoverable | |
sudo hciconfig hci0 piscan | |
3a. Install Python script which will receive wifi creds over bluetooth and write them to the necessary files: | |
https://github.com/brendan-myers/rpi3-wifi-conf |
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
Flashing Atmega from Arduino IDE over wifi | |
Error: | |
$ Can't export GPIO 19, already exported/busy?: Invalid argument | |
$ avrdude done. Thank you. | |
Solution: | |
Avrdude v6.3-1 on the Omega has known issues. |