How Hotspot works
What is Hotspot?
Section titled “What is Hotspot?”Picture a café, a hotel lobby, or a bus station with Wi-Fi. The people who walk in are not your regular subscribers. They have no PPPoE username, no contract, and they only want internet for an hour, a day, or a week.
Hotspot is how you sell internet to them. You sell a small printed card. The card holds a secret code. A customer buys one, connects to the Wi-Fi, and a login page opens by itself. They type the code, and they are online. When the time or data on the card runs out, they buy another.
It works like a prepaid phone top-up card, for Wi-Fi.
The story, start to finish
Section titled “The story, start to finish”- You prepare the Wi-Fi once. You tell Farava which router and place the Hotspot is on. This is the part the Farava team helps with.
- You create cards. You choose a service plan (for example “1 day, 5 GB”) and how many cards you want. Farava makes a batch of cards with codes, and you print them.
- You sell the cards. You can sell them yourself, or hand them to shops and resellers (your partners) who sell them to customers. Each one gets a handover record, and Farava keeps their account: what they owe, what they paid, and what is overdue.
- The customer buys a card from the shop, connects to the Wi-Fi, and types the code on the login page.
- Farava does the rest. It checks the code, gives the plan’s speed, time, and data, and cuts the customer off when the card runs out. You can see what is used, what is unused, and who holds your cards.
Who does what
Section titled “Who does what”| Who | What they do |
|---|---|
| You (the ISP) | Set up the Hotspot, create and print cards, sell them, and collect payments. |
| Shops and resellers | Take cards from you, pay you, and sell them to customers. |
| The customer | Buys a card, connects to the Wi-Fi, and types the code. |
You stay in control. You decide the plan, the price, and who may hold cards. You can suspend or revoke a batch or a single card at any time, and the Overview shows what needs your attention.
What you need to know to start
Section titled “What you need to know to start”The rest of this guide follows the same story: set up the places where cards work, create and print cards, sell them to shops and resellers, and prepare the router login page.
The Hotspot access page
Section titled “The Hotspot access page”Hotspot access in the sidebar opens a page with four tabs:
| Tab | What it is for |
|---|---|
| Overview | Status banner, quick actions, key numbers, and what needs attention. |
| Card batches | Every batch of cards: create, print, sell, suspend, or revoke. |
| Sales | Every sale of cards to shops and partners. |
| Shops | The shops that receive cards and pay for them. |
Overview
Section titled “Overview”- The banner tells you whether Hotspot is off, in Observe only, or switching to Enforce. Cards only work for customers once Hotspot is enforcing. Enforcement settings opens the page where this is changed.
- Quick actions: Sell cards, Record payment, Browse card batches, Create cards.
- Key numbers: Cards ready to sell, Cards in use, Owed by shops, and Overdue shops.
- Needs attention lists batches whose codes can still be downloaded (and for how long), shops with overdue balances, and batches that failed to create.
- Recent sales shows the latest handovers, with a link to All sales.
Four ideas
Section titled “Four ideas”| Idea | Meaning |
|---|---|
| Access zone | A group of places where cards work, for example “City-centre cafés”. |
| Access endpoint | One Hotspot service on one router, belonging to a zone. |
| Batch | A group of cards created together from one plan. |
| Card | One login on a printed card: a code, or a numeric username and password; the customer uses it on the Hotspot login page. |
Setting up (once per location)
Section titled “Setting up (once per location)”- Register the router — Register a router (NAS) and set up
RADIUS with the
hotspotservice — MikroTik setup. - Create an access zone — Network → Hotspot setup → Access zones → Add access zone, name it, and save.
- Add an access endpoint — Access endpoints → Add access endpoint: choose the router and zone, enter the identifier of the Hotspot service on the router, and review. Keep the endpoint disabled until the router is ready.
- Install the login page on the router — with the Farava team. See Router login page. The login page only works over HTTPS so codes are sent securely.
- Create a test batch and try one card with a phone — see Cards and batches.
Data limits on Hotspot
Section titled “Data limits on Hotspot”If a card’s plan has a data allowance, the router itself ends the session when the allowance is used up, and Farava also watches usage and disconnects the customer as a backup. You can create a data-capped batch without any extra approval. The endpoint page may show “Byte quota” as Lab-verified or Not lab-verified: that only records whether the Farava team has tested that router, and it does not stop you from creating a batch.
Two things to know:
- Reporting interval. The router should report usage often; every 60 seconds is recommended. If the router’s page shows Usage is reported slowly for this Hotspot router, change the interval from the link in the warning and ask the Farava team to make the router’s Hotspot profile follow it. A slow interval means a customer can use more than their allowance before Farava reacts, and a card whose session was lost stays busy for about three intervals.
- Tested on hardware. On a MikroTik RB951G the router cut a 30 MB card’s session at the limit Farava sent, a card above 4 GB got the right limit, and a used-up card was refused on its next sign-in. Farava counted only a few hundred bytes past the limit. Other router models have not been tested, so try a small capped card on each new model. Data limits are counted in binary units: a “30 MB” card is cut at 31,457,280 bytes.
One router, PPPoE and Hotspot
Section titled “One router, PPPoE and Hotspot”One router can serve both PPPoE subscribers and Hotspot. Each has its own access endpoint. Before Hotspot is turned on, the Farava team also checks the PPPoE settings on the same router so PPPoE sign-ins are not rejected.