Skip to content

Instantly share code, notes, and snippets.

@mrtnrey
Last active July 26, 2023 15:33
Show Gist options
  • Save mrtnrey/4a46b70755572ee74006a9e48cb78691 to your computer and use it in GitHub Desktop.
Save mrtnrey/4a46b70755572ee74006a9e48cb78691 to your computer and use it in GitHub Desktop.
Connect Telraam with wired network instead of wifi

Connect your Telraam device with wired ethernet instead of Wifi, using a USB2Ethernet Dongle like https://www.amazon.de/gp/product/B00MYT481C/

  1. Download Telraam dev image https://github.com/Telraam/Telraam-RPi/blob/master/telraam-dev-image

  2. Flash the image on the SD card

  3. Before putting the SD card into the Raspberry Pi, add the empty file "ssh" in the root of the SD card ("touch ssh")

  4. Put SD card into RPi, login with user pi and make new user with sudo rights

  5. Setup the Telraam following the instructions

  6. Now tweak the scripts telraam_monitoring.py in Telraam/Install and Telraam/Scripts by replacing the MAC address of the Wifi by the MAC address of your USB-to-Ethernet adapter. #mac_addr = uuid.getnode()

  7. Block the Wifi: "sudo rfkill block wifi"

  8. Check if your device keeps sending data packages on your Telraam dashboard

  9. Turn off wifi at boot; In /boot/config.txt, add dtoverlay=pi3-disable-wifi

  10. Possibly the operation of tweaking telraam_monitoring.py script is lost after OTA-update. The tweak could be added in the crontab, or manually after update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment