How to fix the Comma 2 WiFi issues
more resources: https://github.com/jyoung8607/neos-manual-install
This guide is translated from: https://saber422.blogspot.com/2024/03/openpilot-c2o2.html

Recently, C2 and O2 users suddenly found that the one-click update could not be used, and uninstalling would cause the system to get stuck. This has made it impossible for many to refresh or update their software. Here’s a tutorial on how to use SSH commands to download!
The one-click installation by OP has always been a very convenient tool. Recently, for unknown reasons, C2 and O2 have not been able to get responses from the server, which has stopped the update process.
Some have suggested that the official closure of certificate responses might be the cause. However, according to the expert Jyoung’s inquiry at https://crt.sh/?q=commadotai.com, the certificate server is still working. He has also asked the OP team, and there has been no change to the authentication certificates. (Maybe it will fix itself after a while?)
Here’s the guide on how to setup OPTK
Follow these steps to fix your Comma 2
- First, boot the C2 or O2 and connect to WiFi

When you are stuck here, you can connect to C2 or O2 using a public key and SSH.
2. Open your OPTK1.9.0, simply click the Terminal button below, there’s no need to regenerate the SSHKEY.

Note that since the OP public key is internally keyed in OPTK, the screen that is stuck after formatting can still be directly connected to C2/O2.
3. Enter the command string and branch you want to install
This is the code for R2
#!/usr/bin/bash
cd /data/ &&
rm -rf openpilot &&
git clone https://github.com/dragonpilot-community/dragonpilot -b r2 --single-branch --depth=1 openpilot &&
touch /data/data/com.termux/files/continue.sh &&
echo "#! /usr/bin/bash" >> /data/data/com.termux/files/continue.sh &&
echo "cd /data/openpilot" >> /data/data/com.termux/files/continue.sh &&
echo "exec ./launch_openpilot.sh" >> /data/data/com.termux/files/continue.sh &&
chmod u+x /data/data/com.termux/files/continue.sh && reboot

You copy the above paragraph to OPTK, then press Enter to start downloading and installation. After that, I will upgrade to the R2 version of DP.

We’ve worked with some of the best companies.
Things to note: If you want to change different branches and versions, remember to modify the above instructions.
#!/usr/bin/bash
cd /data/ &&
rm -rf openpilot &&
git clone https://github.com/ fork-name-github-id /openpilot.git -b branch-name --recurse-submodules --depth=1 &&
touch /data/data/com.termux/files/continue.sh &&
echo "#! /usr/bin/bash" >> /data/data/com.termux/files/continue.sh &&
echo "cd /data/openpilot" >> /data/data/com.termux/files/continue.sh &&
echo "exec ./launch_openpilot.sh" >> /data/data/com.termux/files/continue.sh &&
chmod u+x /data/data/com.termux/files/continue.sh && reboot
Among them, fork-name-github-id is the github account of the branch you plan to use.
branch-name is the version you want to install. I call it a branch.
Then just issue the same command in the optk terminal, and C2 and O2 can continue to painlessly refresh the version you need! !
What if you don’t have OPTK? Similarly, you can use workbench , putty or Windows powershell to SSH login C2 and O2 under the same command.
