<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gino Sotongbe</title>
	<atom:link href="https://sogino.com/feed" rel="self" type="application/rss+xml" />
	<link>https://sogino.com/</link>
	<description></description>
	<lastBuildDate>Tue, 03 Nov 2026 10:14:35 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://sogino.com/wp-content/uploads/2025/05/favicon-150x150.png</url>
	<title>Gino Sotongbe</title>
	<link>https://sogino.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hotspot Wi-Fi en panne ? Fournisseur, câble ou DNS (MikroTik)</title>
		<link>https://sogino.com/hotspot-mikrotik-pas-d-internet-diagnostic</link>
					<comments>https://sogino.com/hotspot-mikrotik-pas-d-internet-diagnostic#respond</comments>
		
		<dc:creator><![CDATA[squadadmin]]></dc:creator>
		<pubDate>Tue, 10 Nov 2026 17:12:51 +0000</pubDate>
				<category><![CDATA[Pikro]]></category>
		<guid isPermaLink="false">http://digino.local/hotspot-mikrotik-pas-d-internet-diagnostic</guid>

					<description><![CDATA[<p>Vos clients n'ont plus Internet ? Vérifiez le câble, la box, Internet puis le DNS dans cet ordre, avec des commandes MikroTik simples. La première panne est la cause.</p>
<p>The post <a href="https://sogino.com/hotspot-mikrotik-pas-d-internet-diagnostic">Hotspot Wi-Fi en panne ? Fournisseur, câble ou DNS (MikroTik)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Quand vos clients disent que le Wi-Fi ne marche plus, vérifiez quatre choses dans cet ordre : le <strong>câble Internet</strong>, la <strong>box de votre fournisseur</strong>, <strong>Internet lui-même</strong>, puis les <strong>noms des sites (DNS)</strong>. La première étape qui échoue est la source du problème, et elle vous dit qui appeler. Câble mal branché : vous le réglez vous-même. Box bloquée : vous la redémarrez. Ligne coupée : c&rsquo;est à votre fournisseur d&rsquo;agir. Si seul le DNS échoue, vous réglez cela en une minute.</p>
<p>Je suis Gino Sotongbe, et je développe <a href="/pikro">Pikro</a>, un outil gratuit pour les techniciens et gérants de hotspots MikroTik. Ce guide fonctionne avec WinBox seul. Ouvrez <strong>New Terminal</strong> dans WinBox et tapez les commandes ci-dessous. Elles fonctionnent sur RouterOS 6 et 7, sauf mention contraire.</p>
<h2>Étape 1 : le câble Internet</h2>
<p><strong>Ce que cela signifie :</strong> votre routeur MikroTik doit être branché physiquement au port Internet, et il doit connaître une route vers Internet (la « route par défaut »).</p>
<p><strong>Comment vérifier :</strong></p>
<pre><code>/ip route print where dst-address=0.0.0.0/0
/interface print</code></pre>
<p>La première commande doit afficher une route avec le drapeau <code>A</code> (active). Notez l&rsquo;interface ou la passerelle utilisée, en général <code>ether1</code>. Dans la seconde liste, cette interface doit avoir le drapeau <code>R</code> (running). Sans <code>R</code>, il n&rsquo;y a pas de liaison.</p>
<h3>Que faire</h3>
<ul>
<li><strong>Pas de <code>R</code> sur le port Internet :</strong> vérifiez le câble aux deux bouts, essayez un autre câble, et assurez-vous que la box du fournisseur est allumée. Les coupures de courant débranchent plus de choses qu&rsquo;on ne le croit.</li>
<li><strong>Pas de route par défaut active :</strong> le routeur ne sait pas où est Internet. Vérifiez sa configuration Internet (client DHCP ou PPPoE) dans WinBox. Si un technicien l&rsquo;a installé, appelez-le.</li>
</ul>
<h2>Étape 2 : la box de votre fournisseur</h2>
<p><strong>Ce que cela signifie :</strong> le câble est branché, mais la box (modem, terminal fibre, radio) peut être bloquée ou avoir perdu son signal. Le routeur lui envoie un petit message de test : c&rsquo;est un ping.</p>
<p><strong>Comment vérifier :</strong> utilisez l&rsquo;adresse de passerelle de la route affichée à l&rsquo;étape précédente.</p>
<pre><code>/ping 192.168.1.1 count=3</code></pre>
<p>Remplacez <code>192.168.1.1</code> par votre passerelle. Si vous voyez des réponses avec des temps en <code>ms</code>, la box répond. Si chaque ligne indique <code>timeout</code>, elle ne répond pas. En PPPoE, il n&rsquo;y a pas d&rsquo;adresse de passerelle à tester : la connexion elle-même est le test, et l&rsquo;étape 1 l&rsquo;a déjà couvert.</p>
<h3>Que faire</h3>
<p>Éteignez la box de votre fournisseur, attendez 30 secondes, rallumez-la et patientez deux minutes. Refaites le ping. Si elle ne répond toujours pas, appelez votre fournisseur ou le technicien qui a installé la box.</p>
<h2>Étape 3 : Internet</h2>
<p><strong>Ce que cela signifie :</strong> la box répond, mais y a-t-il quelque chose au-delà ? On teste un serveur public très connu, 1.1.1.1. C&rsquo;est une adresse et non un nom : le DNS n&rsquo;intervient pas dans ce test.</p>
<p><strong>Comment vérifier :</strong></p>
<pre><code>/ping 1.1.1.1 count=3</code></pre>
<p>Des réponses signifient qu&rsquo;Internet est joignable. Des <code>timeout</code> signifient que la ligne est coupée au-delà de la box.</p>
<h3>Que faire</h3>
<p>Appelez votre fournisseur. Vous pouvez dire : « Ma box répond, mais rien ne répond au-delà. » Cette phrase vous évite le classique « avez-vous redémarré ? ». Rien de ce que vous changez dans le routeur n&rsquo;aidera : ne touchez pas aux réglages.</p>
<h2>Étape 4 : les noms des sites (DNS)</h2>
<p><strong>Ce que cela signifie :</strong> les téléphones et ordinateurs cherchent les sites par leur nom. Le DNS est l&rsquo;annuaire qui transforme <code>google.com</code> en adresse. Quand les serveurs DNS du fournisseur ne répondent plus, la ligne est bonne mais rien ne s&rsquo;ouvre. C&rsquo;est une cause très fréquente de « connecté, mais pas d&rsquo;Internet ».</p>
<p><strong>Comment vérifier :</strong></p>
<pre><code>:resolve google.com</code></pre>
<p>Vous devez obtenir une adresse IP. Une erreur ou une longue attente indique un problème de DNS. Pour voir quels serveurs le routeur interroge :</p>
<pre><code>/ip dns print</code></pre>
<h3>Que faire</h3>
<p>Passez le routeur sur des serveurs DNS publics :</p>
<pre><code>/ip dns set servers=1.1.1.1,8.8.8.8</code></pre>
<p>Relancez ensuite <code>:resolve google.com</code>. Si le routeur sert de DNS à vos clients hotspot, vérifiez aussi que <code>allow-remote-requests</code> vaut <code>yes</code> dans <code>/ip dns print</code>, sinon vos clients ne peuvent pas l&rsquo;utiliser comme DNS.</p>
<h2>Toujours en panne ? Le routeur lui-même</h2>
<h3>L&rsquo;horloge</h3>
<p>Les tickets expirent selon l&rsquo;horloge du routeur. Après une coupure de courant, un routeur sans heure automatique peut redémarrer avec une mauvaise date. Les tickets expirent alors trop tôt ou trop tard, et les connexions sécurisées (HTTPS), dont la vérification des mises à jour du routeur, échouent quand la date est fausse. Vérifiez :</p>
<pre><code>/system clock print
/system ntp client print</code></pre>
<p>Pour activer l&rsquo;heure automatique sur RouterOS 7 :</p>
<pre><code>/system ntp client set enabled=yes servers=pool.ntp.org</code></pre>
<p>Sur RouterOS 6, le réglage porte un autre nom :</p>
<pre><code>/system ntp client set enabled=yes server-dns-names=pool.ntp.org</code></pre>
<p>Le routeur a besoin d&rsquo;Internet et du DNS pour joindre ce serveur : réglez d&rsquo;abord les étapes 1 à 4. Si la date reste fausse, réglez-la à la main avec <code>/system clock set</code>. Le format de la date dépend de la version : regardez ce qu&rsquo;affiche <code>/system clock print</code> et copiez ce style.</p>
<h3>Un redémarrage</h3>
<p>Un routeur allumé depuis des mois peut devenir lent ou bloqué. Un redémarrage règle souvent le problème :</p>
<pre><code>/system reboot</code></pre>
<p>Les clients sont déconnectés environ une minute. Vos réglages, forfaits et tickets sont conservés.</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/troubleshoot-problem.fr_.png" alt="La vérification Internet de Pikro détecte un problème de DNS" /><figcaption>La vérification Internet de Pikro détecte un problème de DNS</figcaption></figure>
<p>Taper tout cela au comptoir, en plein service, n&rsquo;est pas agréable : Pikro lance donc les quatre vérifications en un clic. Ouvrez <strong>Outils, Dépannage</strong> : la Vérification Internet s&rsquo;exécute depuis le routeur lui-même et passe en revue Câble Internet, La box de votre fournisseur, Internet et Noms des sites (DNS). Elle s&rsquo;arrête à la première étape en échec et dit ce qui ne va pas en mots simples : « Le câble Internet est débranché », « La box de votre fournisseur ne répond pas », « La ligne de votre fournisseur est coupée » ou « Les sites sont introuvables par leur nom ». Quand le DNS est en cause, le bouton <strong>Utiliser un DNS public</strong> passe le routeur sur 1.1.1.1 et 8.8.8.8. Si toutes les étapes réussissent mais que vos clients trouvent encore que c&rsquo;est lent, la même page propose un test de débit.</p>
<p>Le lien « Toujours bloqué ? Redémarrez le routeur dans Maintenance » vous mène à <strong>Outils, Maintenance</strong>. Cette page affiche l&rsquo;Horloge du routeur, avec un bouton <strong>Activer l&rsquo;heure automatique</strong>, vérifie si une version plus récente de RouterOS existe (elle ne fait que vérifier, la mise à jour se fait depuis WinBox) et propose un bouton <strong>Redémarrer le routeur…</strong> qui demande une confirmation. Les deux pages existent en français et en anglais.</p>
<h2>FAQ</h2>
<h3>Mes clients sont connectés au Wi-Fi mais n&rsquo;ont pas Internet. Pourquoi ?</h3>
<p>Leur téléphone joint votre routeur, mais le routeur ne joint pas Internet, ou ne traduit pas les noms. Faites les étapes 1 à 4 : la première qui échoue vous dit si c&rsquo;est le câble, la box, la ligne ou le DNS.</p>
<h3>Comment savoir si c&rsquo;est mon fournisseur le problème ?</h3>
<p>Si le câble est branché et que la box répond au ping (étapes 1 et 2 réussies) mais que <code>/ping 1.1.1.1</code> échoue (étape 3), le problème est au-delà de la box. Appelez votre fournisseur.</p>
<h3>Pourquoi certains sites s&rsquo;ouvrent et d&rsquo;autres non ?</h3>
<p>Cela indique souvent un problème de DNS ou une ligne lente et instable. Lancez <code>:resolve google.com</code>, et passez sur un DNS public si cela échoue.</p>
<p>Si vous préférez cliquer plutôt que taper, <a href="/pikro-fr">découvrez Pikro</a>.</p>
<p>The post <a href="https://sogino.com/hotspot-mikrotik-pas-d-internet-diagnostic">Hotspot Wi-Fi en panne ? Fournisseur, câble ou DNS (MikroTik)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sogino.com/hotspot-mikrotik-pas-d-internet-diagnostic/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hotspot Wi-Fi not working? Is it your provider, your cable or DNS (MikroTik)</title>
		<link>https://sogino.com/mikrotik-hotspot-internet-not-working-diagnosis</link>
					<comments>https://sogino.com/mikrotik-hotspot-internet-not-working-diagnosis#respond</comments>
		
		<dc:creator><![CDATA[squadadmin]]></dc:creator>
		<pubDate>Tue, 10 Nov 2026 17:12:51 +0000</pubDate>
				<category><![CDATA[Pikro]]></category>
		<guid isPermaLink="false">http://digino.local/mikrotik-hotspot-internet-not-working-diagnosis</guid>

					<description><![CDATA[<p>Guests say the Wi-Fi is down? Check the cable, your provider's box, the internet and DNS in that order, with simple MikroTik commands. The first failure is the cause.</p>
<p>The post <a href="https://sogino.com/mikrotik-hotspot-internet-not-working-diagnosis">Hotspot Wi-Fi not working? Is it your provider, your cable or DNS (MikroTik)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When guests say the Wi-Fi is down, check four things in this order: the <strong>internet cable</strong>, your <strong>provider&rsquo;s box</strong>, the <strong>internet itself</strong>, and <strong>website names (DNS)</strong>. The first step that fails is your problem, and it tells you who to call. If the cable is loose, you fix it yourself. If the box is stuck, you restart it. If the line is down, your provider must act. If only DNS fails, you can fix it in a minute.</p>
<p>I am Gino Sotongbe, and I build Pikro, a free tool for MikroTik hotspot operators. This guide works with nothing but WinBox. Open <strong>New Terminal</strong> in WinBox and type the commands below. They work on RouterOS 6 and 7 unless I say otherwise.</p>
<h2>Step 1: The internet cable</h2>
<p><strong>What it means:</strong> your MikroTik router must be physically connected to the internet port, and it must know a route to the internet (the « default route »).</p>
<p><strong>How to check:</strong></p>
<pre><code>/ip route print where dst-address=0.0.0.0/0
/interface print</code></pre>
<p>The first command should show a route with the flag <code>A</code> (active). Note the interface or gateway it uses, usually <code>ether1</code>. In the second list, that interface should have the flag <code>R</code> (running). No <code>R</code> means no link.</p>
<h3>What to do</h3>
<ul>
<li><strong>No <code>R</code> on the internet port:</strong> check the cable on both ends, try another cable, and make sure the provider&rsquo;s box is switched on. Power cuts loosen things more often than you would think.</li>
<li><strong>No active default route:</strong> the router does not know where the internet is. Check its internet setup (DHCP client or PPPoE) in WinBox. If a technician set it up, call them.</li>
</ul>
<h2>Step 2: Your provider&rsquo;s box</h2>
<p><strong>What it means:</strong> the cable is connected, but the box (modem, fibre terminal, radio) may be frozen or have lost its signal. The router sends a small test message to it. This is called a ping.</p>
<p><strong>How to check:</strong> use the gateway address from the route you just printed.</p>
<pre><code>/ping 192.168.1.1 count=3</code></pre>
<p>Replace <code>192.168.1.1</code> with your gateway. If you see replies with times in <code>ms</code>, the box answers. If every line says <code>timeout</code>, it does not. With PPPoE there is no gateway address to ping: the connection itself is the check, and Step 1 already covered it.</p>
<h3>What to do</h3>
<p>Switch the provider&rsquo;s box off, wait 30 seconds, switch it on, and wait two minutes. Then ping again. If it still does not answer, call your provider or the technician who installed the box.</p>
<h2>Step 3: The internet</h2>
<p><strong>What it means:</strong> the box answers, but does anything beyond it? We ping a well-known public server, 1.1.1.1. It is an address, not a name, so DNS plays no part in this test.</p>
<p><strong>How to check:</strong></p>
<pre><code>/ping 1.1.1.1 count=3</code></pre>
<p>Replies mean the internet is reachable. Timeouts mean the line is down beyond the box.</p>
<h3>What to do</h3>
<p>Call your provider. You can say: « My box answers, but nothing beyond it does. » That sentence saves you the usual « have you restarted it? » conversation. Nothing you change on the router will help, so do not touch the settings.</p>
<h2>Step 4: Website names (DNS)</h2>
<p><strong>What it means:</strong> phones and computers look up websites by name. DNS is the phone book that turns <code>google.com</code> into an address. When the provider&rsquo;s DNS servers stop answering, the line is fine but nothing opens. This is a very common cause of « connected, no internet ».</p>
<p><strong>How to check:</strong></p>
<pre><code>:resolve google.com</code></pre>
<p>You should get an IP address back. An error or a long wait means DNS is the problem. To see which servers the router asks:</p>
<pre><code>/ip dns print</code></pre>
<h3>What to do</h3>
<p>Switch the router to public DNS servers:</p>
<pre><code>/ip dns set servers=1.1.1.1,8.8.8.8</code></pre>
<p>Then run <code>:resolve google.com</code> again. If you use the router for hotspot clients, also check that <code>allow-remote-requests</code> is <code>yes</code> in <code>/ip dns print</code>, otherwise guests cannot use the router as their DNS.</p>
<h2>Still broken? The router itself</h2>
<h3>The clock</h3>
<p>Vouchers expire by the router&rsquo;s clock. After a power cut, a router without automatic time can restart with a wrong date. Tickets then expire too early or too late, and secure connections (HTTPS), including the router&rsquo;s own update check, fail when the date is wrong. Check:</p>
<pre><code>/system clock print
/system ntp client print</code></pre>
<p>To turn on automatic time on RouterOS 7:</p>
<pre><code>/system ntp client set enabled=yes servers=pool.ntp.org</code></pre>
<p>On RouterOS 6 the setting is named differently:</p>
<pre><code>/system ntp client set enabled=yes server-dns-names=pool.ntp.org</code></pre>
<p>The router needs a working internet and DNS to reach that server, so fix steps 1 to 4 first. If the date is still wrong, set it by hand with <code>/system clock set</code>. The date format depends on the version, so check what <code>/system clock print</code> shows and copy that style.</p>
<h3>A restart</h3>
<p>A router that has run for months can become slow or stuck. Restarting often fixes it:</p>
<pre><code>/system reboot</code></pre>
<p>Guests are disconnected for about a minute. Your settings, plans and vouchers are kept.</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/troubleshoot-problem.en_.png" alt="Pikro's Internet check finding a DNS problem" /><figcaption>Pikro&rsquo;s Internet check finding a DNS problem</figcaption></figure>
<p>Typing all this at a busy counter is not fun, so Pikro runs the four checks in one click. Open <strong>Tools, Troubleshoot</strong>: the Internet check runs from the router itself and goes through Internet cable, Your provider&rsquo;s box, The internet and Website names (DNS). It stops at the first step that fails and says what is wrong in plain words: « The internet cable is unplugged », « Your provider&rsquo;s box doesn&rsquo;t answer », « Your provider&rsquo;s line is down » or « Websites can&rsquo;t be found by name ». When DNS is the problem, a <strong>Use public DNS</strong> button switches the router to 1.1.1.1 and 8.8.8.8. If every step passes but guests still say it is slow, the same page has a speed test.</p>
<p>The « Still stuck? Restart the router in Maintenance » link takes you to <strong>Tools, Maintenance</strong>. It shows the Router clock, with a <strong>Turn on automatic time</strong> button, checks whether a newer RouterOS exists (it only checks, you still update from WinBox), and has a <strong>Restart router</strong> button that asks you to confirm. Both pages are available in English and French.</p>
<h2>FAQ</h2>
<h3>Guests are connected to the Wi-Fi but have no internet. Why?</h3>
<p>Their phone reaches your router, but the router cannot reach the internet, or cannot translate names. Run steps 1 to 4: the first one that fails tells you whether it is the cable, the provider&rsquo;s box, the line, or DNS.</p>
<h3>How do I know if my provider is the problem?</h3>
<p>If the cable is connected and the box answers the ping (steps 1 and 2 pass) but <code>/ping 1.1.1.1</code> fails (step 3), the problem is beyond the box. Call your provider.</p>
<h3>Why do some websites open and others do not?</h3>
<p>This usually points to DNS or to a slow, unstable line. Run <code>:resolve google.com</code>, and switch to public DNS if it fails.</p>
<p>If you would rather click than type, <a href="/pikro">have a look at Pikro</a>.</p>
<p>The post <a href="https://sogino.com/mikrotik-hotspot-internet-not-working-diagnosis">Hotspot Wi-Fi not working? Is it your provider, your cable or DNS (MikroTik)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sogino.com/mikrotik-hotspot-internet-not-working-diagnosis/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Créer et imprimer des tickets hotspot MikroTik (avec QR code)</title>
		<link>https://sogino.com/imprimer-tickets-hotspot-mikrotik-qr-code</link>
					<comments>https://sogino.com/imprimer-tickets-hotspot-mikrotik-qr-code#respond</comments>
		
		<dc:creator><![CDATA[squadadmin]]></dc:creator>
		<pubDate>Mon, 02 Nov 2026 17:15:01 +0000</pubDate>
				<category><![CDATA[Pikro]]></category>
		<guid isPermaLink="false">http://digino.local/imprimer-tickets-hotspot-mikrotik-qr-code</guid>

					<description><![CDATA[<p>Créez un lot de tickets hotspot MikroTik, imprimez-les sur papier et ajoutez un QR code qui connecte le client sans rien taper. Pas à pas avec Pikro.</p>
<p>The post <a href="https://sogino.com/imprimer-tickets-hotspot-mikrotik-qr-code">Créer et imprimer des tickets hotspot MikroTik (avec QR code)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Avec Pikro, vous créez un lot de tickets hotspot depuis <strong>Hotspot, Tickets</strong> : vous choisissez un forfait (un profil hotspot), le nombre de tickets et un design de ticket, puis vous cliquez sur « Générer et imprimer ». La fenêtre d&rsquo;impression de votre navigateur s&rsquo;ouvre. Avec le design Business ou Ticket, chaque ticket porte un QR code : le client, connecté au Wi-Fi de votre hotspot, le scanne et se retrouve connecté sans rien taper.</p>
<p>Voici la marche à suivre. Une bonne partie explique aussi comment fonctionnent les tickets sur n&rsquo;importe quel routeur MikroTik, même si vous configurez tout à la main.</p>
<h2>1. Préparez vos prix et vos durées</h2>
<p>Sur MikroTik, un forfait est un <strong>profil d&rsquo;utilisateur hotspot</strong>. Chaque ticket que vous créez est un utilisateur hotspot rattaché à un profil, et ce profil porte les règles communes à tous les tickets de ce forfait. Dans Pikro, les profils se créent dans la page Profils, avec le bouton « Nouveau profil ». Voici les réglages qui comptent :</p>
<ul>
<li><strong>Validité</strong> : la durée pendant laquelle le ticket reste utilisable après la première connexion (choix rapides 1h, 1d, 7d et 30d, ou une valeur personnalisée comme 1w ou 1d12h).</li>
<li><strong>Limite de vitesse par utilisateur</strong> : le plafond de réception et d&rsquo;envoi. Laissez vide pour ne pas plafonner.</li>
<li><strong>Appareils par ticket</strong> : le nombre d&rsquo;appareils qui peuvent utiliser le même ticket en même temps. Par défaut, 1.</li>
<li><strong>Prix</strong> : imprimé sur le ticket et utilisé dans vos rapports de ventes.</li>
</ul>
<p>Pour commencer, trois forfaits suffisent : 1 heure, 1 jour, 1 semaine, chacun avec son prix. Donnez des noms simples aux profils (<code>1heure</code>, <code>jour</code>, <code>semaine</code>), car ces noms apparaissent sur chaque ticket.</p>
<h2>2. Générez un lot de tickets</h2>
<p>Dans la page Tickets, ou avec le bouton « Générer » sur la carte d&rsquo;un profil, vous remplissez une seule page de cinq blocs numérotés. Un « Aperçu d&rsquo;impression » en direct, à droite, montre le vrai design du ticket avec des codes d&rsquo;exemple. Les vrais codes ne sont créés qu&rsquo;à la génération.</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/vouchers.fr_.png" alt="Générer un lot de tickets dans Pikro" /><figcaption>Générer un lot de tickets dans Pikro</figcaption></figure>
<ol>
<li><strong>Choisissez un forfait</strong> : le profil de ce lot.</li>
<li><strong>Combien ?</strong> : jusqu&rsquo;à 500 par lot, avec des boutons rapides pour 20, 50, 100 et 200.</li>
<li><strong>Design du ticket</strong> : Moderne, Business ou Ticket (voir l&rsquo;étape 3).</li>
<li><strong>Style du code</strong> : un préfixe facultatif, la longueur (4, 5, 6 ou 8 caractères) et les caractères : Lettres + chiffres, Lettres ou Chiffres. Pikro écarte les caractères qui se ressemblent (0, o, 1, l, i), car les codes se lisent sur du papier et se tapent sur un téléphone. Un code court en chiffres est plus facile à dicter, mais il y a moins de combinaisons possibles. Ce bloc contient aussi le choix <strong>Connexion</strong>, expliqué plus bas.</li>
<li><strong>Options</strong> : une limite de temps (<code>limit-uptime</code> dans RouterOS, qui compte le temps de connexion réel), une limite de données en Mo ou Go, et un commentaire, par exemple « lot de juillet ».</li>
</ol>
<p>Cliquez sur <strong>Générer et imprimer</strong> pour créer les tickets et les imprimer tout de suite, ou sur <strong>Enregistrer seulement</strong> pour les créer et imprimer plus tard. Pikro crée les utilisateurs sur le routeur par groupes de 50, avec une barre de progression, puis indique combien ont été créés et combien ont échoué.</p>
<h3>Code seul ou code plus mot de passe ?</h3>
<p>Le choix Connexion propose trois réglages : « Code seul » (le code est à la fois l&rsquo;identifiant et le mot de passe : le client ne tape qu&rsquo;une chose), « Code + mot de passe » (chaque ticket a son propre mot de passe aléatoire) et « Code + mot de passe commun » (un même mot de passe pour tout le monde). Le design Ticket n&rsquo;imprime qu&rsquo;un seul code : il bloque donc le choix sur « Code seul ».</p>
<p>La page que voient vos clients doit correspondre. Dans <strong>Hotspot, Paramètres</strong>, onglet Page de connexion, « Connexion des clients » propose « Code seul » (un seul champ) ou « Code + mot de passe » (deux champs). Pikro le rappelle lui-même : faites le même choix que pour les tickets imprimés. Une page « Code seul » envoie ce que le client tape à la fois comme identifiant et comme mot de passe : elle ne fonctionne donc qu&rsquo;avec des tickets générés en « Code seul ». Pour les deux autres réglages, prenez « Code + mot de passe ».</p>
<h2>3. Imprimez</h2>
<p>Il y a trois modèles d&rsquo;impression. Vous en choisissez un dans le bloc 3 et vous le voyez dans l&rsquo;aperçu en direct avant que quoi que ce soit ne soit créé :</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/print-preview.fr_.png" alt="Aperçu d'impression avec le modèle Business et ses QR codes" /><figcaption>Aperçu d&rsquo;impression avec le modèle Business et ses QR codes</figcaption></figure>
<ul>
<li><strong>Moderne</strong> : cartes compactes avec identifiant et mot de passe côte à côte, sans QR code.</li>
<li><strong>Business</strong> : identifiant, mot de passe et QR code de connexion.</li>
<li><strong>Ticket</strong> : un seul code, avec un QR code sur un talon séparé par une ligne pointillée à découper, pour la page de connexion « Code seul ». En noir et blanc, donc peu coûteux à imprimer.</li>
</ul>
<p>Chaque ticket indique le nom de votre hotspot (réglé pour chaque routeur dans la page Routeurs), le forfait et son prix, et le code. Les tickets sont imprimés dans la langue de Pikro. La planche est une grille qui place autant de tickets par page que la longueur des codes le permet : le nombre par page dépend donc de vos codes et des marges de votre imprimante. L&rsquo;impression passe par la fenêtre d&rsquo;impression normale de votre navigateur : c&rsquo;est là que vous choisissez le format du papier. Je vous conseille l&rsquo;A4, avec un test préalable sur une seule page, puis vous découpez le long des bordures. Vous pouvez aussi imprimer des tickets existants plus tard : cochez des utilisateurs dans la page Utilisateurs et utilisez le bouton d&rsquo;impression, ou « <strong>Imprimer le ticket</strong> » sur une seule ligne.</p>
<h2>4. Le QR code qui connecte le client</h2>
<p>Le QR code existe dans les modèles Business et Ticket. Il est dessiné sur votre ordinateur : pas besoin d&rsquo;internet pour l&rsquo;imprimer, et aucun service de QR code extérieur n&rsquo;est utilisé.</p>
<p>Il contient un lien vers la page de connexion de votre hotspot, avec l&rsquo;identifiant et le mot de passe du ticket déjà remplis, sous la forme <code>http://adresse-de-votre-hotspot/login?username=...&amp;password=...</code>. L&rsquo;adresse est le nom DNS du hotspot, ou l&rsquo;adresse IP de l&rsquo;interface du hotspot si aucun nom DNS n&rsquo;est défini. Quand le client le scanne, son téléphone ouvre ce lien, le routeur reçoit les identifiants et le connecte. Le client n&rsquo;a rien à taper.</p>
<p>Les conditions à connaître :</p>
<ul>
<li>Le client doit déjà être connecté au Wi-Fi de votre hotspot. L&rsquo;adresse du lien ne fonctionne que sur le réseau du hotspot.</li>
<li>Votre hotspot doit avoir une adresse de connexion. Si Pikro n&rsquo;en trouve pas, il vous prévient et imprime les tickets sans QR code.</li>
<li>Le hotspot doit accepter la connexion par lien (la méthode <code>http-pap</code>). La configuration de hotspot de Pikro l&rsquo;active avec les autres méthodes de connexion ; si votre hotspot a été configuré autrement, vérifiez les méthodes de connexion du profil du hotspot.</li>
<li>Le QR code contient le mot de passe en clair : traitez un ticket imprimé comme de l&rsquo;argent, celui qui l&rsquo;a peut s&rsquo;en servir.</li>
<li>Le QR code est petit sur le ticket. Scannez un exemplaire imprimé avec un téléphone d&rsquo;entrée de gamme avant d&rsquo;en imprimer des centaines.</li>
</ul>
<h2>5. Conseils pour vendre</h2>
<ul>
<li>Utilisez le champ commentaire pour chaque lot (événement, semaine, vendeur). Il reste sur les utilisateurs dans le routeur.</li>
<li>Consultez la page Rapports. Pikro enregistre chaque lot généré et compte un ticket comme vendu à sa première utilisation. Il affiche le chiffre d&rsquo;affaires, les tickets générés, « Vendus (activés) » et « Stock inutilisé » (imprimés, pas encore utilisés), par jour ou par mois, avec un export CSV.</li>
<li>Attention : les ventes sont enregistrées quand Pikro est ouvert, alors ouvrez-le régulièrement, et le chiffre d&rsquo;affaires n&rsquo;apparaît que lorsque les clients utilisent leurs tickets. Servez-vous du « Stock inutilisé » pour voir ce qui reste dans le tiroir.</li>
<li>Gardez le nettoyage automatique activé (la carte « Nettoyage automatique » du Tableau de bord), pour que les tickets expirés ne s&rsquo;accumulent pas sur le routeur.</li>
</ul>
<h2>Questions fréquentes</h2>
<h3>Combien de tickets puis-je créer d&rsquo;un coup ?</h3>
<p>Jusqu&rsquo;à 500 par lot dans Pikro. Au-delà, lancez un second lot.</p>
<h3>Le client a-t-il besoin d&rsquo;internet pour scanner le QR code ?</h3>
<p>Il doit être connecté au Wi-Fi de votre hotspot, et son téléphone doit pouvoir lire les QR codes avec l&rsquo;appareil photo. Le code contient un lien vers votre routeur, pas vers un site extérieur.</p>
<h3>Peut-on utiliser le même ticket sur deux téléphones ?</h3>
<p>Cela dépend du réglage « Appareils par ticket » du profil. Avec la valeur par défaut, 1, un seul appareil à la fois.</p>
<p>Pikro est gratuit et open source. Si vous voulez le moyen simple de faire tout cela, <a href="/pikro-fr">découvrez Pikro</a>.</p>
<p>The post <a href="https://sogino.com/imprimer-tickets-hotspot-mikrotik-qr-code">Créer et imprimer des tickets hotspot MikroTik (avec QR code)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sogino.com/imprimer-tickets-hotspot-mikrotik-qr-code/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create and Print MikroTik Hotspot Vouchers (with a QR Code)</title>
		<link>https://sogino.com/print-mikrotik-hotspot-vouchers-qr-code</link>
					<comments>https://sogino.com/print-mikrotik-hotspot-vouchers-qr-code#respond</comments>
		
		<dc:creator><![CDATA[squadadmin]]></dc:creator>
		<pubDate>Mon, 02 Nov 2026 17:15:01 +0000</pubDate>
				<category><![CDATA[Pikro]]></category>
		<guid isPermaLink="false">http://digino.local/print-mikrotik-hotspot-vouchers-qr-code</guid>

					<description><![CDATA[<p>Create a batch of MikroTik hotspot vouchers, print them on paper, and add a QR code that logs guests in without typing. Step by step with Pikro.</p>
<p>The post <a href="https://sogino.com/print-mikrotik-hotspot-vouchers-qr-code">How to Create and Print MikroTik Hotspot Vouchers (with a QR Code)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In Pikro, you create a batch of hotspot vouchers from <strong>Hotspot, Vouchers</strong>: pick a plan (a hotspot user profile), choose how many you need and a ticket design, then click Generate &amp; print. Your browser&rsquo;s print window opens. With the Business or Voucher design, each ticket carries a QR code: a guest connected to your hotspot Wi-Fi scans it and is logged in without typing anything.</p>
<p>I will go through it step by step. Most of this also explains how vouchers work on any MikroTik router, so it is useful even if you configure everything by hand.</p>
<h2>1. Plan your prices and durations</h2>
<p>On MikroTik, a « plan » is a <strong>hotspot user profile</strong>. Each voucher you create is a hotspot user attached to one profile, and the profile holds the rules shared by every voucher on that plan. In Pikro you create profiles on the Profiles page, with the New profile button. These are the settings that matter:</p>
<ul>
<li><strong>Validity</strong>: how long the ticket stays usable after the first login (quick choices 1h, 1d, 7d and 30d, or a custom value like 1w or 1d12h).</li>
<li><strong>Speed limit per user</strong>: the cap for download and upload. Leave it empty for no cap.</li>
<li><strong>Devices per voucher</strong>: how many devices can use the same ticket at once. The default is 1.</li>
<li><strong>Price</strong>: shown on the printed ticket and used in your sales reports.</li>
</ul>
<p>A simple starting menu: 1 hour, 1 day, 1 week, each with its own price. Name profiles in plain words (<code>1hour</code>, <code>daily</code>, <code>weekly</code>), because you will see these names on every ticket.</p>
<h2>2. Generate a batch</h2>
<p>On the Vouchers page, or with the Generate button on a profile card, you fill in one page with five numbered blocks. A live « Print preview » on the right shows the real ticket design with sample codes. The real codes are only created when you generate.</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/vouchers.en_.png" alt="Generating a batch of vouchers in Pikro" /><figcaption>Generating a batch of vouchers in Pikro</figcaption></figure>
<ol>
<li><strong>Pick a plan</strong>: the profile for this batch.</li>
<li><strong>How many?</strong>: up to 500 per batch, with quick buttons for 20, 50, 100 and 200.</li>
<li><strong>Ticket design</strong>: Modern, Business or Voucher (see step 3).</li>
<li><strong>Code style</strong>: an optional prefix, the length (4, 5, 6 or 8 characters) and the characters: Letters + digits, Letters, or Digits. Pikro leaves out look-alike characters (0, o, 1, l, i), since codes are read off paper and typed on phones. Shorter, digits-only codes are easier to read aloud, but there are fewer possible combinations. This block also holds the <strong>Login</strong> choice, explained below.</li>
<li><strong>Options</strong>: a time limit (<code>limit-uptime</code> in RouterOS, which counts connected time), a data limit in MB or GB, and a comment, for example « July batch ».</li>
</ol>
<p>Click <strong>Generate &amp; print</strong> to create the vouchers and print them straight away, or <strong>Save only</strong> to create them and print later. Pikro creates the users on the router in groups of 50, with a progress bar, then tells you how many were created and how many failed.</p>
<h3>Code only, or code plus password?</h3>
<p>The Login choice has three settings: « Code only » (the code is both username and password, so guests type one thing), « Code + password » (each voucher gets its own random password) and « Code + shared password » (one password for everyone). The Voucher design prints a single code, so it locks the choice to « Code only ».</p>
<p>The page your guests see must match. In <strong>Hotspot, Settings</strong>, on the Login page tab, « How guests log in » offers « Code only » (one field) or « Code + password » (two fields). Pikro&rsquo;s own hint says to use the same choice as the tickets you print. A « Code only » login page sends what the guest types as both username and password, so it only works with vouchers generated as « Code only ». Use « Code + password » for the other two settings.</p>
<h2>3. Print</h2>
<p>There are three print templates. You pick one in block 3 and see it in the live preview before anything is created:</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/print-preview.en_.png" alt="Print preview with the Business design and its QR codes" /><figcaption>Print preview with the Business design and its QR codes</figcaption></figure>
<ul>
<li><strong>Modern</strong>: compact cards with username and password side by side, no QR code.</li>
<li><strong>Business</strong>: username, password and a QR code to log in.</li>
<li><strong>Voucher</strong>: one code on a ticket with a QR code on a stub behind a dashed tear line, for the « Code only » login page. Black and white, so it is cheap to print.</li>
</ul>
<p>Each ticket shows your hotspot name (set per router on the Routers page), the plan and its price, and the code. Tickets are printed in the language Pikro is set to. The sheet is a grid that fits as many tickets per page as the code length allows, so a count per page depends on your codes and your printer margins. Printing uses your browser&rsquo;s normal print window, so you choose the paper size there. I recommend A4 and a quick test of one page first, then cut along the borders. You can also print existing vouchers later: tick users on the Users page and use the print button, or use Print voucher on a single row.</p>
<h2>4. The QR code that logs guests in</h2>
<p>The QR code appears on the Business and Voucher templates. It is drawn on your computer, so you do not need internet to print it, and it never goes through an outside QR service.</p>
<p>What it contains is a link to your hotspot&rsquo;s login page with the ticket&rsquo;s username and password already filled in, in the form <code>http://your-hotspot-address/login?username=...&amp;password=...</code>. The address is the hotspot&rsquo;s DNS name, or the hotspot interface&rsquo;s IP address if no DNS name is set. When a guest scans it, their phone opens that link, the router receives the credentials and logs them in. The guest never types the code.</p>
<p>Conditions to know about:</p>
<ul>
<li>The guest must already be connected to your hotspot Wi-Fi. The address in the link only works on your hotspot network.</li>
<li>Your hotspot needs a login address. If Pikro cannot find one, it warns you and prints the tickets without a QR code.</li>
<li>The hotspot must accept login by URL (the <code>http-pap</code> method). Pikro&rsquo;s own hotspot setup enables it along with the other login methods; if your hotspot was set up differently, check the login methods of the hotspot profile.</li>
<li>The code contains the password in readable form, so treat a printed ticket like cash: whoever holds it can use it.</li>
<li>The QR code is small on the ticket. Scan one printed sample with a cheap phone before printing hundreds.</li>
</ul>
<h2>5. Selling tips</h2>
<ul>
<li>Use the comment field for each batch (event, week, seller). It stays on the users in the router.</li>
<li>Check the Reports page. Pikro records each batch you generate, and counts a voucher as sold the first time it is used. It shows revenue, vouchers generated, « Sold (activated) » and « Unused stock » (printed, not used yet), by day or by month, with CSV export.</li>
<li>Note that sales are recorded while Pikro is open, so open it regularly, and that revenue only appears once guests use their tickets. Use « Unused stock » to see what is still in the drawer.</li>
<li>Keep auto-cleanup on (the Auto-cleanup card on the Dashboard), so expired tickets do not pile up on the router.</li>
</ul>
<h2>FAQ</h2>
<h3>How many vouchers can I create at once?</h3>
<p>Up to 500 per batch in Pikro. For more, run a second batch.</p>
<h3>Do guests need internet to scan the QR code?</h3>
<p>They need to be on your hotspot Wi-Fi, and the phone needs a camera app that reads QR codes. The code itself holds a link to your router, not to a website outside.</p>
<h3>Can I use the same ticket on two phones?</h3>
<p>It depends on the profile&rsquo;s « Devices per voucher » setting. With the default of 1, only one device at a time.</p>
<p>Pikro is free and open source. If you want the easy way to do all of this, <a href="/pikro">have a look at Pikro</a>.</p>
<p>The post <a href="https://sogino.com/print-mikrotik-hotspot-vouchers-qr-code">How to Create and Print MikroTik Hotspot Vouchers (with a QR Code)</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sogino.com/print-mikrotik-hotspot-vouchers-qr-code/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tickets hotspot MikroTik qui n&#8217;expirent pas sous RouterOS 7 : la solution</title>
		<link>https://sogino.com/tickets-hotspot-mikrotik-qui-n-expirent-pas-routeros-v7</link>
					<comments>https://sogino.com/tickets-hotspot-mikrotik-qui-n-expirent-pas-routeros-v7#respond</comments>
		
		<dc:creator><![CDATA[squadadmin]]></dc:creator>
		<pubDate>Sun, 01 Nov 2026 09:00:46 +0000</pubDate>
				<category><![CDATA[Pikro]]></category>
		<guid isPermaLink="false">http://digino.local/tickets-hotspot-mikrotik-qui-n-expirent-pas-routeros-v7</guid>

					<description><![CDATA[<p>Sous RouterOS 7, des tickets hotspot MikroTik peuvent rester valides trop longtemps. Pourquoi, comment vérifier votre routeur et comment le corriger.</p>
<p>The post <a href="https://sogino.com/tickets-hotspot-mikrotik-qui-n-expirent-pas-routeros-v7">Tickets hotspot MikroTik qui n&rsquo;expirent pas sous RouterOS 7 : la solution</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Sous RouterOS 7, les tickets d&rsquo;un hotspot MikroTik peuvent continuer à fonctionner après la fin de leur durée, parce que rien sur le routeur ne les supprime. La solution : un petit script planifié, sur le routeur, qui efface les tickets expirés ou épuisés. Pikro, mon outil gratuit et open source pour gérer un hotspot, installe ce script pour vous, et il tourne tout seul sur le routeur.</strong></p>
<p>J&rsquo;ai créé Pikro à cause de ce problème. Un ticket vendu pour 24 heures qui marche encore trois jours plus tard, c&rsquo;est de l&rsquo;argent qui s&rsquo;échappe de la caisse, et beaucoup d&rsquo;opérateurs ne le voient que lorsque les comptes ne tombent plus juste.</p>
<h2>Pourquoi cela arrive</h2>
<p>Un ticket de hotspot a deux limites distinctes, souvent confondues :</p>
<ul>
<li><strong>Le temps de connexion.</strong> « Exemple: Une heure d&rsquo;internet. » RouterOS le compte lui-même dans le champ <code>uptime</code> de l&rsquo;utilisateur et l&rsquo;applique avec <code>limit-uptime</code>. Quand les deux se rejoignent, le routeur refuse les nouvelles connexions.</li>
<li><strong>La validité calendaire.</strong> « Exemple: Valable 24 heures après la première utilisation. » RouterOS n&rsquo;a aucun champ natif pour cela sur un utilisateur hotspot. Des outils comme Mikhmon la simulent avec des scripts : l&rsquo;un marque le ticket à la première connexion, un autre le supprime plus tard.</li>
</ul>
<p>Si ce second script ne s&rsquo;exécute pas correctement, le ticket n&rsquo;est jamais supprimé et la limite calendaire n&rsquo;est jamais appliquée.</p>
<h2>Comment vérifier si votre routeur est touché</h2>
<ol>
<li>Ouvrez un terminal dans WinBox et lancez <code>/ip hotspot user print detail</code>. Cherchez de vieux tickets dont l&rsquo;<code>uptime</code> dépasse largement ce que vous avez vendu, ou une pile d&rsquo;utilisateurs dont le temps devrait être écoulé depuis longtemps.</li>
<li>Lancez <code>/system scheduler print</code> et <code>/system script print</code>. Si rien ne supprime les utilisateurs hotspot expirés, personne ne nettoie.</li>
<li>Lancez <code>/log print where message~"cleanup"</code>. Un nettoyage qui fonctionne écrit une ligne à chaque suppression.</li>
<li>Vérifiez <code>/system clock print</code>. L&rsquo;expiration calendaire dépend de l&rsquo;horloge du routeur (voir la FAQ).</li>
</ol>
<h2>Le corriger à la main dans RouterOS</h2>
<p>Le principe tient en deux étapes : marquer l&rsquo;expiration à la première connexion, puis supprimer les utilisateurs expirés selon un calendrier. Voici une version simplifiée de ce que Pikro utilise, pour RouterOS 7.12 ou plus. Dans le profil utilisateur du hotspot, mettez ceci dans <code>on-login</code> (remplacez <code>86400</code> par votre durée de validité en secondes) :</p>
<pre><code>:local now ([:tonsec [:timestamp]] / 1000000000)
:local uid [/ip/hotspot/user/find where name=$user]
:if ([:len $uid] &gt; 0) do={
  :local c [:tostr [/ip/hotspot/user/get $uid comment]]
  :if ([:len $c] &lt; 5 || [:pick $c 0 4] != "exp:") do={
    /ip/hotspot/user/set $uid comment=("exp:" . ($now + 86400))
  }
}</code></pre>
<p>Ajoutez ensuite un script dans System, Scripts, nommé <code>voucher-cleanup</code> :</p>
<pre><code>:local now ([:tonsec [:timestamp]] / 1000000000)
:foreach u in=[/ip/hotspot/user/find] do={
  :local c [:tostr [/ip/hotspot/user/get $u comment]]
  :if ([:len $c] &gt; 4 &amp;&amp; [:pick $c 0 4] = "exp:") do={
    :local e [:tonum [:pick $c 4 [:len $c]]]
    :if ($e &gt; 0 &amp;&amp; $e &lt; $now) do={ /ip/hotspot/user/remove $u }
  }
}</code></pre>
<p>Puis planifiez son exécution :</p>
<pre><code>/system scheduler add name=voucher-cleanup interval=1h on-event="/system script run voucher-cleanup"</code></pre>
<p>Donnez au script des droits suffisants (read, write, policy et test). Cela ne gère que la validité calendaire. Supprimer les tickets dont le temps de connexion est épuisé oblige à comparer <code>uptime</code> et <code>limit-uptime</code>, que RouterOS affiche sous deux formats différents (<code>1h30m</code> et <code>00:10:00</code>). Bien lire les deux est la partie difficile !</p>
<h2>Comment Pikro le corrige automatiquement</h2>
<p>Pikro installe sur le routeur une tâche planifiée nommée <code>pikro-cleanup</code>. Il détecte votre version de RouterOS et choisit le bon script : l&rsquo;un avec des horodatages Unix pour 7.12 et plus, l&rsquo;autre avec des dates en texte pour RouterOS 6 et les premières versions 7. À chaque exécution, il supprime un utilisateur hotspot dans deux cas seulement :</p>
<ul>
<li>l&rsquo;heure <code>exp:</code> du commentaire est dépassée, ou</li>
<li>l&rsquo;<code>uptime</code> de l&rsquo;utilisateur a atteint son <code>limit-uptime</code>.</li>
</ul>
<p>Il ne supprime jamais un ticket sans marque d&rsquo;expiration et dont le quota n&rsquo;est pas épuisé, et il ne touche pas aux tickets que personne n&rsquo;a encore utilisés. Chaque suppression est écrite dans le journal du routeur avec sa raison.</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/cleanup-card.fr_.png" alt="La carte Nettoyage automatique du tableau de bord de Pikro" /><figcaption>La carte Nettoyage automatique du tableau de bord de Pikro</figcaption></figure>
<p>Comme la tâche vit dans la configuration du routeur, elle continue de tourner quand Pikro est fermé ou que votre ordinateur est éteint. Pikro sert à l&rsquo;installer, à changer la fréquence ou à la désactiver. Vous faites les trois depuis la carte <strong>Nettoyage automatique</strong> du Tableau de bord : un interrupteur l&rsquo;active ou la désactive (la désactivation demande une confirmation), et sous « Fréquence » vous choisissez 10 min, 1 h, 1 jour, 7 jours ou 30 jours. 7 jours est la valeur par défaut, et c&rsquo;est aussi ce qu&rsquo;installe la migration depuis Mikhmon. Les suppressions apparaissent dans <strong>Hotspot, Journaux</strong>, avec le filtre Nettoyage.</p>
<p>Un point pratique : un ticket expiré reste utilisable jusqu&rsquo;à la prochaine exécution. Avec la valeur par défaut de 7 jours, cela peut aller jusqu&rsquo;à une semaine. <strong>Si vous vendez des pass à la journée, choisissez 1 h ou 1 jour</strong>.</p>
<p>Sous RouterOS 7.17 et plus, un routeur peut refuser les planificateurs (son « device-mode »). Si c&rsquo;est le cas du vôtre, la carte vous le dit et affiche la commande <code>/system/device-mode/update scheduler=yes</code>. Lancez-la dans le terminal WinBox, puis appuyez sur le bouton physique du routeur (ou redémarrez-le à froid) pour confirmer.</p>
<h2>FAQ</h2>
<h3>Pourquoi mes tickets hotspot MikroTik n&rsquo;expirent-ils jamais sous RouterOS 7 ?</h3>
<p>La validité calendaire n&rsquo;est pas un champ natif des utilisateurs hotspot. Elle repose sur des scripts qui marquent puis suppriment l&rsquo;utilisateur, et si le script de suppression ne s&rsquo;exécute pas correctement, le ticket reste actif. Une tâche de nettoyage planifiée sur le routeur règle le problème.</p>
<h3>Quelle différence entre limit-uptime et la validité ?</h3>
<p><code>limit-uptime</code> plafonne le temps de connexion total et c&rsquo;est RouterOS lui-même qui l&rsquo;applique. La validité est une date limite comptée depuis la première utilisation, ce qui demande un script. Vous pouvez utiliser les deux : l&rsquo;une ou l&rsquo;autre met fin au ticket.</p>
<h3>L&rsquo;expiration marche-t-elle encore après une coupure de courant ?</h3>
<p>Les limites de temps de connexion, oui, car elles ne dépendent pas de l&rsquo;horloge. L&rsquo;expiration calendaire pas toujours : beaucoup de RouterBOARD n&rsquo;ont pas d&rsquo;horloge sur pile, donc après une coupure l&rsquo;heure peut être fausse jusqu&rsquo;à la correction par NTP, ce qui peut supprimer des tickets trop tôt ou trop tard. Un routeur avec une synchronisation horaire internet qui fonctionne évite cela.</p>
<p>Pikro est gratuit et open source (Apache 2.0). Si vous exploitez un hotspot sur MikroTik, <a href="/pikro-fr">découvrez Pikro et téléchargez-le ici</a>.</p>
<p>The post <a href="https://sogino.com/tickets-hotspot-mikrotik-qui-n-expirent-pas-routeros-v7">Tickets hotspot MikroTik qui n&rsquo;expirent pas sous RouterOS 7 : la solution</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sogino.com/tickets-hotspot-mikrotik-qui-n-expirent-pas-routeros-v7/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MikroTik Hotspot Vouchers Not Expiring on RouterOS 7: How to Fix It</title>
		<link>https://sogino.com/mikrotik-hotspot-vouchers-not-expiring-routeros-v7</link>
					<comments>https://sogino.com/mikrotik-hotspot-vouchers-not-expiring-routeros-v7#respond</comments>
		
		<dc:creator><![CDATA[squadadmin]]></dc:creator>
		<pubDate>Sun, 01 Nov 2026 08:50:45 +0000</pubDate>
				<category><![CDATA[Pikro]]></category>
		<guid isPermaLink="false">http://digino.local/mikrotik-hotspot-vouchers-not-expiring-routeros-v7</guid>

					<description><![CDATA[<p>Time-limited MikroTik hotspot vouchers can keep working on RouterOS 7. Here is why, how to check your router, and how a cleanup scheduler fixes it.</p>
<p>The post <a href="https://sogino.com/mikrotik-hotspot-vouchers-not-expiring-routeros-v7">MikroTik Hotspot Vouchers Not Expiring on RouterOS 7: How to Fix It</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>On RouterOS 7, MikroTik hotspot vouchers can keep working after their time is up, because nothing on the router removes them. The fix is a small scheduled script on the router that deletes expired and used-up vouchers. Pikro, my free open-source hotspot manager, installs that script for you, and it runs on the router by itself.</strong></p>
<p>I built Pikro because of this problem. A voucher you sold for 24 hours that still works three days later is revenue leaking out of the till, and most operators only notice when the numbers stop adding up.</p>
<h2>Why it happens</h2>
<p>A hotspot voucher has two separate limits, and people often mix them up:</p>
<ul>
<li><strong>Connected time.</strong> « One hour of internet. » RouterOS counts this natively in the user&rsquo;s <code>uptime</code> and enforces it with the <code>limit-uptime</code> field. When the two meet, the router itself refuses new logins.</li>
<li><strong>Calendar validity.</strong> « Good for 24 hours after first use. » RouterOS has no built-in field for this on a hotspot user. Tools such as Mikhmon fake it with scripts: one marks the voucher at first login, another removes it later.</li>
</ul>
<p>If that second script never runs correctly, the voucher is never deleted and the calendar limit is never applied. Mikhmon-style expiry has this reputation on RouterOS 7.</p>
<h2>How to check if your router is affected</h2>
<ol>
<li>Open a terminal in WinBox and run <code>/ip hotspot user print detail</code>. Look for old vouchers with an <code>uptime</code> well past what you sold, or a pile of users whose time should be long gone.</li>
<li>Run <code>/system scheduler print</code> and <code>/system script print</code>. If nothing there removes expired hotspot users, nothing is cleaning up.</li>
<li>Run <code>/log print where message~"cleanup"</code>. A working cleanup logs a line each time it removes someone.</li>
<li>Check <code>/system clock print</code>. Calendar expiry depends on the router&rsquo;s clock (see the FAQ).</li>
</ol>
<h2>Fixing it by hand in RouterOS</h2>
<p>The idea has two parts: stamp the expiry at first login, then delete expired users on a schedule. This is a simplified version of what Pikro uses, for RouterOS 7.12 or later. In the hotspot user profile, set <code>on-login</code> to this (replace <code>86400</code> with your validity in seconds):</p>
<pre><code>:local now ([:tonsec [:timestamp]] / 1000000000)
:local uid [/ip/hotspot/user/find where name=$user]
:if ([:len $uid] &gt; 0) do={
  :local c [:tostr [/ip/hotspot/user/get $uid comment]]
  :if ([:len $c] &lt; 5 || [:pick $c 0 4] != "exp:") do={
    /ip/hotspot/user/set $uid comment=("exp:" . ($now + 86400))
  }
}</code></pre>
<p>Then add a script under System, Scripts, named <code>voucher-cleanup</code>:</p>
<pre><code>:local now ([:tonsec [:timestamp]] / 1000000000)
:foreach u in=[/ip/hotspot/user/find] do={
  :local c [:tostr [/ip/hotspot/user/get $u comment]]
  :if ([:len $c] &gt; 4 &amp;&amp; [:pick $c 0 4] = "exp:") do={
    :local e [:tonum [:pick $c 4 [:len $c]]]
    :if ($e &gt; 0 &amp;&amp; $e &lt; $now) do={ /ip/hotspot/user/remove $u }
  }
}</code></pre>
<p>And run it on a schedule:</p>
<pre><code>/system scheduler add name=voucher-cleanup interval=1h on-event="/system script run voucher-cleanup"</code></pre>
<p>Give the script enough rights (read, write, policy and test). This handles calendar validity only. Removing vouchers whose connected time is used up means comparing <code>uptime</code> with <code>limit-uptime</code>, and RouterOS reports those in two different text formats (<code>1h30m</code> and <code>00:10:00</code>). Parsing both correctly is the hard part !</p>
<h2>How Pikro fixes it automatically</h2>
<p>Pikro installs a scheduler entry on the router named <code>pikro-cleanup</code>. It detects your RouterOS version and picks the right script: one using Unix timestamps for 7.12 and later, one using date strings for RouterOS 6 and early 7. Each time it runs it removes a hotspot user in two cases only:</p>
<ul>
<li>the <code>exp:</code> time in the comment is in the past, or</li>
<li>the user&rsquo;s <code>uptime</code> has reached their <code>limit-uptime</code>.</li>
</ul>
<p>It never removes a voucher that has no expiry marker and has not used up its quota, and it never touches a voucher nobody has used yet. Every removal is written to the router log with the reason.</p>
<figure><img decoding="async" src="https://sogino.com/wp-content/uploads/2026/11/cleanup-card.en_.png" alt="The Auto-cleanup card on Pikro's dashboard" /><figcaption>The Auto-cleanup card on Pikro&rsquo;s dashboard</figcaption></figure>
<p>Because the scheduler lives in the router&rsquo;s own configuration, it keeps running when Pikro is closed or your laptop is off. Pikro is needed to install it, change the interval or turn it off. You do all three from the <strong>Auto-cleanup</strong> card on the Dashboard: a switch turns it on or off (turning it off asks you to confirm), and under « Runs every » you pick 10 min, 1 h, 1 day, 7 days or 30 days. The removals show up in <strong>Hotspot, Logs</strong>, under the Cleanup filter.</p>
<p>One practical point: an expired voucher stays usable until the next run. With the 7-day default, that can be up to a week. If you sell day passes, choose 1 h or 1 day.</p>
<p>On RouterOS 7.17 and later, a router can refuse schedulers (its « device-mode »). If yours does, the card says so and shows the command <code>/system/device-mode/update scheduler=yes</code>. Run it in the WinBox terminal, then press the router&rsquo;s physical button (or cold-reboot it) to confirm.</p>
<h2>FAQ</h2>
<h3>Why do my MikroTik hotspot users never expire on RouterOS 7?</h3>
<p>Calendar validity is not a native hotspot user field. It depends on scripts that mark and later delete the user, and if the deleting script does not run correctly, the voucher stays alive. A cleanup scheduler on the router fixes this.</p>
<h3>What is the difference between limit-uptime and validity?</h3>
<p><code>limit-uptime</code> caps total connected time and is enforced by RouterOS itself. Validity is a calendar deadline counted from first use, which needs a script. You can use both, and either one ends the voucher.</p>
<h3>Does expiry still work after the router loses power?</h3>
<p>Connected-time limits do, because they do not depend on the clock. Calendar expiry does not always: many RouterBOARD devices have no battery-backed clock, so after a power cut the time can be wrong until NTP corrects it, which can delete vouchers too early or too late. A router with working internet time sync avoids this.</p>
<p>Pikro is free and open source (Apache 2.0). If you run a hotspot on MikroTik, <a href="/pikro">see what Pikro does and get it here</a>.</p>
<p>The post <a href="https://sogino.com/mikrotik-hotspot-vouchers-not-expiring-routeros-v7">MikroTik Hotspot Vouchers Not Expiring on RouterOS 7: How to Fix It</a> appeared first on <a href="https://sogino.com">Gino Sotongbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sogino.com/mikrotik-hotspot-vouchers-not-expiring-routeros-v7/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
