Commit graph

66 commits

Author SHA1 Message Date
billz
3e1fbdf298 Fix for getNetConfig() resolving local server 2023-02-05 13:52:42 +01:00
billz
56b15a8eb8 Handle infinite value when constructing cfg 2023-01-17 18:23:50 +01:00
billz
c7ba2e1ec5 Fix handling of infinite lease time. 2023-01-17 18:10:13 +01:00
Megan Howell
78156484bf
Update to not freak out over vlans
https://www.reddit.com/r/RaspAP/comments/w0mm0v/how_to_configure_dhcp_on_vlan_interfaces/
2022-07-16 16:07:39 -07:00
billz
f077aedde0 Define RASPI_DHCPCD_LOG. Resolves #1058 2021-11-17 18:06:43 +00:00
smurphy
6c0b2d8b82 Fix for issue #1016 DHCP serves wrong Subnet Mask after updaiting in the webapp 2021-09-24 12:32:07 -04:00
smurphy
43088d3d1d Fix for issue #1016 DHCP serves wrong Subnet Mask after updaiting in the webapp 2021-09-24 12:31:28 -04:00
billz
c24104008a Pass $upstreamServers to template, resolves #994 thx @SephGER 2021-09-07 17:04:00 +01:00
Fabrice Colas
17597cd2cc DHCP static leases w/ optional comment
* Ability to add an optional Comment to DHCP  static Leases
    * Sort DHCP static leases by IP (more human readable)
2021-07-27 18:33:00 +02:00
glaszig
6196bcd311 add 'default route' toggle to network interface configuration ui 2021-04-03 00:43:42 +01:00
billz
1eec097b80 Bugfix: Parse dhcp-host entries 2021-02-22 09:47:25 +00:00
billz
910122838d Handle dhcp log options w/ 090_raspap.conf 2020-12-24 10:20:52 +00:00
billz
0cd278f040 Create 090_raspap.conf w/ dnsmasq log-facility 2020-12-12 19:29:43 +00:00
billz
04b0e8ac53 Set log-facility for dnsmasq 2020-12-12 16:53:58 +00:00
billz
e77b0fead1 Minor: camelCase + docblocks 2020-12-04 22:44:27 +00:00
billz
de787c424a Create functions from procedural code 2020-12-04 14:40:54 +00:00
billz
1c6d837a80 Bugfix: handle subnetmask null value 2020-12-03 10:29:11 +00:00
billz
15fb1b714c Minor: cleanup 2020-12-01 22:51:00 +00:00
billz
5cc7794cb0 Update fallback static profile, subnet mask 2020-11-30 12:09:22 +00:00
billz
2ff8f6f179 Bugfix: add/update/delete config 2020-11-27 16:28:37 +00:00
billz
5045cbfd33 Fixup dhcp cfg save/update 2020-11-26 17:20:12 +00:00
billz
b63a53e182 Set default dhcp interface on page load 2020-11-21 13:52:20 +00:00
billz
a0a8ff0734 Cleanup: procedural code into functions 2020-11-20 07:35:36 +00:00
billz
3c7eab702c enable log-facility + conf-dir on default iface 2020-11-19 12:35:38 +00:00
billz
ebbd6f4399 Refactor, create SaveDHCPConfig() 2020-11-17 11:21:04 +00:00
billz
209d741363 Remove parse DHCP, moved to AJAX handler 2020-11-16 18:21:31 +00:00
billz
daa6b877e6 Enable DHCP option for all interfaces 2020-11-15 10:55:33 +00:00
billz
e5f1d4ed0e Safe write dhcpcd.conf, validate static IP, handle revert cfg 2020-11-11 12:40:22 +00:00
billz
6d14cbaee5 Handle dhcp for eth0, udpdate dhcpcd + dnsmasq.conf 2020-11-09 17:48:32 +00:00
billz
90b922c432 Update with dnsmasq logfile output 2020-03-05 10:35:40 +00:00
glaszig
e037bd92e7 prevent empty upstream server field if non is set 2020-03-04 18:23:51 +01:00
glaszig
6bb4abac56 added checkbox for no-resolv option in dnsmasq.conf 2020-02-29 18:33:51 +01:00
glaszig
a3c8def120 added ui to manage upstream dns servers 2020-02-28 23:41:56 +01:00
glaszig
409adb0c05 add conf-dir option to dnsmasq.conf, closes #403
this allows custom configuration stored
in files in /etc/dnsmasq.d. raspap does not
touch them and they'll always be loaded.

also creates /etc/dnsmasq.d if it doesn't exist.
2020-02-26 02:13:19 +00:00
billz
457da91008 Processed with phpcbf 2020-02-15 17:57:46 +00:00
John
8fe0e9e59a fully locked down the back-end in monitoring mode 2020-02-13 23:08:46 -03:30
billz
11955a9641 Update svc control init.d w/ systemd 2019-11-15 09:00:36 +00:00
billz
7f384e9ff1 Abbreviate serviceStatus for small devices 2019-11-01 09:10:24 +00:00
Bill Zimmerman
093080cb49
Merge branch 'master' into bootstrap4 2019-10-20 22:33:09 +02:00
billz
ce944f92bb Rebase master 2019-10-14 23:33:41 +01:00
Yusnel Rojas Garcia
4d45afa27b support dns options in dnsmasq configuration 2019-10-11 13:24:22 -04:00
billz
f9afd96280 Fix: update tmp/dnsmasqdata to match sudoers. Resolves #407 2019-10-04 18:57:58 +01:00
billz
8be24381a8 Processed with phpcbf for PSR-2 coding standard 2019-09-07 16:42:31 +01:00
glaszig
df429064c6 fixed up dhcp template 2019-08-19 22:37:22 +02:00
glaszig
9defff1cf4 use template for dhcp page 2019-08-19 22:37:22 +02:00
Bill Zimmerman
b878e87cae
Merge pull request #371 from glaszig/ui/layout-fixes
layout improvements
2019-08-09 16:34:14 +02:00
Bill Zimmerman
a00f1be009
Merge pull request #366 from glaszig/feature/improved-service-status-indicator
improved service status display
2019-08-08 20:55:04 +02:00
glaszig
c1da509053 remove superfluous, overly nested html (mainly bootstrap panels) 2019-08-07 23:16:56 +02:00
billz
b5f875cce7 Updated CSRFTokenFieldTag 2019-08-07 21:01:05 +01:00
glaszig
87fe8948b8 remove splattered, duplicated csrf validation code
since we do that always and early, now.
2019-08-06 20:55:16 +02:00