device is not enrolled in mesh
Error: device is not enrolled in mesh โ run 'tuna mesh login' first
tuna mesh up, tuna mesh peers, and tuna mesh ip print this error. The command exits right away.
Causeโ
The tunad service is running, but the device isn't part of any mesh network: you haven't signed in with tuna mesh login yet, you signed out with tuna mesh logout, or the device was removed from the team in the dashboard.
In a terminal, tuna mesh up offers to sign in by itself. The error appears if you declined or the command was run without a terminal, for example from a script.
What to doโ
- Connect the device as described in Connecting a device: on your own computer, run
tuna mesh login; on a server without a browser, use a token. - Run
tuna mesh up.