mirror of
https://github.com/tailscale/tailscale.git
synced 2026-07-15 01:53:08 -04:00
Adds a Linux-only framebuffer status display (cmd/fbstatus) that draws
to /dev/fb0 on the Tailscale gokrazy appliance. It shows:
- the Tailscale logo
- the current tailscaled state (starting, needs login, running)
- a QR code with the login URL when enrollment is needed (triggers
StartLoginInteractive automatically so the URL appears without
user action)
- the LAN IP or "Waiting for DHCP (MAC)" pinned at the bottom-left
- Tailscale IPs once connected
VT switching: Ctrl-Alt-F2 drops to a busybox text shell on VT2 (for
debugging with a USB keyboard), Ctrl-Alt-F1 returns to the GUI.
Rendering pauses while the text VT is active.
On boot, fbstatus pokes the gokrazy unix socket API to restart the
breakglass SSH service (which uses DontStartOnBoot by default). It
waits until DHCP assigns an IP so breakglass binds to the LAN address
rather than just localhost.
Included in the tsapp-pi.arm64 gokrazy build by default.
Updates #1866
Change-Id: Ifdce4ad8e8c2e1005c840f579e637974a0a266d3
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
63 lines
1.0 KiB
Plaintext
63 lines
1.0 KiB
Plaintext
# Binaries for programs and plugins
|
|
*~
|
|
*.tmp
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
*.spk
|
|
|
|
*.exe
|
|
# tool/go.exe is built specially and committed.
|
|
!/tool/go.exe
|
|
|
|
cmd/tailscale/tailscale
|
|
cmd/tailscaled/tailscaled
|
|
ssh/tailssh/testcontainers/tailscaled
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
# Dependency directories (remove the comment below to include it)
|
|
# vendor/
|
|
|
|
# direnv config, this may be different for other people so it's probably safer
|
|
# to make this nonspecific.
|
|
.envrc
|
|
|
|
# Ignore personal VS Code settings
|
|
.vscode/
|
|
|
|
# Support personal project-specific GOPATH
|
|
.gopath/
|
|
|
|
# Ignore nix build result path
|
|
/result
|
|
|
|
# Ignore direnv nix-shell environment cache
|
|
.direnv/
|
|
|
|
# Ignore web client node modules
|
|
.vite/
|
|
client/web/node_modules
|
|
client/web/build/assets
|
|
|
|
/gocross
|
|
/dist
|
|
|
|
# Ignore xcode userstate and workspace data
|
|
*.xcuserstate
|
|
*.xcworkspacedata
|
|
/tstest/tailmac/bin
|
|
/tstest/tailmac/build
|
|
|
|
# Ignore personal IntelliJ settings
|
|
.idea/
|
|
|
|
# Ignore syncthing state directory.
|
|
/.stfolder
|
|
fbstatus
|
|
gafpush
|