End to end: flash the Pico, install the server, connect the device, and confirm discovery found it.
How it works: Atari <-> ACSI/SCSI/floppy device <-> LAN/WiFi <-> linux server (ce_cores + webserver)
What you need
- ACSI hard drive – wired Ethernet + DHCP
- SCSI hard drive – wired Ethernet + DHCP
- Floppy drive – WiFi
- a windows / macOS / linux machine and a USB cable (micro-USB for the W5500-EVB-Pico) for flashing
- Server: a computer on the same LAN segment as the device. Discovery uses UDP broadcast, which doesn’t cross routers or VLANs. It can be:
- a Linux machine (Raspberry Pi or PC)
- a Windows 10 or 11 PC (64-bit)
- a Mac with macOS 11 or newer (Apple Silicon or Intel)
- The server must be running while you use the Atari, so don’t let the PC or Mac go to sleep.
Flash the firmware (Windows)
- download the firmware `.uf2` file for your device from the Releases page – https://github.com/atarijookie/cosmo2ex/releases There is one file each for ACSI, SCSI and floppy. Make sure you pick the right one
- no extra software is needed – in bootloader mode the Pico shows up in Windows as a USB drive, and you flash it by copying the `.uf2` file onto that drive in File Explorer.
- enter bootloader mode – the board has two buttons, BOOTSEL and RUN (reset).
- Board unplugged: hold BOOTSEL, plug the USB cable into the PC, then release BOOTSEL.
- Board already connected: hold BOOTSEL, press and release RUN, then release BOOTSEL.
- if your board does not have RUN button, then follow the Board unplugged procedure
- copy the firmware – drag the `.uf2` file onto the RPI-RP2 / RP2350 drive.
- the drive disappears by itself after a few seconds, and the board reboots into the new firmware. Windows may warn that the drive was removed unexpectedly. You can ignore that.
- to update later, follow the same steps with the newer `.uf2`. Settings stored on the board are kept.
Device identity
Each device is known to the server by its MAC address. The harddrive boards generate a random MAC on first boot and keep it in flash. Updating the firmware keeps it. Fully erasing the flash (for example with Raspberry Pi’s `flash_nuke.uf2`) creates a new MAC, and the server then treats the board as a new device. The floppy board uses the fixed MAC of its WiFi chip.
Install the server
Pick one of the two options below. Don’t run both on the same machine, because they compete for the same ports. Both keep settings in /opt/ce/settings, so you can switch from one to the other later.
Option A: Docker
Check for Docker and install it if missing
docker --version && docker compose version
If both print a version, skip to installation. Otherwise install Docker using Docker’s official install script. It works on Debian, Ubuntu and Raspberry Pi OS.
Run the server
The release workflow publishes a pre-built image for all supported platforms. Docker picks the right one automatically.
sudo mkdir -p /opt/ce/settings /opt/ce/log
docker run -d --name ce --restart unless-stopped \
--network host \
-v /opt/ce/settings:/opt/ce/settings \
-v /opt/ce/log:/var/log/ce \
-v /:/mnt/hostdrive:rslave \
-v /dev:/dev \
--device-cgroup-rule='c 13:* rwm' \
--device-cgroup-rule='b 8:* rwm' \
ghcr.io/atarijookie/ce-atari:latest
Update
docker pull ghcr.io/atarijookie/ce-atari:latest
docker rm -f ce
# then the same docker run command as above
Option B: direct install (no Docker)
The release tarballs contain ready-to-run binaries. Nothing is compiled on the machine.
mkdir -p ~/ce-install && cd ~/ce-install
ARCH=$(dpkg --print-architecture) # amd64, arm64, armhf or i386
echo "$ARCH"
REL=https://github.com/atarijookie/cosmo2ex/releases/latest/download
curl -fsSLO $REL/install.sh
curl -fsSLO $REL/SHA256SUMS
curl -fsSLO "$(curl -fsSL
https://api.github.com/repos/atarijookie/cosmo2ex/releases/latest \
| grep -o "https://[^\"]*-$ARCH\.tar\.gz")"
sha256sum -c --ignore-missing SHA256SUMS # must print "OK" for the tarball
chmod +x install.sh
sudo ./install.sh
The installer puts the binaries in /opt/ce/bin, then installs, enables and starts the ce service:
systemctl status ce
journalctl -u ce -f
Update: download the new tarball and `install.sh` the same way and run sudo ./install.sh again. Settings are kept. If you edited /opt/ce/bin/.env, your copy is kept and the new default is saved as .env.new.
Uninstall: sudo ./install.sh –uninstall keeps settings and logs. Add –purge to remove everything.
Option C: Windows
- Download from the GitHub Releases page:
- ce–windows-x64.zip
- SHA256SUMS
- Verify the zip. In PowerShell, in the download folder:
Get-FileHash .\ce–windows-x64.zip -Algorithm SHA256
The hash must match the line for that zip in SHA256SUMS (upper or lower case doesn’t matter). - Unblock the zip. Before unzipping: right-click the zip → Properties → tick Unblock → OK. This stops SmartScreen from asking about every program. If you skip it, SmartScreen shows “Windows protected your PC” on the first start: click
More info → Run anyway. - Unzip to a permanent folder, e.g. C:\cosmo2ex. The folder can be anywhere, but don’t run the programs from inside the zip.
- Start. Double-click ce_run.exe.
- A console window opens, showing the output of ce_cores and the web server.
- Close the window or press Ctrl+C to stop.
- If ce_cores crashes, it’s restarted after 3 seconds. After 5 crashes within a minute, cosmo2ex stops.
- Allow network access. Windows Firewall asks about ce_cores.exe and webserver.exe. Allow both on Private networks.
- If Windows treats your LAN as a Public network, the device can’t connect. Either switch the network to Private (Settings → Network & internet → your connection → Network profile type → Private), or tick Public as well.
- If you moved the folder after allowing access, Windows asks again.
- Start with Windows (optional): press Win+R, type shell:startup, and put a shortcut to ce_run.exe into the folder that opens.
Files
- Programs: the folder you unzipped.
- Settings, logs, data: %LOCALAPPDATA%\cosmo2ex (settings, log, data).
- Configuration: .env, next to ce_run.exe.
- Translated drive C: defaults to your user folder (C:\Users<you>). Change it in the web UI.
Update: stop cosmo2ex, then replace the folder with the new version. Copy your .env over first if you changed it. Settings are kept.
Uninstall: delete the folder. To remove everything, also delete %LOCALAPPDATA%\cosmo2ex.
Don’t run it together with the Docker image (Docker Desktop / WSL) on the same PC, since they compete for ports.
Option D: macOS
- Download from the GitHub Releases page:
- ce–macos-universal.zip
- SHA256SUMS
- Verify the zip. In Terminal, in the download folder:
shasum -a 256 -c SHA256SUMS –ignore-missing
The zip must report OK. - Unzip (double-click) and move the folder somewhere permanent, e.g. Applications.
- Allow the programs once. They aren’t signed with an Apple Developer ID, so macOS blocks them (“cannot be opened because the developer cannot be verified”). In Terminal, type the command, then drag the folder into the window to fill
in its path:
xattr -dr com.apple.quarantine /Applications/ - Start. Double-click cosmo2ex.command.
- A Terminal window opens, showing the output of ce_cores and the web server.
- Press Ctrl+C or close the window to stop.
- Crashes are handled the same way as on Windows.
- Allow network access. If the macOS firewall is on, it asks whether ce_cores and webserver may accept incoming connections. Click Allow. If you clicked Deny by mistake, change it in System Settings → Network → Firewall → Options.
- Start at login (optional): System Settings → General → Login Items → + → select cosmo2ex.command.
Files
- Programs: the folder you unzipped.
- Settings, logs, data: ~/Library/Application Support/cosmo2ex.
- Configuration: .env, next to ce_run. Finder hides it; press Cmd+Shift+. to show it.
- Translated drive C: defaults to your home folder.
Update: stop cosmo2ex, replace the folder (copy your .env over if you changed it), then run the xattr command again. Settings are kept.
Uninstall: delete the folder. To remove everything, also delete ~/Library/Application Support/cosmo2ex.
Firewall
On Windows and macOS, allowing the programs when the system asks (see above) opens these ports. You don’t need to add rules by hand.
The rest applies to linux options. If the server runs a firewall (for example `ufw`), allow inbound:
- 7200 – UDP – discovery requests (broadcast from devices)
- 7300 / 7301 / 7302 – TCP – HDD / FDD / IKBD cores
- 8080 – TCP – web UI (HTTPS)
sudo ufw allow 7200/udp
sudo ufw allow 7300:7302/tcp
sudo ufw allow 8080/tcp
Check the server before connecting anything
- Windows (PowerShell): netstat -ano | findstr “7200 7300 7301 7302 8080”
- macOS: lsof -nP -iUDP:7200 and lsof -nP -iTCP -sTCP:LISTEN | grep -E ‘730[0-2]|8080’
- linux:
sudo ss -ulpn | grep ':7200' # discovery is listening
sudo ss -ltnp | grep -E ':(7300|7301|7302|8080)' # cores and web UI
If port 7200 is missing, look in the logs for udp port 7200 is used by another running app. That usually means both the Docker container and the ce service are running. ce_cores exits when it can’t use port 7200.
Open https://<server-ip>:8080 in a browser and log in with the password ce. You must choose a new password right away. To get rid of the certificate warning, download https://<server-ip>:8080/ca.crt (linked on the login page) and install it once as a trusted root certificate on your PC.
Password reset: the web_password_hash file is in the settings folder for each system:
- Linux: /opt/ce/settings/
- Windows: %LOCALAPPDATA%\cosmo2ex\settings\
- macOS: ~/Library/Application Support/cosmo2ex/settings/
Connect the device
- Connect the board to the Atari: ACSI/SCSI port or floppy connector.
- Hard drive (ACSI/SCSI): plug in the Ethernet cable. The board gets an IP address by DHCP.
- Floppy: connects over WiFi. Setting up its WiFi network is not covered here yet.
- Power up.
Once it has an IP address, the device broadcasts a discovery request about once a second until the server answers. It then connects to the server and stays connected, sending a heartbeat every second.
What you should see on the device:
- Floppy (OLED display): `wifi connected / CE host discovery`, then connecting to host: <server ip>, then Loading image
- Hard drive (LED):
- long on, short off (1.9 s / 0.1 s): no Ethernet chip detected, firmware stopped
- This usually means the wrong firmware file is on the board.
- fast blink (0.4 s / 0.1 s): Ethernet cable not connected.