Softcloud Wiki
Linux, Raspberry Pi, YunoHost, RaspAP
Recherche
Accueil
Linux
Raspberry Pi
YunoHost
RaspAP
Explorateur
Rechercher
Connexion
Accueil
Explorateur
Ajouter un article
Accueil
Softcloud Wiki
Contribuer
Edition de l'article
Captive portal setup
Les champs marqués * sont obligatoires !
Paramètres
* Contenu
Fermer
Insérer un lien vers un article
Titre de l'article
1
2
3
4
5
Pour insérer un lien vers un article veuillez utiliser la balise link : [link=$a]$b[/link] où $a représente le titre de l'article (sans caractères spéciaux, tel qu'il apparaît dans l'adresse) et $b représente le nom du lien
Couleur du texte
Couleur du fond
Taille du texte
Choisir la taille du texte (px)
Aperçu du texte
Police d'écriture
Andale Mono
Arial
Arial Black
Book Antiqua
Comic Sans MS
Courier New
Georgia
Helvetica
Impact
Symbol
Tahoma
Terminal
Times New Roman
Trebuchet MS
Verdana
Webdings
Wingdings
Alignement
Aligner à gauche
Insérer
Centrer
Insérer
Aligner à droite
Insérer
Justifier
Insérer
Positionnement
Flottant à gauche
Insérer
Flottant à droite
Insérer
Indentation
Insérer
Exposant
Insérer
Indice
Insérer
Titrage
Titre 1
Insérer
Titre 2
Insérer
Titre 3
Insérer
Titre 4
Insérer
Titre 5
Insérer
Liste
Nombre de lignes
Liste ordonnée
Sélectionner
Tableau
Nombre de lignes
Nombre de colonnes
Entête
Sélectionner
Conteneur
Paragraphe
Insérer
Bloc
Insérer
Conteneur personnalisable
Choisir
Bloc champs
Choisir
Abréviation
Choisir
Conteneur personnalisable
Ces critères nécessitent la connaissance des langages HTML/CSS et les propriétés du thème utilisé.
Identifiant
Classes
Style
Bloc champs
Titre du bloc champs
Style
Abréviation
Abréviation
Nom complet
Citation
Auteur de la citation
Citation
Contenu Caché
Cacher le contenu et l'afficher au clic
Insérer
Cacher le contenu aux visiteurs
Insérer
Cacher la fin du contenu aux visiteurs
Insérer
Cacher le contenu aux membres
Insérer
Style
Remarque
Insérer
Question
Insérer
Succès
Insérer
Avertissement
Insérer
Erreur
Insérer
Lien
Adresse du lien
Texte du lien
Adresse email
Adresse email
Texte de la balise
Lien wikipedia
Mot
Définir une langue dans le lien
Sinon
fr
est ajouté automatiquement
Sélectionner
Langue
Allemand
Anglais
Arabe
Arménien
Azéri
Basque
Bélarusse
Bulgare
Catalan
Cebuano
Chinois
Croate
Danois
Espagnol
Espéranto
Estonien
Finlandais
Français
Galicien
Géorgien
Grec
Hebreu
Hindi
Hollandais
Hongrois
Indonésien
Italien
Japonais
Kazakh
Koréen
Lituanien
Malais
Norvegien (nn)
Norvegien (no)
Ourdou
Persan
Polonais
Portugais
Roumain
Russe
Serbo-Croate
Slovaque
Slovène
Serbe
Suédois
Tchétchène
Tchèque
Thai
Turc
Ukrainien
Vietnamien
Winaray
Flux RSS
Nom du module
Choisir un module
Wiki
Catégorie
Nombre d'éléments à afficher
Ancre vers un endroit de la page
Nom de l'ancre
Ajouter le lien vers l'ancre
Sélectionner
Son
Adresse du fichier audio
Vidéo
Adresse de la vidéo
Hébergeur
Fichier distant
Youtube
Dailymotion
Vimeo
Largeur de la vidéo
Hauteur de la vidéo
Ajouter une vignette
Ajouter une image avec un effet lightbox
Adresse de l'image
Largeur max de la vignette (px)
Ajouter une image avec description
Adresse de l'image
Texte alternatif
Description de l'image
Largeur max de l'image (px)
Smileys
Emojis HTML
D'autres emojis sur
unicode-table.com
ou
w3c.com
Smileys
😀
😉
😁
😆
😅
😂
🤣
😊
🙂
😄
🙃
😇
😃
😚
🥰
😙
😍
😗
🥲
😘
🤩
😋
😛
😜
🤪
😝
🤑
🤔
🤭
🤗
🤫
😐
😶
🤨
😬
😏
😑
😒
🙄
🤐
🤥
😌
😔
😪
😴
🤤
🥶
🤧
😷
🤯
🥴
😵
🤒
🥵
🤮
🤕
🤢
🥸
🤠
🥳
🤓
😎
🧐
😕
😖
😧
🥺
😫
😱
😞
😯
😮
😭
😟
😓
😩
😢
😲
😨
🥱
😳
🙁
😥
😣
😦
😰
☠
😤
😈
😡
💀
👿
🤬
😠
💩
🤡
🤖
👽
👾
👻
👺
👹
🙉
🙊
🙋
🗨
💭
💬
💢
💥
💣
💯
💨
💦
💫
💤
👀
💪
🧡
🤎
🤍
🖤
💚
💙
💜
💛
💋
💔
💘
💖
💝
✋
👋
🖖
🖐
🤙
🤞
🤟
🤘
👌
🤌
🤏
👆
👇
👈
👉
🤛
🤜
👍
✊
👊
👎
👐
🤝
👏
🤲
🙏
🙌
Icônes Font Awesome
[fa=fa-style,fa-option]nom de l'icône (sans le "fa-")[/fa]
Code
Chemin vers un fichier
Langage
Text
Sql
Xml
BBCode
Template
HTML
CSS
Javascript
PHP
Asp
Python
Pearl
Ruby
Bash
C
C++
C#
D
Go
Java
Pascal++
Delphi
Fortran
Vb
Asm
Afficher sur une seule ligne
Sélectionner
[img]https://user-images.githubusercontent.com/229399/163764673-bd9f5553-e8cb-43f0-ae1f-55ddb41404f1.png[/img] -- Overview -- The [url=https://github.com/nodogsplash/nodogsplash]nodogsplash project[/url] is a lightweight, highly configurable captive portal solution. It integrates nicely with RaspAP and is recommended over other methods. No configuration changes are needed with RaspAP, however you will need to modify some default settings in the nodogsplash config. This step-by-step guide assumes you have already installed RaspAP, either with the [url=https://docs.raspap.com/quick/]Quick Installer[/url] or [url=https://docs.raspap.com/manual/]manual setup instructions[/url]. Note This walkthrough is provided as a courtesy only; there is no support for NDS or any integration with this project. -- Installing the software -- Begin by updating your RPi with the latest package information: [code=text]sudo apt-get update[/code] With our package manager up to date, install a dependency required by nodogsplash: [code=text]sudo apt-get install libmicrohttpd-dev[/code] Next, clone the nodogsplash GitHub repository to your home directory: [code=text]cd ~/ git clone https://github.com/nodogsplash/nodogsplash.git[/code] We can now compile nodogsplash from the source: [code=text]cd nodogsplash make sudo make install[/code] -- Configuration changes -- With nodogsplash installed in the Pi's system, we will make two small changes to its configuration. The nodogsplash [code=text,0,1]GatewayInterface[/code] should be set to the interface RaspAP runs on ([code=text,0,1]wlan0[/code] is the default). You will also need to change the [code=text,0,1]GateWayAddress[/code] to [code=text,0,1]10.3.141.1[/code]. Note If you have modified RaspAP's default configuration, be sure this setting reflects your changes, otherwise the captive portal will not work correctly. [code=text]sudo nano /etc/nodogsplash/nodogsplash.conf[/code] [code=text]# GatewayInterface is not autodetected, has no default, and must be set here. # Set GatewayInterface to the interface on your router # that is to be managed by Nodogsplash. # Typically br-lan for the wired and wireless lan. # GatewayInterface wlan0 # # Parameter: GatewayAddress # Default: Discovered from GatewayInterface # # This should be autodetected on an OpenWRT system, but if not: # Set GatewayAddress to the IP address of the router on # the GatewayInterface. This is the address that the Nodogsplash # server listens on. GatewayAddress 10.3.141.1[/code] Save and quit out of the editor by pressing [b]Ctrl[/b]+[b]X[/b] and then pressing [b]Y[/b] and finally [b]Enter[/b]. -- Starting the captive portal -- We are now ready to start up the software. This can be done by simply executing the binary with [code=text,0,1]sudo nodogsplash[/code]. However, we'll make things a bit easier by adding a [code=text,0,1]systemd[/code] service provided by the project. Copy the service control file and enable it: [code=text]sudo cp ~/nodogsplash/debian/nodogsplash.service /lib/systemd/system/ sudo systemctl enable nodogsplash.service [/code] Next, start the service and check its status: [code=text]sudo systemctl start nodogsplash.service sudo systemctl status nodogsplash.service[/code] You should see output similar to the following: [code=text]● nodogsplash.service - NoDogSplash Captive Portal Loaded: loaded (/lib/systemd/system/nodogsplash.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-02-11 09:19:44 GMT; 34min ago Main PID: 10539 (nodogsplash) Tasks: 4 (limit: 1599) Memory: 1.7M CGroup: /system.slice/nodogsplash.service └─10539 /usr/bin/nodogsplash Feb 11 09:19:44 raspberrypi systemd[1]: Starting NoDogSplash Captive Portal... Feb 11 09:19:44 raspberrypi nodogsplash[10538]: [5][Tue Feb 11 09:19:44 2020][10538](src/main.c:496) Starting as daemon, forking to background Feb 11 09:19:44 raspberrypi nodogsplash[10538]: [5][Tue Feb 11 09:19:44 2020][10539](src/main.c:271) Detected gateway wlan0 at 10.3.141.1 (dc:a6:32:3d:ff:9d) Feb 11 09:19:44 raspberrypi nodogsplash[10538]: [5][Tue Feb 11 09:19:44 2020][10539](src/main.c:275) MHD Unescape Callback is Disabled Feb 11 09:19:44 raspberrypi nodogsplash[10538]: [5][Tue Feb 11 09:19:44 2020][10539](src/main.c:305) Created web server on 10.3.141.1:2050 Feb 11 09:19:44 raspberrypi nodogsplash[10538]: [5][Tue Feb 11 09:19:44 2020][10539](src/main.c:319) Using config options for FAS or Templated Splash. Feb 11 09:19:44 raspberrypi systemd[1]: Started NoDogSplash Captive Portal. Feb 11 09:19:46 raspberrypi nodogsplash[10538]: [5][Tue Feb 11 09:19:46 2020][10539](src/fw_iptables.c:382) Initializing firewall rules[/code] Note The captive portal may be stopped with [code=text,0,1]sudo systemctl stop nodogsplash.service[/code] or disabled completely with [code=text,0,1]sudo systemctl disable nodogsplash.service[/code]. -- Connecting clients -- Connect a client to RaspAP's hotspot. You should now see nodogsplash's captive portal screen: [img]https://i.imgur.com/qS9mgTr.png[/img] Optional: you can customize the captive portal screen by modifying the files located in [code=text,0,1]/etc/nodogsplash/htdocs/[/code]. -- More information -- Full documentation of nodogsplash is available [url=https://nodogsplashdocs.readthedocs.io/en/stable/]here[/url].
Prévisualisation
Prévisualisation
Nature de la modification (facultatif, 100 caractères max)
* Code de vérification
Combien font 4 + cinq ?
Valider
Valider
Défaut