-
Hi, I am a Tailscale user, with basic linux skills. I'm not sure how to set up Tailscale with the camera. I've tried reviewing issue 30, but I still can't figure it out. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
EDIT I updated the instructions so it'll be easy for the next person. Thank you, @talltechdude for your guidance. STEP ONE STEP TWO STEP THREE
STEP FOUR
replacing the auth key with your actual auth key. Then I rebooted it, tested it and verified. |
Beta Was this translation helpful? Give feedback.
-
The only issue I'm experiencing with this is that it creates a new node on the Tailscale network on every connection to the internet instead of connecting to the current node. Would anyone know how to resolve this? |
Beta Was this translation helpful? Give feedback.
-
While I do not have a solution to the issue in the previous message, I do have this option: Ephemeral, for authenticating ephemeral nodes as part of short-lived workloads. Since node keys are not persisted when a workload restarts, these will reconnect as a different node. Nodes which are no longer active will be automatically removed. For example, containers or Lambda functions should use an ephemeral key to connect. By creating this ephemeral node, the device is deleted after reboot, and I don't have to keep returning to the website to delete. Not the solution I am looking for, but the best with my limited knowledge. |
Beta Was this translation helpful? Give feedback.
-
Update: because the Tailscale IP keeps changing every time the camera reconnects, I'd like to get notified of the new IP address. Thankfully, there are scripts that post Telegram messages on boot, as one example. Note, the last instruction is to move the script to /etc/profile.d/ folder. As you see from my first post, I gave the camera 30 seconds until after the service starts to then connect to the Tailscale network. Here are sample files to get started. Note: you will need to remove the TXT extension. Actually getting notified on SSH logins are actually a good idea too. However, I can't find that folder. |
Beta Was this translation helpful? Give feedback.
-
Great work! Tagging along so I can find this guide later |
Beta Was this translation helpful? Give feedback.
EDIT I updated the instructions so it'll be easy for the next person. Thank you, @talltechdude for your guidance.
STEP ONE
I first generated a Tailscale auth key from here: https://tailscale.com/kb/1085/auth-keys/#generating-a-key
STEP TWO
Then I downloaded Tailscale mipsle from https://pkgs.tailscale.com/stable/#static.
I extracted it to
/wz_mini/bin
.STEP THREE
I edited
/wz_mini/etc/cron/root
file and entered this command:STEP FOUR
In SSH, I ran the command
replacing the auth key with your actual auth key.
Then I rebooted it, tested it and verified.