Find storage and AI servers on the tailnet, not only over mDNS
Ports CoreDesktop's 16e5a9c. configure storage and configure ai-servers now also ask the other online computers on the Core's tailnet, so a laptop away from home still finds the MiniServer and the LLM box. A machine found both ways is listed once, by its tailnet name, and tailnet servers mount at /mnt/<short name>. Smoketest: 45-tailnet, with a stand-in tailscale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -77,7 +77,7 @@ Each item installs what it needs the first time you set it up, after asking.
|
||||
- To turn backups off, run `configure backup` again. It also offers to delete the backups from your Nextcloud files (they go to Nextcloud's trash bin).
|
||||
- **AI agents**: offers to install Claude Code, opencode and Hermes Agent with each one's own installer, and runs them in a sandbox (see below). `configure claude`, `configure opencode` and `configure hermes` sign in to them and choose their model providers.
|
||||
- **Languages**: installs programming languages and tools with [mise](https://mise.jdx.dev), from mise's own apt repository: Ruby on Rails, or any tool mise knows (`mise registry` lists them), such as `node@lts` or `java@21`. To update them: `mise upgrade`. To remove one: `mise unuse -g <tool>`.
|
||||
- **AI servers**: LLM servers on your network, such as Ollama on a Mac. It finds the machines on your network over mDNS and asks each one on the ports LLM servers use (11434 Ollama, 1234 LM Studio, 8080 llama.cpp, 8000 vLLM), since LLM servers don't announce themselves. Or you enter a server's address. For the server you choose, it:
|
||||
- **AI servers**: LLM servers on your network, such as Ollama on a Mac. It finds the machines on your network over mDNS and asks each one on the ports LLM servers use (11434 Ollama, 1234 LM Studio, 8080 llama.cpp, 8000 vLLM), since LLM servers don't announce themselves. Once you've run `configure tailscale`, it also asks the computers on the Core's network, so a laptop away from home still finds them; a machine found both ways is listed once, by its Tailscale name. Or you enter a server's address. For the server you choose, it:
|
||||
- lets the sandboxed agents reach it (that port only)
|
||||
- adds it to opencode with its models
|
||||
- offers to make it Hermes' model
|
||||
@@ -85,7 +85,7 @@ Each item installs what it needs the first time you set it up, after asking.
|
||||
|
||||
A server has to accept connections from other machines: in Ollama's settings, turn on "Expose Ollama to the network"; in LM Studio, "Serve on Local Network".
|
||||
- **Printers** on your network. It lists the printers it finds, whether they're reached directly or shared by another computer, and adds the ones you choose as printers on this computer, without drivers (IPP Everywhere), so they're in every print dialog. A printer another computer shares that can also be reached directly is marked, and not chosen unless you pick it. Printers already added (e.g. by cups-browsed) are left alone. To choose without being asked, set a default printer or print a test page, run `~/.local/share/federated-connector/connector/system/setup-printers.sh --help`.
|
||||
- **Network storage**: shared folders from other machines on your network, mounted in /mnt and added to the COSMIC Files sidebar. It finds SMB servers (Windows, Samba and NAS boxes, and Macs with File Sharing on) and machines you can ssh to. Or you enter an address (`smb://nas.local/files`, `sftp://me@server.local/srv/data`).
|
||||
- **Network storage**: shared folders from other machines on your network, mounted in /mnt and added to the COSMIC Files sidebar. It finds SMB servers (Windows, Samba and NAS boxes, and Macs with File Sharing on) and machines you can ssh to. Once you've run `configure tailscale`, it also finds them on the Core's network, so a laptop away from home still finds the MiniServer: it asks each computer there whether it takes SSH or SMB connections. A machine found both ways is listed once, by its Tailscale name, and mounted at /mnt/<its short name> either way. Or you enter an address (`smb://nas.local/files`, `sftp://me@server.local/srv/data`).
|
||||
- An SMB share is in /etc/fstab and mounts the first time you open its folder, so a server that's off doesn't hold anything up. Its password is kept in /etc/federated-connector/smb, readable only by root.
|
||||
- An SFTP folder is mounted by sshfs as you, at login, with the SSH keys in your Bitwarden SSH agent or your keyring's, so the server has to accept one of them (it can't ask for a password).
|
||||
- "Remove one" unmounts it and takes it back out.
|
||||
|
||||
Reference in New Issue
Block a user