mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Updated Captive portal setup (markdown)
parent
291155fb24
commit
d43957b0a4
@ -10,9 +10,9 @@ sudo apt-get update
|
||||
sudo apt-get install libmicrohttpd-dev
|
||||
```
|
||||
|
||||
3. Next, clone the nodogsplash GitHub repository:
|
||||
3. Next, clone the nodogsplash GitHub repository to your home directory:
|
||||
```
|
||||
cd ~
|
||||
cd ~/
|
||||
git clone https://github.com/nodogsplash/nodogsplash.git
|
||||
```
|
||||
|
||||
@ -23,21 +23,20 @@ make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
5. With nodogsplash installed in the system, we will make two small changes to its configuration. The nodogsplash GatewayInterface should be set to the interface RaspAP runs on (wlan0 is the default). You will also need to change the GateWayAddress to 10.3.141.1.
|
||||
5. With nodogsplash installed in the Pi's system, we will make two small changes to its configuration. The nodogsplash `GatewayInterface` should be set to the interface RaspAP runs on (`wlan0` is the default). You will also need to change the `GateWayAddress` to `10.3.141.1`. **Note:** if you have modified RaspAP's default config, be sure this setting reflects your changes.
|
||||
|
||||
```
|
||||
sudo nano /etc/nodogsplash/nodogsplash.conf
|
||||
```
|
||||
|
||||
```
|
||||
# Default: NONE
|
||||
#
|
||||
# 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
|
||||
#
|
||||
@ -45,7 +44,6 @@ GatewayInterface wlan0
|
||||
# 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
|
||||
```
|
||||
Save and quit out of the editor by pressing **Ctrl+X** and then pressing **Y** and finally **Enter**.
|
||||
@ -90,4 +88,4 @@ Feb 11 09:19:46 raspberrypi nodogsplash[10538]: [5][Tue Feb 11 09:19:46 2020][10
|
||||
|
||||
![captive portal screen](https://i.imgur.com/qS9mgTr.png)
|
||||
|
||||
9. Optional: you can customize the captive portal screen by modifying the file located at `/etc/nodogsplash/htdocs/splash.html`.
|
||||
9. Optional: you can customize the captive portal screen by modifying the files located in `/etc/nodogsplash/htdocs/`.
|
Loading…
Reference in New Issue
Block a user