Network
Connect an Omada or Ruijie Controller: Sell Wi-Fi Without MikroTik
Already run TP-Link Omada or Ruijie access points? Connect the controller to Centranet and its Wi-Fi shows your payment page. Customers pick a package, pay with M-Pesa and the controller lets them online.
Video
Watch it done in about two minutes
Connect your TP-Link Omada controller to Centranet
Add your Omada controller (Cloud-Based, software or OC200/OC300), set the External Portal Server and Pre-Authentication Access on Omada, test the connection and start selling Wi-Fi with M-Pesa. No MikroTik needed.
Watch on YouTubeCheck what you need
An Omada Software Controller, OC200/OC300 or Omada Cloud-Based Controller on version 5.0.15 or later, or Ruijie access points managed in Ruijie Cloud that support an external (WiFiDog) portal. You also need published hotspot packages that are available on all sites and an active payment option in Settings → Payments.
- Omada software controller or OC200/OC300: reachable from the internet over HTTPS with a valid certificate (self-signed certificates are refused)
- Reyee-only networks need a Reyee gateway for an external portal
Add the controller in Centranet
Open Routers → Add router or controller and choose TP-Link Omada controller or Ruijie Cloud. The controller form opens with that type already chosen. You can also open Network → Omada & Ruijie in the menu (or Settings → Network → Access point controllers) and tap Add controller. Give it a name and save. Centranet then shows your own portal address, and for Ruijie an authentication server address, with a Copy button.
- Portal address: https://centranetispbilling.com/ap-portal/ followed by your controller's code
- Only the owner and admins can add controllers
Omada: create a hotspot operator
In the Omada controller open the site, then Hotspot → Operators → Create Operator. Give it a strong password and access to this site only. Do not use the controller admin account. Copy the 32-character controller ID from the browser address bar after you sign in.
Omada: point the portal to Centranet
Site Settings → Authentication → Portal → Create New Portal. Choose the SSIDs that sell access and set Authentication Type to External Portal Server. Under Custom Portal Server choose URL and paste your portal address from Centranet. Turn on HTTPS Redirection.
Omada: add the pre-authentication entries
In the same portal open Access Control → Pre-Authentication Access and add each address as a URL entry. Without them the payment page cannot load before payment. M-Pesa prompts are sent from our servers, so no Safaricom entry is needed.
- centranetispbilling.com
- www.centranetispbilling.com
- supabase.centranetispbilling.com
- Only if you take cards with Paystack: js.paystack.co, checkout.paystack.com, api.paystack.co
Omada: test and turn on
Back in Centranet enter the controller address (for example https://your-controller:8043, or your cloud controller address), the controller ID, the site name and the hotspot operator. Tap Test connection. It signs in as the operator and reads the controller version, and never connects a device. When every check is green, turn the controller on.
- Optional: add an Omada Open API app (Client mode) so devices are removed the moment a package ends and you can see who is connected. Without it, the time limit set on the controller ends access
Ruijie: set up the external portal
In Ruijie Cloud go to Authentication → Captive Portal → Add, choose External and the SSIDs that sell access. Paste the portal address as the Portal Server URL and the authentication server address as the WiFiDog / authentication server. If Ruijie asks for only one Server URL, paste the authentication server address there. If it asks for the portal or authentication IP, enter 109.123.248.184.
- Allowlist (walled garden): centranetispbilling.com, www.centranetispbilling.com, supabase.centranetispbilling.com and the IP 109.123.248.184
- Turn off Client Escape, otherwise people get free internet when the portal is slow
- Gateway ID: keep the default (the access point serial). Add the serials in Centranet to accept only your access points
Try it with a phone
Join the Wi-Fi, buy the smallest package and check that you are online. For Ruijie, tap Test connection in Centranet after the phone has joined: it shows whether an access point has checked in. Omada lists the device under Hotspot → Authorized Clients.
Check status, sales and offline alerts
Network → Omada & Ruijie lists every controller with its status (Connected, Unreachable, Not tested or Turned off), last contact, last test result, access points, devices on the Wi-Fi and today's sales through its portal. Use Test connection, Edit, the on/off switch or Setup guide on each controller.
- Offline alerts: you get an SMS (from your SMS credits) and an email when an Omada controller stops answering for 5 minutes, or a Ruijie access point stops checking in for 10 minutes, and again when it is back
- Alerts use the same on/off switch and delay as the access point alerts on the network map, and go to the workspace contact and admins
- Turn alerts off for one controller with its switch. A controller that never connected never alerts
- Access point and device counts need the optional Omada Open API app or Ruijie Cloud API keys. Ruijie access points are listed as they check in
Good questions. Clear answers.
Let’s clear
a few things up.
A little clarity goes a long way.
Ask us something elseDo I need a MikroTik router for this?
No. The Omada or Ruijie controller lets paying customers online. Centranet shows the payment page, takes the M-Pesa payment and tells the controller how long each device may stay online.
Which Omada versions work?
Version 5.0.15 or later. Omada changed the unit of the time limit in version 6.2.10 (microseconds before, milliseconds from 6.2.10). Centranet reads the controller version and sends the right unit; you can also pick the version yourself in the controller settings.
How does access end when a package runs out?
Omada ends access at the time limit set when the customer paid, or at once if you added an Open API app. Ruijie access points check with Centranet about once a minute and are told to remove the device when the package ends.
Which packages are sold on the access points?
Published hotspot packages that are available on all sites. You can narrow the list for each controller in its settings.
Will I know if the controller or an access point goes offline?
Yes. Centranet checks Omada controllers every two minutes and sends an SMS and email after 5 minutes without an answer. Ruijie access points check in about once a minute; one that used to check in and goes silent for 10 minutes sends an alert. You get another message when it is back. Ruijie access points alert once they have sold access or are listed under Gateway IDs.