Skip to content

Your laser, shared with the whole house.

A small headless computer next to the laser — a Raspberry Pi, an old PC or a Windows laptop — runs Bernie Link. Your iPad, your iPhone, your Mac and any browser send it their jobs over the network: no more cable to plug in, no more computer to leave on.

How it works

Three steps, once.

  1. Plug the laser into the board A USB cable between the laser and the Raspberry Pi (or the PC). A Wi-Fi or Ethernet laser is reached by its address, with no cable.
  2. Install Bernie Link in one line It starts with the board, finds the laser and shows an 8-character pairing code that never changes on its own.
  3. Send jobs from your devices Enter the code once on the iPad, the iPhone, the Mac or in the browser. Every job is confirmed on the device that sends it, then the laser starts.

Why Bernie Link

No computer tied to the laser

The board stays next to the machine, day and night. It starts on its own and reconnects to the laser after a power cut or an unplugged cable.

iPad and iPhone engrave too

They have no USB port for the laser: with Bernie Link, they send their jobs over Wi-Fi, with framing, focus, pause and stop from afar.

Bernie Studio built in

Bernie Link serves Bernie Studio to every browser on the network, at http://<board-name>.local:46490/: nothing to install on the computer.

The whole house, one laser

Every device on the network can join with the pairing code: whoever draws on the iPad, whoever prepares on the Mac.

Safe by design

Local network only, a pairing code, every job confirmed on the device that sends it; pause and stop from any connected device.

Ruida, galvo and K40 too

On a CO2 laser with a Ruida controller, Bernie Link relays jobs over the network, or over USB when the controller is plugged into the board; a JCZ galvo board or a K40 with its stock M2 Nano board, plugged in over USB, engraves for all your devices.

A job queue, one at a time

Laser busy? Add your job to the queue (8 at most). At its turn, the start question comes back to your device: nothing starts without you.

The laser set up once for everyone

Bernie Link keeps the device — work area, speeds, power, origin, no-go zones — and offers it to every connected device; it also keeps the laser’s hour counter, with its maintenance reminders.

Or simply the desktop app

Bernie for Windows and Linux can share its USB laser too (Hub mode): the PC becomes a Bernie Link, for as long as you need.

What does it run on?

Bernie Link runs on almost anything lying in a drawer. The install script picks the right package by itself.

Raspberry Pi

Every model, from the Pi 1 and Zero to the Pi 5. On a 64-bit system: Pi 3, 4, 400, 5, Zero 2 W, Compute Module 3, 4 and 5; on a 32-bit system: all of them.

Other ARM boards

Orange Pi, Banana Pi… running Armbian or Debian, 32-bit (ARMv7) or 64-bit. Tested on an Orange Pi Zero over Wi-Fi.

Linux PC

Any 64-bit PC (x86_64) with systemd: an old laptop will do.

Windows PC

Windows 10 and 11, 64-bit: unzip, run bernie-hub.exe and leave its window open.

Raspberry Pi is a trademark of Raspberry Pi Ltd.

Install Bernie Link

Raspberry Pi and Linux PC: a single line

Plug the laser in over USB, then run this line in a terminal (any Raspberry Pi, another ARM board or a Linux PC with systemd, connected to the internet). The script picks the right package, checks its SHA-256 sum and installs Bernie Link as a service that starts with the computer. It then updates itself every night, between 3 and 6 a.m., never during a job; the same line updates it too. The installation also adds the bernie command, which checks, estimates and engraves a project from a terminal or a script (bernie.exe in the Windows archive).

curl -fsSL https://bernie.websolutis.com/link/install.sh | sudo sh

Options go after sh -s --: --port /dev/ttyUSB0 (the laser’s USB port, otherwise the first one found), --reseau 192.168.1.50 (a Wi-Fi or Ethernet laser), --nom Atelier (the name shown to your devices), --galvo (a JCZ galvo board instead of the laser; with --source mopa or --source co2 if the source is not a fiber), --k40 (a K40 with its stock M2 Nano board; --k40-carte M3 for another board), --sans-mise-a-jour (no automatic updates; to turn them off later: sudo systemctl disable --now bernie-link-maj.timer).

