DIY Raspberry Pi Bonding Router for Streaming, Built on Speedify

Combine Starlink, 4G, 5G, DSL and Others on a Raspberry Pi to Avoid Poor Video Streaming Quality, Buffering and Dropouts

1When the Wi-Fi drops, your live stream freezes Choppy video, then the stream ends 2Manually switch to a backup internet connection? Viewers leave while you fix it 3Build a Raspberry Pi router with Speedify The Pi running Speedify combines Wi-Fi, 4G/5G and Starlink to keep the stream live Wi-Fi Online Weak signal Offline Back online Picture frozen Viewers leave LIVE STREAM GOES BLANK Wi-Fi Online Offline 4G/5GUSB StarlinkEthernet RaspberryPi Still live
1When the Wi-Fi drops, your live stream freezes Choppy video, then the stream ends Wi-Fi Online Weak signal Offline Back online Picture frozen Viewers leave 2Manually switch to a backup internet connection? Viewers leave while you fix it LIVE STREAMGOES BLANK 3Build a Raspberry Pi router with Speedify The Pi running Speedify combines Wi-Fi, 4G/5G and Starlink to keep the stream live Wi-Fi Online Offline 4G/5GUSB StarlinkEthernet RaspberryPi Still live

A bonding router combines several internet connections into one, so a live stream keeps a steady upload and stays online when one internet connection drops. You can build one on a Raspberry Pi with Speedify, an app that combines Wi-Fi, 4G/5G cellular, Ethernet, Starlink and satellite internet connections (DSL included) at the same time and splits the traffic packet by packet across all of them. The gains need two or more internet connections; with only one, Speedify works as an encrypted VPN and cannot stop that internet connection from dropping.

This guide shows how to build one for streaming from a Raspberry Pi and Speedify: the parts list, the setup steps and how to place the router and its internet connections.

How do I use WiFi and 4G/5G cellular at the same time with Speedify?

How Speedify bonds Wi-Fi and cellular connections

Pick your two internet connections and your device below and we'll take you to the step-by-step setup guide.

I want to combine…

Use the selectors below to find the setup guide for your exact combination of connections.

Or view articles for

Get started with Speedify today

Free to try on every device. No credit card required.

15M+ downloads worldwide · 75K+ five-star reviews · 500TB+ bonded per week

Why You Need to Use an Internet Bonding Router for Streaming

Choppy, low quality video, buffering and disconnects during a live stream usually come from a single internet connection running out of upload capacity or dropping. The fix is to use all available Internet connections at once.

Most streamers have at least two Internet connections available when streaming live:

  1. Your home or studio Internet or the Wi-Fi provided by your hotel, cafe, train, etc.
  2. Your 4G / 5G cellular internet connection from your smartphone.
  3. A public Wi-Fi hotspot.
  4. A USB cellular dongle you may have from your network carrier.

You usually use the first one as your main internet connection. And if that fails, you might remember to connect by creating a hotspot from your phone or tethering it to your computer. But why not use all that are available?

Dedicated hardware for combining internet connections, from vendors such as LiveU or Peplink, does the same job in a sealed box, and Speedify itself also runs on ready-made routers (listed in the last section). This guide covers a lower cost route instead: a Raspberry Pi running Speedify.

Benefits of Using a Raspberry Pi to Combine Internet Connections for Streaming

The Raspberry Pi is the best known single-board computer, used for projects from art to cybersecurity and robotics. The Pi has been on the market since 2012; the Raspberry Pi 4 and the newer Raspberry Pi 5 are the current models. Turning one into a router that combines internet connections costs far less than a dedicated appliance, and the Pi can still do other jobs.

Speedify is the software that turns the Raspberry Pi into a router that combines internet connections. Speedify uses all of your Internet connections at the same time instead of switching between them, splitting traffic packet by packet across them (a software form of link aggregation). Speedify also encrypts that traffic like a VPN on its way to Speedify’s servers. Running it on a Raspberry Pi has three advantages over a fixed appliance:

  • it’s more flexible, accepting any type of Internet connection;
  • it will not become obsolete in a couple of years, because the software that combines the internet connections keeps getting updated;
  • it’s truly portable: power the Raspberry Pi with a battery pack while traveling and move around using multiple cellular and Wi-Fi networks.

