Commit Graph

130 Commits

Author SHA1 Message Date
billz dabec46511 Minor: untabify 2020-05-12 08:10:54 +01:00
billz 15032a3f44 Apply zbchristian patch 2020-05-12 07:50:28 +01:00
Taikuh 80b0634d2d corrected hostapd toggle display 2020-03-23 20:41:06 +08:00
Taikuh 8082430c30 ovpn, uap0 compatibility; readme 2020-03-15 19:02:20 +08:00
Taikuh 5e44aae1c5 Disable incompatible settings when bridged 2020-03-13 05:02:26 +08:00
Taikuh 8823c0602e Add bridged-routed toggle to webgui 2020-03-10 19:07:15 +08:00
glaszig 3cc2720a35 respect common dhcpcd config options in ap mode
resolves #502
2020-02-28 17:51:33 +00:00
billz 8e29570d07 Enable restart when hostapd is active. Addresses #495 2020-02-18 21:01:38 +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 2056236c42 Get hostapdStatus from System 2020-02-01 11:07:54 +00:00
billz 6325f4dd02 Update dnsmasq with bind-dynamic. Addresses #429 2020-01-13 09:42:05 +00:00
billz ff2c91fe8d Bugfix, resolves #457 2020-01-06 18:00:07 +00:00
billz a596568fbc Revert "Allow channel input up to 64 (testing)"
This reverts commit 40bc21a04b.
2019-12-30 04:39:37 +00:00
billz 40bc21a04b Allow channel input up to 64 (testing) 2019-12-28 00:05:59 +00:00
billz 597f2ebdb9 Added support for wireless mode AC 2019-12-26 06:17:27 +00:00
billz 5462e26d95 Add detect managedModeEnabled state with iwgetid 2019-12-13 14:05:41 +00:00
billz 07ca2900a1 Omit wpa_pasphrase is sec type = none. Resolves #439 2019-11-26 13:14:14 +00:00
billz a15ed37adc Update svc control init.d w/ systemd 2019-11-15 09:02:37 +00:00
billz bcdadd3d43 Parse/set static ip_address value for uap0. #329 2019-11-04 10:04:11 +00:00
billz fdef2a3d7a Parse/set dhcp-range & dhcp-option values from system config. #329 2019-11-04 09:40:23 +00:00
billz 7f384e9ff1 Abbreviate serviceStatus for small devices 2019-11-01 09:10:24 +00:00
billz 009f51c20c Parse/set dhcpcd & dnsmasq values from system config #329 2019-09-08 16:28:01 +01:00
billz 8be24381a8 Processed with phpcbf for PSR-2 coding standard 2019-09-07 16:42:31 +01:00
glaszig 33b99c0ae7 use template for hostapd page 2019-08-19 22:37:22 +02:00
glaszig d2bb1b02b5 move CSRFTokenFieldTag up to the opening form tag
for style and discoverability
2019-08-14 02:44:13 +02:00
Bill Zimmerman e2f07044b4
Merge pull request #362 from glaszig/feature/ap-client-limit
make hostapd's max_num_sta configurable
2019-08-10 12:13:30 +02:00
glaszig 3f9d176793 show current nax_num_sta as input value,
make field description translatable
2019-08-10 11:57:10 +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 f36b08c10a rename CSRFToken() to the more apt CSRFTokenFieldTag() 2019-08-06 20:55:16 +02:00
glaszig 0a255e8b49 don't write the csrf token field to the output buffer
but return and echo it
2019-08-06 20:55:16 +02: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
Bill Zimmerman 9b66c2cd03
Merge pull request #363 from glaszig/fix/hostapd-wmm
properly enable wmm by fixing a typo
2019-08-05 15:46:10 +02:00
billz c0cfcfa117 Bugfix, resolves #367 2019-08-05 14:26:55 +01:00
glaszig 1152637120 puts service status as label into panel heading 2019-08-02 23:40:06 +02:00
glaszig b52f290020 improved 802.11 standard select option labels in hostapd ui 2019-08-01 23:01:31 +02:00
glaszig 0e9ed7d833 make hostapd's max_num_sta configurable 2019-08-01 22:42:52 +02:00
glaszig ab7f990d13
properly enable wmm by fixing a typo
if `ieee80211n=1`, `wmm_enabled=1` should be configured as well
according to the docs, quote:

# ieee80211n: Whether IEEE 802.11n (HT) is enabled
# 0 = disabled (default)
# 1 = enabled
# Note: You will also need to enable WMM for full HT functionality.
# Note: hw_mode=g (2.4 GHz) and hw_mode=a (5 GHz) is used to specify the band.