curl -fsSL https://bernie.websolutis.com/link/install.sh | sudo sh -s -- --port /dev/ttyUSB0 --nom Atelier

Windows 10 and 11

Download the .zip file below, unzip the bernie-link folder, run bernie-hub.exe and leave its window open: the pairing code is shown there. The laser’s USB driver (CH340, CP2102) must be installed; allow Bernie Link on the private network if Windows asks.

The pairing code

The pairing code (8 characters, without 0, O, 1, I or L) appears at the end of the installation and in the service log (journalctl -u bernie-hub); to see it again, on the board: sudo bernie-hub --code. On Windows, it is shown in the Bernie Link window. It stays the same from one start to the next, power cuts included; after 8 wrong codes in a row, Bernie Link picks a new one. Enter it once on your iPad, your Mac or in the browser: without it, the assistant goes no further. A Mac sharing its laser shows its own in Settings › Automation › Laser Sharing (Hub Mode), the desktop app in the Laser panel › Connection, once sharing is on.

Direct downloads

About 17 MB each; SHA-256 checksums. No internet on the board? Copy its package over, unpack it (tar -xzf), then run sudo ./installer.sh in the bernie-link folder.

Connect your devices

  • iPad, iPhone, Mac: Bernie Link shows up among the lasers found on the network (“Laser shared by a Mac or by Bernie Link”); choose it, enter its Pairing Code once, then Connect.
  • Browser: open http://<board-name>.local:46490/ (or the board’s address): Bernie Studio, served by Bernie Link, opens straight on the Laser tab. Enter the code once: it is remembered, and the page reconnects by itself next time. The “Bernie Link” badge in the toolbar shows the state (green: ready; orange: laser not connected; grey: code to enter).
  • Start a job: Send Job, then answer “Start the job?” on the same device. Without an answer nothing starts; the request is withdrawn after two minutes.
  • From afar: framing, focus (power capped by Bernie Link), home and moves from the connected device; pause and stop from any device.
  • Laser busy: Add a Job to the Queue…; it waits for its turn (8 at most) and the “Start the job?” question comes back to your device. Devices and Activity shows who is connected and what happened.
  • One setup for everyone: Send Device “…”… hands your device (work area, speeds, power, origin, no-go zones) to Bernie Link, which offers it to the other connected devices and refuses jobs and framings that would enter a no-go zone.

Safe by design

Bernie Link only works on your local network: it is never reachable from the internet.

An 8-character pairing code protects access; it only changes after too many wrong codes.

No job starts without being confirmed on the device that sends it, and the laser accepts nothing until it is ready (alarm, homing).

Frequently asked questions

Which Raspberry Pi do I need for Bernie Link?

Any of them, from the Raspberry Pi 1 and Zero to the Pi 5. On Raspberry Pi OS 64-bit (Pi 3, 4, 400, 5, Zero 2 W) it is the 64-bit package; on a 32-bit system, the ARM 32-bit one — the install script chooses for you. Use a good power supply: an under-powered Pi can lose its Wi-Fi.

Do I need a computer switched on next to the laser?

No, that is the whole point: Bernie Link runs on a small board without a screen, starts with it and reconnects to the laser after a power cut or an unplugged cable.

Does Bernie Link work without the internet?

Yes, on your local network: jobs, Bernie Studio and pairing stay at home. The internet is only needed to install it and for its updates; without it, copy the package onto the board.

How does Bernie Link update itself?

On its own, every night between 3 and 6 a.m., never during a job: its options and the pairing code are kept. Every update is signed, and a modified file is never installed. To turn updates off: sudo systemctl disable --now bernie-link-maj.timer, or the --sans-mise-a-jour option at install time.

Where do I find the pairing code?

