Help CenterNetwork & hardware

Sell Wi-Fi cards (MikroTik and OpenWrt)

Link your router and issue speed-limited cards. · 7 min read

The WiFi module lets you sell internet cards to your customers: each card has a duration, speed, and quota, and every sale is recorded in the shift. There are 3 ways to run it. Pick the one that fits your network in WiFi → Choose WiFi system.

SystemWhat it needsBest for
Lan WiFiA local server PC with two network cardsWhen you don't want to buy a special router
OpenWrtA router or access point running OpenWrtQuick one-command setup and a cloud portal
MikroTikA MikroTik router with HotspotLarge networks and full control

Lan WiFi (from the local server)

  1. Make sure the local server is running and online. Guide
  2. In Network Settings, choose the internet card (WAN) and the internal network card (LAN). They must be different.
  3. In Plans, create a plan: name, minutes, price, download and upload speed, and quota (0 = unlimited).
  4. In Portal Page, add the center name, logo, welcome message, offers, and a WhatsApp number.
  5. Start the portal, and sell cards from the dashboard. The code is 10 digits, and the timer starts on first use.

OpenWrt

  1. Click Activate OpenWrt. The account and access point are created automatically.
  2. Copy the Setup link command and run it on the router from the terminal.
  3. Enter the network name, password, venue name, and logo.
  4. Create plans (price, hours, GB, speed) and start selling.

MikroTik

  1. Make sure Hotspot is running on the router, and the local server is on the same network.
  2. Copy the Winbox script from the dashboard and run it on the router. It enables the API on port 8728 and creates a ccu user.
  3. Enter the router IP, port, username, and password, and click Test connection.
  4. Create plans. Each card is created as a Hotspot user with an 8-digit code and time and data limits.

With MikroTik, a sale is recorded only after the router confirms the card was created, so no card is ever sold that doesn't work.

Next guideAutomate console TVs with Sonoff
Still need help?Our support team is on WhatsApp and Telegram. WhatsApp
×