Requirements for a Raspberry Pi Router That Combines Internet Connections for Streaming

  • 1 x Raspberry Pi 4 or newer. More RAM is better; the 4 GB version is the recommended choice for this build.
  • 1 x Raspberry Pi 4 or newer case, for protection and convenience.
  • 1 x Raspberry Pi 4 or newer power supply, for when you have access to an outlet. Make sure it matches your type of outlet. On the move, use a USB-C cable with a battery pack that delivers at least 3A of output current (15W of output power); a Raspberry Pi 5 needs a 5A (27W) supply to power USB modems and phones at full current.
  • 1 x micro-SD card to run the Raspberry Pi OS.
  • USB / Bluetooth keyboard and mouse to configure the Pi initially.

Alternatively, you can purchase all the above (and more) as the Raspberry Pi 4 Desktop Kit. You also need:

  • Additional Internet connections. The Raspberry Pi’s built-in Ethernet port can take an internet connection from a Starlink router (the Gen 2 Starlink router needs Starlink’s Ethernet Adapter; Router 3 and Router Mini have Ethernet ports), DSL modem or cable modem, and its internal Wi-Fi can create the Wi-Fi hotspot for other devices to connect to. To also use another Wi-Fi network as an internet source, add a USB Wi-Fi adapter. Add USB cellular adapters if available, or tether a smartphone to the Raspberry Pi over USB.
  • 1 x paid Speedify plan to run Speedify for Linux (Speedify has no free tier on Linux).

How to Build a Raspberry Pi Router That Combines Internet Connections for Streaming

Here are the steps to build the Raspberry Pi router for streaming:

  1. Install Speedify on Raspberry Pi OS (Bookworm or later): open a terminal on the Pi and run bash -c "$(curl -sL https://get.speedify.com)". Then sign in with speedify_cli login followed by your email and password, or run speedify_cli activationcode and open the activation link it gives you in any browser. The install guide has the details.
  2. Plug in or connect the internet connections you want to combine. Speedify recognizes them automatically; if one doesn’t show up, see adding internet connections on Linux.
  3. To share the combined internet connection over Wi-Fi, follow the instructions in the Speedify knowledge base, or find the walkthrough on the Speedify YouTube channel. To share it over wired Ethernet instead, see the steps here.
  4. Connect your devices to the new router over Wi-Fi or Ethernet. If one internet connection drops, traffic moves to the others, so the stream stays up as long as one internet connection is still working.
  5. To limit cellular data use, set a capped cellular internet connection to Speedify’s Backup priority so Speedify uses it only when the other internet connections fail; see the Connection Priority section here.

Where to Place the Raspberry Pi Router and Its Internet Connections for Streaming

Here are some tips to get the best out of your Raspberry Pi router when broadcasting live:

  • Place the Raspberry Pi router as close to the Internet source as possible, especially when that source is a Wi-Fi hotspot.
  • If using cellular internet connections, keep the adapters (USB dongle, your smartphone) close to windows, so the signal does not get attenuated.
  • If possible, use the built-in Ethernet adapter on the Pi for your home Internet source and share the combined internet connection over Wi-Fi.

By default the Raspberry Pi router running Speedify delivers the best combined speed and lowest latency the internet connections allow. Because traffic goes through Speedify’s servers in the cloud, the result also depends on the route to the nearest server, so there may be room for improvement. If the combined speed is lower than expected, check out this guide on fixing that.

Ready-Made Speedify Routers That Combine Internet Connections

If you would rather not build one, Speedify also runs on routers: OpenWrt 23.05 or later (x86_64 and aarch64), supported GL.iNet models running GL.iNet firmware, and Powered by Speedify routers such as the Miri X510. These routers need a Speedify Router License; a Raspberry Pi built as in this guide runs Speedify for Linux on a paid Speedify plan. Contact the Speedify team to choose the right setup.

Speedify

Get started with Speedify today.

Speedify combines Wi-Fi, 4G/5G cellular, Ethernet, Starlink and satellite into one faster, more reliable internet connection. Free to try: 5 GB a month with a free account. No credit card required.

🚀 Speed

Faster uploads and downloads, because Speedify uses all your internet connections at once.

📶 Stability

If one internet connection drops, Speedify moves your traffic to the others in milliseconds.

🔒 Security

AES-256 encryption on every internet connection, on any network you join.

15M+ downloads worldwide. 75K+ five-star reviews on iOS and Android.