Skip to content

Instantly share code, notes, and snippets.

@phamduchongan93
Last active February 14, 2020 08:50
Show Gist options
  • Save phamduchongan93/1406d3eaf49449251c760dd508d69ce1 to your computer and use it in GitHub Desktop.
Save phamduchongan93/1406d3eaf49449251c760dd508d69ce1 to your computer and use it in GitHub Desktop.
Treehosues autorunonce
#!/bin/bash
treehouses rename pinode1
# expands the filesystem
treehouses expandfs
treehouses bluetooth on
# set up the default ip
# treehouses staticwifi <ip> <mask> <gateway> <dns> <ESSID> [password]
treehouses staticwifi 192.168.0.10 255.255.255.0 192.168.0.1 8.8.8.8 NETGEAR11 blueteapot615
# treehouses wifi NETGEAR11 blueteapot615
treehouses ssh on
reboot
@phamduchongan93
Copy link
Author

  • add treehouses bluetooth on

@phamduchongan93
Copy link
Author

  • System can be successfully loaded on rpi0 and rpi4.
  • System can be successfully loaded on pi zero.

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