Custom settings

This commit is contained in:
Federico Frigo
2021-09-30 11:04:57 +01:00
parent c661b0f473
commit 50ab349d1b
10 changed files with 49 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
<?php
define('RASPI_BRAND_TEXT', 'RaspAP');
define('RASPI_BRAND_TEXT', 'Isobox');
define('RASPI_CONFIG', '/etc/raspap');
define('RASPI_CONFIG_NETWORK', RASPI_CONFIG.'/networking/defaults.json');
define('RASPI_ADMIN_DETAILS', RASPI_CONFIG.'/raspap.auth');
@@ -36,14 +36,14 @@ define('RASPI_HOTSPOT_ENABLED', true);
define('RASPI_NETWORK_ENABLED', true);
define('RASPI_DHCP_ENABLED', true);
define('RASPI_ADBLOCK_ENABLED', false);
define('RASPI_OPENVPN_ENABLED', false);
define('RASPI_OPENVPN_ENABLED', true);
define('RASPI_WIREGUARD_ENABLED', false);
define('RASPI_TORPROXY_ENABLED', false);
define('RASPI_CONFAUTH_ENABLED', true);
define('RASPI_CHANGETHEME_ENABLED', true);
define('RASPI_VNSTAT_ENABLED', true);
define('RASPI_SYSTEM_ENABLED', true);
define('RASPI_MONITOR_ENABLED', false);
define('RASPI_MONITOR_ENABLED', true);
// Locale settings
define('LOCALE_ROOT', 'locale');

View File

@@ -7,8 +7,8 @@
"subnetmask": [ "255.255.255.0" ]
},
"uap0": {
"static ip_address": [ "192.168.50.1/24" ],
"static routers": [ "192.168.50.1" ],
"static ip_address": [ "192.168.200.1/24" ],
"static routers": [ "192.168.200.1" ],
"static domain_name_server": [ "1.1.1.1 8.8.8.8" ],
"subnetmask": [ "255.255.255.0" ]
},
@@ -31,7 +31,7 @@
"dhcp-range": [ "10.3.141.50,10.3.141.255,255.255.255.0,12h" ]
},
"uap0": {
"dhcp-range": [ "192.168.50.50,192.168.50.150,12h" ]
"dhcp-range": [ "192.168.200.50,192.168.200.150,12h" ]
}
}
}

View File

@@ -10,9 +10,9 @@ require dhcp_server_identifier
slaac private
nohook lookup-hostname
# RaspAP wlan0 configuration
interface wlan0
static ip_address=10.3.141.1/24
static routers=10.3.141.1
# RaspAP uap0 configuration
interface uap0
static ip_address=192.168.200.1/24
static routers=192.168.200.1
static domain_name_server=9.9.9.9 1.1.1.1

View File

@@ -4,14 +4,14 @@ ctrl_interface_group=0
beacon_int=100
auth_algs=1
wpa_key_mgmt=WPA-PSK
ssid=raspi-webgui
ssid=isobox
channel=1
hw_mode=g
wpa_passphrase=ChangeMe
interface=wlan0
wpa_passphrase=isobox-password
interface=uap0
wpa=2
wpa_pairwise=CCMP
country_code=
country_code=IT
## Rapberry Pi 3 specific to on board WLAN/WiFi
#ieee80211n=1 # 802.11n support (Raspberry Pi 3)
#wmm_enabled=1 # QoS support (Raspberry Pi 3)
@@ -22,3 +22,4 @@ country_code=
## RaspAP bridge AP mode (disabled by default)
#bridge=br0
ignore_broadcast_ssid=0