https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
2019-08-01 22:19:46 +02:00
glaszig 81a67c0121 better filename 2019-07-30 21:21:16 +02:00
glaszig a6d3336212 fix command injection issue. fixes #354. 2019-07-30 21:21:16 +02:00
billz 1a23316abd Write wifi managed interface to config 2019-04-30 18:29:09 +00:00
billz c0570b616e Processed with phpcs for PSR-2 coding standard 2019-04-10 08:37:35 +00:00
billz 10be910657 Bugfix: replaced wlan0 with constant 2019-03-17 20:14:08 +00:00
billz 8267c9b10a Bugfix 2019-03-12 07:32:17 +00:00
billz b012bae759 bugfix 2019-03-12 00:11:29 +00:00
billz 7d98d12e3b WIP, rewite configs 2019-03-12 00:03:18 +00:00
billz 113f3bfcb8 WIP, config rewriting 2019-03-11 23:47:09 +00:00
billz 6cf96fd65d Increased sleep value 2019-03-07 22:12:38 +00:00
billz 192a849cd5 Update default dnsmasq settings 2019-03-07 18:11:58 +00:00
billz 1df86a78a9 Updated with paramaterized servicestart 2019-03-07 10:13:40 +00:00
billz 8a41731513 Added todo for restarting hostapd 2019-03-06 20:07:54 +00:00
billz b9ed8c472e Service renamed 2019-03-06 19:12:32 +00:00
billz 9e95863cce Persist WifiAPEnable to ini, enable uap0 interface in dnsmasq.conf 2019-03-06 18:42:13 +00:00
billz d6bd7d2c4a WIP: WifiAPEnable handling 2019-03-06 13:24:51 +00:00
billz 0dbfa71a96 WIP: Advanced options 2019-03-06 10:44:43 +00:00
D9ping 9f5cf8a069 Allow empty passphrase to be entered on no security. #208
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-14 03:22:54 +02:00
D9ping 2104f620bc Allow creating not secured wi-fi. Fixes #208
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-12 13:05:15 +02:00
D9ping ee41ed7e0f Added support for hidding SSID. Implement idea from #247.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-10 20:11:10 +02:00
D9ping 28f0c18c5a Merge branch 'master' into 802.11N 2018-10-04 18:07:07 +02:00
D9ping 73f5e4f2da Properly use for attribute for label tags on hostapd page.
Added support for id attribute for SelectorOptions function.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 22:20:06 +02:00
D9ping b10b538896 Allow channel 14 for Japan in 802.11b mode.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 16:40:45 +02:00
D9ping bf638dc2f2 Added support for selecting to use 802.11N
Limit channel selection for north america.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 14:40:55 +02:00
Tom ec1f8022fe
Fix xss in interface parameter. 2018-10-02 12:58:50 +02:00
D9ping 2b03fa316d Escape client input, console output etc. before doing any echo.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-04 02:05:56 +02:00
billz 628a60893d Replaced strings with gettext alias 2018-05-27 15:48:42 +00:00
Bill Zimmerman ef9dcbe06c
Merge branch 'master' into i18n 2017-11-02 23:41:33 +01:00
billz 8d1370e2fd Removed debug output 2017-11-02 20:46:46 +00:00
billz c88d027ec6 Added standard div wrapper to new tab 2017-11-02 18:43:52 +00:00
Lawrence f61cc31b20 Created new branch off master to help troubleshoot with #132 2017-11-02 22:43:41 +08:00
billz 4c94d29668 Updated static labels with gettext() 2017-10-24 13:50:30 +00:00
billz 062d5aeb4f Replaced interface labels with gettext() 2017-10-23 19:51:34 +00:00
billz 63dc84764f Removed inline style 2017-10-06 23:18:42 +00:00
Bill Zimmerman 85992a67b7 Moved alert above tabs for consistency 2017-05-25 09:40:37 +00:00
Bill Zimmerman aa08e64043 Fixed misplaced /div 2017-05-19 14:56:07 +00:00
Bill Zimmerman 66a211429b Resolves #60 2017-05-19 14:00:47 +00:00
Joe Haig 8e179f0614 Set form actions correctly 2016-09-11 20:48:12 +01:00
Joe Haig bff9dfbbbc Some validation on POST data 2016-08-05 20:38:02 +00:00
Joe Haig 671016e685 Add CSRF to hostapd config
And tidy things up a bit
2016-08-05 15:50:05 +01:00
Joe Haig 15a4ece433 Move function to save HostAPD config too 2016-07-27 20:48:27 +00:00
Joe Haig bfb1332cdf Move HostAPD into separate file 2016-07-27 20:43:40 +00:00