Connect the device to Wi-Fi
If the device has no internet connection, put it in setup mode: it opens a temporary setup network and a page that connects it to Wi-Fi. You join that network from a phone, pick your Wi-Fi network, and type its password; the device does the rest. The whole flow runs on the device, so it works with no internet and no cloud model.
Before you begin
Section titled “Before you begin”- The device is powered on and has no internet connection over Wi-Fi.
- A phone.
- The paper insert that shipped with the device, if you have it: it prints the setup network’s name, its password, and a QR code. On a Teaspoon AI device the insert has no login for the device: you create the login on the setup page, as Create your login describes.
- To start by voice, a microphone and a speaker on the device through the local-audio audio bridge. See Use a microphone on the device.
Put the device in setup mode
Section titled “Put the device in setup mode”Say “set up Wi-Fi” or “connect to Wi-Fi” at the device. While the device has no internet, either phrase starts setup mode without the agent: the device asks whether to go into setup mode, and after you say yes, it opens its setup network and says that it is in setup mode.
With TEAPORT_SETUP_ON_FIRST_BOOT on, a new device does this by itself. When it has never
been online and still has no internet a minute after it starts, it goes into setup mode
without a wake word or a question, and it introduces itself first.
If you cancel, or nothing connects in time, it tells you to say “set up Wi-Fi” to
try again, and it starts by itself again only at the next start-up. A setup you start by
voice in the first minute counts as that start-up’s try. The first time the device is
online, it stops doing this for good; if that happens during setup mode, for example when
you plug in a network cable, it leaves setup mode by itself.
If the device is already online, the phrase is ordinary speech. The agent hears it and can start the same procedure with its Wi-Fi setup tool; ask the agent to run it. If no model is set up yet, there is no agent to ask, so the phrase starts setup mode online too.
Join the setup network
Section titled “Join the setup network”A device with a screen shows, under the title “Setup mode”, the setup network’s name, its password, and an address to open, with a QR code beside them when the screen can draw one. The device tells you what to do in the same order:
- Join the setup network from your phone. With a QR code on the screen, scan it with the phone’s camera. Otherwise, join the network shown on the screen, named
teaport-XXXX(teaportplus the last four characters of the device’s Wi-Fi MAC address, for exampleteaport-ab12), and type the password shown on the screen. - In the phone’s browser, go to the address on the screen. It is usually
http://teaport-XXXX.local, orhttp://10.42.0.1, which always works. - Pick your Wi-Fi network and type its password. On a device that ships ready to set up, also accept the engine license, as Accept the license describes, and choose the password for your login, as Create your login describes. The setup network goes down and the device joins yours.
Say “repeat” to hear the network’s name, the password, and the address read out. A device without a screen reads them out straight away. Some phones open the page on their own after they join the setup network; if yours does not, use the address.
If you start setup by voice, the screen shows its words in the language that the device speaks; if you start it another way, in English. After you pick your network on the setup page, the screens that follow are in the page’s language. Network names appear as they are written. This depends on fonts for other scripts on the device: a device without them shows the words in English and drops the characters outside ASCII from a network’s name, for example “Cafe” for “Café”. If that changes the setup network’s name and a QR code is on the screen, the screen shows “(scan the code)” in place of the name.
The setup network uses WPA2. Its password is the one printed on the paper insert, stored on the device as WIFI_SETUP_PASSWORD in /etc/teaport/wifi-setup.env. Without that stored password, the device makes a fresh random one for each run: twelve characters in three groups of four, for example k7mq-x4tn-p9wr, lowercase letters and digits without look-alikes or sound-alikes (no 0 or o, no 1, l or i, no q). The hyphens are part of the password; type it as the screen shows it. The screen shows it, and the device reads it out, character by character with “dash” between the groups, when it has no screen or you say “repeat”. A password for the paper insert should use the same grouped form: teaport setup-card --new-password makes one, stores it, and prints what goes on the insert (see teaport setup-card).
Accept the license
Section titled “Accept the license”On a device that ships ready to set up, such as a Teaspoon AI device, the setup page has a Read the license step before Create your login. It shows the full text of the engine license, the license of the device’s speech engine. Setup finishes only after you accept it: the page doesn’t connect to your Wi-Fi network until you do. Nothing else waits for it: the speech engine works from the start, under the license key that the device shipped with. A device that you installed yourself never shows this step, because you accepted the license when you ran the installer.
To accept the license on the setup page, follow these steps:
- Read the license under Read the license. Its text scrolls.
- Under Your email address, type your email address. Teaspoon AI records who accepted the license with it.
- Choose Personal use or A business, for what you use the device for.
- Select the checkbox that says you have read the engine license and accept it.
- Tap Connect with your Wi-Fi choice.
The setup network has no internet, so the device keeps your acceptance and sends it to Teaspoon AI itself after it is online, within about 15 minutes. Teaspoon AI records your email address, whether the device is for personal use or for a business, the license version and the exact text that you accepted, and a hash of the device’s serial number. The device keeps its own copy of the record, readable only by root, as The engine’s license describes.
Then the device links your acceptance to its license key, which records you with Teaspoon AI as the device’s owner. It can do that only when it holds its license key file and the link secret that came with it. While a device doesn’t hold both, your acceptance stays recorded but not linked, and the device links it as soon as it has them. Setup is finished when the link is made.
If the device doesn’t accept the form, it doesn’t start the join: the setup page comes back with the reason at the top:
- If the page asks you to select the checkbox, to enter your email address, or to choose personal use or a business: do that, and tap Connect again.
- If the page says that the license changed while you were reading it: it shows the new text. Read it, and accept it again.
- If the page says that the license is already accepted on the device: the step goes away. Tap Connect again for the Wi-Fi alone.
If the device has no copy of the license to show, the step says that you read and accept it in the settings after the device is online, and the device connects without it. See Accept the license in the settings.
If the license is accepted with someone else’s email address
Section titled “If the license is accepted with someone else’s email address”Until setup finishes, the step shows whose acceptance is recorded. It shows the email address with the part before the @ hidden, except for its first and last character, one * for each character in between: owner@example.com shows as o***r@example.com. If that isn’t your address, someone or something on the device accepted the license before you. The hidden address is only a hint: a different address can look the same. If you’re unsure, contact support.
While the device has no login yet, you can put your own acceptance in its place: type your email address in the step, choose personal use or a business, select the checkbox, and tap Connect. After you create your login, only that login can replace it, through sudo, as the next section shows; nothing that runs without your password can. Security model describes this window.
If the acceptance on a linked device isn’t yours, contact Teaspoon AI. Support sends you the commands that you run on the device with your login, to accept the license in place of the other acceptance and link yours to the device’s key, as Security model shows. The device’s link secret proves that you hold the device: holding the device outranks any record.
If the setup page or the settings say that the device’s license link was lost, someone linked its license key with a copy of the device’s secret. If they say that the link failed, the device’s secret never linked, for a reason that only support can see. Either way, contact Teaspoon AI support: after checking that the device is yours, support gives you a recovery code, which you type on the device with your login, as Security model shows.
To change the email address after the link, contact Teaspoon AI the same way. When the device changes owners, the new owner accepts the license during their own setup.
Create your login
Section titled “Create your login”On a device that ships ready to set up, such as a Teaspoon AI device, the setup page has a Create your login step under the Wi-Fi password. The login lets you sign in to the device from a computer, with SSH, and run administrator commands with sudo. Its username is always teaport; you choose only the password. On a Teaspoon AI device, nobody can sign in until you create it. A device that you installed yourself never shows this step.
The step is required while the device has no login: the page doesn’t connect to your Wi-Fi network until the login is created. If the device can’t reach the helper that creates the login, the page shows no step, and the device still connects. If the helper fails because of a problem on the device, not with your password, the page says that you can connect now: from then on, until setup mode ends, you can leave the login fields empty and tap Connect. After a failure like that, the settings offer the step later, as Create your login in the settings shows. If the step appears in neither place, see You can’t sign in to the device.
To create your login on the setup page, follow these steps:
- Under Choose a password, type a password of at least 12 characters. Spaces and letters from any language are fine; invisible or control characters are not. The longest password is 256 bytes: 256 unaccented letters, for example, or 85 Chinese, Japanese, or Korean characters. An accented letter, such as é, takes 2 bytes.
- Under Type it again, type the same password.
- Tap Connect with your Wi-Fi choice.
The device creates the login as soon as you tap Connect, before it leaves the setup network, because this needs no internet. The page that says the device is joining your network also says that your login is ready. After the device is online, sign in from a computer on the same network:
ssh teaport@DEVICE_NAME.localReplace DEVICE_NAME with the device’s name, for example teaport. sudo asks for the same password.
If the device can’t create the login, it doesn’t start the join: the setup page comes back with the reason at the top, and the device stays in setup mode. Type your Wi-Fi password and both login passwords again:
- If the passwords don’t match, or the password is too short or too long, or it has a character that isn’t allowed: fix the password.
- If the page says that the device already has a login: the step goes away. Tap Connect again for the Wi-Fi alone. If you didn’t create that login, see The device already has a login.
- If the page says that it couldn’t create your login and that you can connect now: try again, or leave the login fields empty and tap Connect, and create the login later in the settings. The next try usually finishes one that stopped partway. If the device then says that it already has a login, or the step doesn’t come back, see The device already has a login.
Connect your AI account
Section titled “Connect your AI account”When the device’s language model endpoint is OpenRouter, the setup page also has an AI account section, which you can skip. Leave it closed to keep the account the device has now. To use your own OpenRouter account, open it and paste a key from that account before you tap Connect.
The setup network has no internet, so the device checks the key after it joins your network and is online. It saves the key only if OpenRouter accepts it and, on a device with OpenClaw, OpenClaw takes it too, as One key for OpenClaw too describes. When it says that it is connected, it also says whether your AI account is connected, and, if your OpenRouter account has no credit yet, that you need to add some on OpenRouter’s website before it can answer. If the key did not work, the device keeps the account it had; say “open my settings” to try again from your phone, as Open the settings from your phone shows.
Signing in to OpenRouter instead of pasting a key does not work in setup mode: neither the phone nor the device can reach the internet there. When the device offers the sign-in afterwards (it has a settings site, its endpoint is OpenRouter, and it has no key of your own), the section says so: leave the key empty, and when the device is online it offers the sign-in by itself, or you can say “open my settings”, as Connect your OpenRouter account shows.
If the device connects
Section titled “If the device connects”The page tells you that the device is joining your network, so switch your phone back to it. The device leaves setup mode and says that it is connected to your network and online again; a screen shows “Connected to” and the network’s name under the title “Wi-Fi” for a few seconds.
If the join fails
Section titled “If the join fails”The device drops the network profile it tried, the setup network comes back, and the page says what failed. Pick the network and type its password again.
If nothing has connected after 10 minutes
Section titled “If nothing has connected after 10 minutes”The device leaves setup mode on its own, undoes a half-finished join, and restores the connection it had before. The service stops itself at the 15-minute mark at the latest.
Leave setup mode
Section titled “Leave setup mode”Say “cancel” at the device while it is in setup mode, stop it from the configuration page, or run this on the device:
sudo systemctl stop teaport-wifi-setupThe device takes the setup network down, undoes a half-finished join, and restores the previous connection.
What’s next
Section titled “What’s next”- Use a microphone on the device, for the spoken phrase.
- Settings reference, for the Wi-Fi setup settings, including the setup-network password.
- Troubleshooting, if the device does not come online.