On the board, with a keyboard or over SSH: sudo bernie-hub --code; it is also shown at the end of the installation and in the service log (journalctl -u bernie-hub). On Windows, in the Bernie Link window. It stays the same from one start to the next; after 8 wrong codes in a row, Bernie Link picks a new one, which devices already paired will have to enter.

Can several people use the same laser?

Yes: every device on the network joins with the pairing code. If the laser is busy, the job goes into the queue and waits for its turn; each job is confirmed on the device that sends it, and any connected device can pause or stop it.

Can I share the laser without a Raspberry Pi?

Yes: the Bernie app for Windows and Linux shares its USB laser on the network (Laser panel › Connection › Share This Laser on the Network (Hub Mode)…). The PC then serves Bernie Studio and receives jobs just like Bernie Link; Stop Sharing gives the laser back to the app.

Do I need to install anything for my devices to find Bernie Link?

No: Bernie Link announces itself on the local network (Bonjour), with nothing to install on Linux; on Windows 10 and 11, the system takes care of it. Your devices see it among the lasers found.

Which lasers work with Bernie Link?

The lasers Bernie drives over USB or the network (Wi-Fi, Ethernet) — see the compatible machines — as well as JCZ galvo boards and K40s with their stock M2 Nano board. For CO2 lasers with a Ruida controller, Bernie Link relays jobs over the network, or over USB when the controller is plugged into the board (Gweike Cloud…), from Bernie Studio in the browser.

Can Bernie Link drive a galvo or fiber laser?

Yes: a JCZ “LMC” galvo board (the EZCad2 one), plugged into the Bernie Link machine over USB, takes the place of the GRBL laser. Install with the --galvo option: curl -fsSL https://bernie.websolutis.com/link/install.sh | sudo sh -s -- --galvo; add --source mopa or --source co2 if the source is not a fiber, and the serial number after --galvo to pick one board among several. The installer sets up the USB access rule. Your iPad, iPhone, Mac and browser frame with the red pointer and mark through it; every marking is confirmed on the device that sends it, after a safety question. If the board is unplugged, Bernie Link reopens it on its own when it comes back. Rotary, external axis and repeated marking are not driven yet.

Can Bernie Link drive a K40 with its stock M2 Nano board?

Yes: a K40 CO2 laser that kept its original Lihuiyu board (M2 Nano, M3, B2…), plugged into the Bernie Link machine over USB, takes the place of the GRBL laser. Install with the --k40 option: curl -fsSL https://bernie.websolutis.com/link/install.sh | sudo sh -s -- --k40; add --k40-carte M3 for a board other than the M2, and --k40-serie followed by the serial number if your board asks for it. The installer sets up the USB access rule. Your iPad, iPhone, Mac and browser frame (laser off), move the head and engrave through it; every job is confirmed on the device that sends it, after a safety question, and starts from the origin. On an M2, power is set with the knob on the K40’s panel.

Does Bernie Link enforce no-go zones and keep the hour counter?

Yes. Bernie Link checks the jobs and framings it receives against the no-go zones of the device it keeps (Send Device “…”…) and refuses those that would enter one, with the zone’s name. It also keeps its laser’s hour counter — work and firing hours, jobs, distance engraved —, shown to the devices that connect to it with the maintenance reminders; Done records the maintenance there, whichever device reports it.

Can I engrave from a script or another program?

Yes, in two ways. The bernie command, installed with Bernie Link (/usr/local/bin/bernie, bernie.exe in the Windows archive), checks, estimates, exports to G-code and engraves a .bernie project without opening a window: for example bernie graver badge.bernie --serie 1042 --hub bernie-link.local --code YOURCODE --oui. Bernie Link’s HTTP API also accepts a project (POST /hub/v1/project): Bernie Link prepares the job with the device it keeps, runs the pre-flight check and checks the no-go zones. Either way, nothing is engraved without a confirmation: --oui for the command, POST /hub/v1/confirm for the API.

Is Bernie Link free?

Yes, like Bernie: no account, no subscription. Bernie is funded by donations.

Bernie Link is free, like Bernie.

One line on a Raspberry Pi, and every device you own engraves on the same laser.