Stuck on the NEOS setup screen? You're not alone.
You get this message after "Connect to Wi-Fi":
The network "xxxx" is not connected to the internet.
comma.ai no longer has a working endpoint for the setup tool to use to determine if the device is connected to the internet. This means that the NEOS setup screen after selecting a Wi-Fi network will always show "The network 'xxxx' is not connected to the internet" even when it is.
This repository provides a simple, all-in-one tool to bypass the NEOS Setup screen and install openpilot on a comma two, or a comma two clone device. This is NOT designed or needed for AGNOS devices such as the comma three.
Note that it also patches the target installation of openpilot to point to a rehosted OS image that comma no longer hosts.
If you have other comma two issues or want to contribute documentation and wisdom, please check out the ophwug/docs repo.
This tool can be run on Windows, macOS, or Linux.
-
Connect to Wi-Fi
- On your comma two, connect to the same Wi-Fi network as the computer you are using to run this tool.
-
Find Your Device's IP Address
- On the device, go to More Options.
- Touch the triple-dot icon in the upper right corner and select Advanced.
- Scroll down and note the IPv4 address. It will likely start with
192.168.x.x,10.x.x.x, or172.16.x.x.
Upon running the installer, you will be prompted to select a fork of openpilot to install. You can choose from a list of preset forks or opt to install a custom fork by providing the GitHub owner and branch name. The repo is still expected to be named openpilot which some forks have setup redirects.
-
Download the Installer
- Click here to download
c2-neos-alt-fix-install.exe - Save the file to a convenient location, like your Downloads folder.
- Click here to download
-
Run the Installer
- Find the
c2-neos-alt-fix-install.exefile you downloaded. - Double-click the file to run it.
- The application will open a command prompt-like window and guide you through the rest of the process.
- When the process is finished, the window will stay open until you press the Enter key.
- Find the
This alternative launch method may be useful if this tool crashes for some reason and error messages are needed.
-
Download and Run the Installer
- Open your preferred command-line tool (Command Prompt or PowerShell).
- Copy and paste the appropriate command below and press Enter.
For Command Prompt:
curl -L "https://github.com/ophwug/c2-neos-alt-fix-install/releases/latest/download/c2-neos-alt-fix-install.exe" -o "c2-neos-alt-fix-install.exe" && c2-neos-alt-fix-install.exe
For PowerShell:
Invoke-WebRequest -Uri "https://github.com/ophwug/c2-neos-alt-fix-install/releases/latest/download/c2-neos-alt-fix-install.exe" -OutFile "c2-neos-alt-fix-install.exe" ; ./c2-neos-alt-fix-install.exe
- The application will then guide you through the rest of the process.
If you recently installed or reinstalled your terminal application (Terminal, iTerm2, etc.), macOS may have asked you to grant network access permission. If you accidentally denied this permission, all network commands in your terminal will fail, including this installer.
Symptoms of missing network permission:
curl,ssh,ping, and other network commands fail with errors like "No route to host" or connection timeouts- The same commands work in other apps like Safari or a different terminal app
- You may see errors about not being able to connect to the device
To check and grant network permission:
- Open System Settings (or System Preferences on older macOS versions)
- Go to Privacy & Security → Local Network (or search for "network" in settings)
- Find your terminal application in the list (Terminal, iTerm2, etc.)
- Ensure the toggle next to it is enabled
- If your terminal app is not listed, try restarting it - macOS should prompt you for permission
- After granting permission, restart your terminal and try again
For more details, see: https://gitlab.com/gnachman/iterm2/-/issues/12071
-
Run the Installer
- Open the Terminal application on your Mac.
- Copy and paste the following command into the Terminal and press Enter. This will download, make executable, and run the installer in one step.
curl -L https://github.com/ophwug/c2-neos-alt-fix-install/releases/latest/download/c2-neos-alt-fix-install-darwin -o c2-neos-alt-fix-install-darwin && chmod +x c2-neos-alt-fix-install-darwin && ./c2-neos-alt-fix-install-darwin
- The application will then guide you through the rest of the process.
-
If macOS Blocks the Unsigned Binary
- macOS may prevent the unsigned binary from running with an error like "Apple could not verify [binary] is free of malware."
- To allow Terminal to run unsigned binaries, add Terminal as a Developer Tool:
- Open System Settings
- Search for "developer"
- Click "Allow applications to use developer tools" in the sidebar
- If Terminal is not already listed, click the + button and search for Terminal to add it
- Ensure the toggle next to Terminal is enabled
- Restart Terminal and run the installer again:
./c2-neos-alt-fix-install-darwin
- For more detailed information with screenshots, see: https://donatstudios.com/mac-terminal-run-unsigned-binaries
- Run the Installer
- Open a Terminal on your Linux distribution.
- Copy and paste the following command into the Terminal and press Enter. This will download, make executable, and run the installer in one step.
curl -L https://github.com/ophwug/c2-neos-alt-fix-install/releases/latest/download/c2-neos-alt-fix-install-linux -o c2-neos-alt-fix-install-linux && chmod +x c2-neos-alt-fix-install-linux && ./c2-neos-alt-fix-install-linux
- The application will then guide you through the rest of the process.
If you install software that causes your device to fail to boot, you can perform a system reset to restore it.
-
Enter Recovery Mode
- With the device off but plugged in, press and hold the Volume Down + Power buttons simultaneously until the device boots into Recovery Mode.
- Note: The touchscreen will not work in Recovery Mode.
-
Perform a Reset
- In Recovery Mode, you can choose to perform a System Reset or a Factory Reset. A system reset is usually sufficient.
- Use the Volume Up and Volume Down buttons to navigate the menu and the Power button to confirm your selection.
-
Reboot
- After the reset is complete, unplug the device and then plug it back in to power it on.
If you want to build the application yourself:
- Clone this repository.
- Make sure you have Go installed (version 1.22 or later).
- Run
maketo build the Windows, macOS, and Linux executables. - Run
make runto run the application for development.
The build process is automated via GitHub Actions. Every push to the main branch will trigger a new build and update the "Latest Build" release.
This project is a Go-based evolution of the original shell script installer created by jyoung8607. A big thank you for the original work and inspiration!
It was mostly coded with Roo Code and Gemini Pro 2.5.
