1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
Commit graph

5522 commits

Author SHA1 Message Date
George Hunt
10494c370a webpack does not bundle externap -- not node -- modules 2020-08-22 18:30:32 -07:00
George Hunt
f6e2af59ca move scripts and assets 2020-08-22 18:30:32 -07:00
georgejhunt
db56e184d1
7.2 maps [OSM] (#2486)
* move scripts and assets

* webpack does not bundle externap -- not node -- modules

* change main.js to *-bundle for viewer, test-page, and installer

* disable the long download of osm for all versions of local_vars

* start nginx for OSM always

* let nodejs provide js packages

* move scripts and assets

* webpack does not bundle externap -- not node -- modules

* change main.js to *-bundle for viewer, test-page, and installer

* disable the long download of osm for all versions of local_vars

* start nginx for OSM always

* let nodejs provide js packages

* change soft coded pointers from test branch to master
2020-08-22 10:47:57 -07:00
georgejhunt
32348e58ef
Regions (#2480)
* missing link in mapli/assets for regions.json

* wrong target

* the download of regions.json was lost
2020-08-10 16:06:30 -07:00
georgejhunt
8090f3bb29
Stage1.5 [OSM] (#2473)
* change osm_branch to maps_branch. That is what it is

* wiki says stage1  does not include changes to maps/main.js

* get the map catalog from ukids

* skip bypass download if files are present

* add an init.json

* add in extend_sat

* first cut

* first errors

* put fonts in iiab font dir

* get the php tilesserve in place

* add tileserver.php

* add in search files

* fonts are available already

* Revert "fonts are available already"

This reverts commit c93a38a4ed99080ae5590abaffa8cf69196ed9dd.

* Create README.md

* put fonts back in

* getting ready to transfer to rpi

* move regions.json to test

* create the symlinks for viewer

* use wget

* deal with detail from regions.json

* reformat to IIAB for map tiles

* deleting z0-z9 takes 30min

* remove sleep

* transfer current state to hadron

* bump transition between white labels to black on sat style from 7 to 9

* added init.json to aggregate

* put regions.json in iiab map role

* get files from archive.org

* detail_url was wrong from update_regions.py

* get regions.json from iiab repo

* put regios.json where admin console needs it

* update details_url

* create yamls for osm

* fix typos in new yamls

* missing with_items clause

* put detail.mbtiles in ./tiles folder

* do the move from working to viewer

* choose the version which uses lib_adm

* first cut

* first errors

* put fonts in iiab font dir

* get the php tilesserve in place

* add tileserver.php

* add in search files

* fonts are available already

* Revert "fonts are available already"

This reverts commit c93a38a4ed99080ae5590abaffa8cf69196ed9dd.

* put fonts back in

* getting ready to transfer to rpi

* move regions.json to test

* create the symlinks for viewer

* use wget

* deal with detail from regions.json

* reformat to IIAB for map tiles

* deleting z0-z9 takes 30min

* remove sleep

* transfer current state to hadron

* bump transition between white labels to black on sat style from 7 to 9

* added init.json to aggregate

* put regions.json in iiab map role

* get files from archive.org

* detail_url was wrong from update_regions.py

* get regions.json from iiab repo

* put regios.json where admin console needs it

* update details_url

* create yamls for osm

* fix typos in new yamls

* missing with_items clause

* put detail.mbtiles in ./tiles folder

* install dir.php

* change docroot in tileserver.php

* Update README.md

* regions.json updated with 2019 data

* add mbtileinfo.php and put it in place

* changes to osm-fixup

* osm-fixup receive url

* typo in fixup and wronge mbtileinfo base

* sloppy mistakes arount found_region

* can use adm-lib.py

* change regions.json to map-catalog.json

* change regios.json to map-catalog.json, bump 2map-reorg to 3map-reorg as branch name

* another region->map

* call the console script to add menu items

* fetch test-page from test branch

* typo in osm-fixup.py comment

* remove the map_functions from test page

* new bboxes, title to san_jose

* remove the regions.json and map_functions.js

* let the map repo have all files related to test-page

* first cut

* first errors

* put fonts in iiab font dir

* get the php tilesserve in place

* add tileserver.php

* add in search files

* start debugging

* fonts are available already

* Revert "fonts are available already"

This reverts commit c93a38a4ed99080ae5590abaffa8cf69196ed9dd.

* Create README.md

* put fonts back in

* getting ready to transfer to rpi

* move regions.json to test

* create the symlinks for viewer

* use wget

* deal with detail from regions.json

* reformat to IIAB for map tiles

* deleting z0-z9 takes 30min

* remove sleep

* transfer current state to hadron

* bump transition between white labels to black on sat style from 7 to 9

* added init.json to aggregate

* put regions.json in iiab map role

* get files from archive.org

* detail_url was wrong from update_regions.py

* get regions.json from iiab repo

* put regios.json where admin console needs it

* update details_url

* create yamls for osm

* fix typos in new yamls

* missing with_items clause

* put detail.mbtiles in ./tiles folder

* do the move from working to viewer

* these moves work

* first cut

* first errors

* put fonts in iiab font dir

* get the php tilesserve in place

* add tileserver.php

* add in search files

* start debugging

* fonts are available already

* Revert "fonts are available already"

This reverts commit c93a38a4ed99080ae5590abaffa8cf69196ed9dd.

* put fonts back in

* getting ready to transfer to rpi

* move regions.json to test

* create the symlinks for viewer

* use wget

* deal with detail from regions.json

* reformat to IIAB for map tiles

* deleting z0-z9 takes 30min

* remove sleep

* transfer current state to hadron

* bump transition between white labels to black on sat style from 7 to 9

* added init.json to aggregate

* put regions.json in iiab map role

* get files from archive.org

* detail_url was wrong from update_regions.py

* get regions.json from iiab repo

* put regios.json where admin console needs it

* update details_url

* create yamls for osm

* fix typos in new yamls

* missing with_items clause

* put detail.mbtiles in ./tiles folder

* install dir.php

* change docroot in tileserver.php

* Update README.md

* regions.json updated with 2019 data

* add mbtileinfo.php and put it in place

* changes to osm-fixup

* osm-fixup receive url

* typo in fixup and wronge mbtileinfo base

* sloppy mistakes arount found_region

* can use adm-lib.py

* change regions.json to map-catalog.json

* change regios.json to map-catalog.json, bump 2map-reorg to 3map-reorg as branch name

* another region->map

* call the console script to add menu items

* fetch test-page from test branch

* typo in osm-fixup.py comment

* remove the map_functions from test page

* new bboxes, title to san_jose

* remove the regions.json and map_functions.js

* let the map repo have all files related to test-page

* add css

* get nginx /maps working

* helps admin console work with osm-maps

* point to the stage1 branch in maps

* add bypass

* pull from map repo from a branch that is controlled by a variable

* somehow this install was missing php-sqlite

* add init.json

* change osm_branch to maps_branch. That is what it is

* wiki says stage1  does not include changes to maps/main.js

* get the map catalog from ukids

* skip bypass download if files are present

* let osm_enalbled control world to zoom 10

* expand bypass to install-map-region

* lots of errors in download script

* both are modified

* need python to write init.json - but bash workds

* add in make_init.py

* init.json updated via python

* get the installer mbtiles

* change to map branch staage1

* add tileserve.php to installer

* put style-osm.json in installer

* create a link for planet in installer

* turn off enable in local_vars for osm-vector-maps

* copy scripts to /usr/bin

* softcode satellite fname

* typos

* sat_dir needed work

* standatdize output satellite mbtile name

* sat_bboxes not defined

* period to comma in sat_bboxes

* too many errors--did this ever work

* period to comma

* move new file into place, save old to /tmp

* cannot move to /tmp from root -- different filesystem.  So use copy

* add iiab-summarize.sh to /usr/bin

* write init.json correctly

* only the web-pack from stage1 branch

* let installer use php

* point to maps rc-master

* partially working but with many missing pieces

* got on the wrong machine

* got through it once with pages in rc-master

* add installer_functions to install.yml

* spell installer_functions with a .js

* need tileserver.php for installer

* colorize the map list for installed tiles

* add s to iiab-maps-finish.py

* get the name correct for iiab-maps-finish.py

* map->maps, add python3-pil

* iiab-extend-sat much better, maybe good enouth

* start work on README

* Update README.md

* move README.md up oe level

* change default map page to installer

* working on test-page redirect

* create assets in test-page

* get the installer redirect working

* can now record satellite download info in database -- needs improvement in bounds

* hyphen/underebar problem installer-functions.js

* change rc-master to master

* eliminate aggregate.py, dir.php, create_empty_mbtiles.sh

* move assets from iiab to maps

* removed dead wood and did get_url for map stuff

* extra space in with_items clause after hyphen caused errors

* keep stuff in main.yml I do not understand

* last vestiges of maps in iiab repo

* after runroles, nginx needs restarting

* remove dead wood, pull redirect for maplist from maps repo

* observe iiab standards

* remove redundant code

* get nginx box/maps to work

* fonts moved, so the pointers must change

* enabled => true in all
2020-08-10 12:02:58 -07:00
A Holt
3743c5a012
firmware/tasks/main.yml: minor grammar fix 2020-08-09 09:38:27 -04:00
A Holt
300cd9983f
firmware/tasks/install.yml: minor grammar fix 2020-08-09 09:37:41 -04:00
A Holt
1f3bd2d31f
firmware/tasks/main.yml: comments/clarifs 2020-08-09 09:21:59 -04:00
A Holt
9bd5cfbc67
firmware/tasks/install.yml: comments/clarifs + set Ansible var 2020-08-09 09:21:29 -04:00
A Holt
8b772fe516
Also rename Ansible var, to 'rpi_firmware_downloaded' 2020-08-09 08:55:51 -04:00
A Holt
4d57829075
Tag 'rpi_firmware_downloaded: True' in iiab_state.yml 2020-08-09 08:54:21 -04:00
A Holt
8d3b2f6ff8
Merge pull request #2472 from jvonau/firmware
RFC Firmware downgrading [WiFi hotspot capacity workaround, for Raspberry Pi]
2020-08-06 12:14:47 -04:00
Jerry Vonau
ee57061bed add color 2020-08-06 11:06:15 -05:00
Jerry Vonau
18cd3c8d1b file test before remove 2020-08-06 10:38:20 -05:00
Jerry Vonau
6e284ee493 daemon_reload 2020-08-05 14:21:40 -05:00
Jerry Vonau
daa4c64936 add 43455-clm_blob and backup 2020-08-03 10:26:27 -05:00
Jerry Vonau
5304bcdfa1 first run file absent 2020-08-03 10:26:27 -05:00
Jerry Vonau
0a747b1529 add clm_blob and adjust 2020-08-03 10:26:27 -05:00
Jerry Vonau
d4e396362e correct path and file name 2020-08-02 15:57:03 -05:00
Jerry Vonau
39cf0601d2
Update roles/firmware/tasks/main.yml
Co-authored-by: A Holt <holta@users.noreply.github.com>
2020-08-02 15:49:13 -05:00
Jerry Vonau
87c82b84d1
Update roles/firmware/tasks/main.yml
Co-authored-by: A Holt <holta@users.noreply.github.com>
2020-08-02 15:49:00 -05:00
Jerry Vonau
77dd015213
Update roles/firmware/tasks/main.yml
Co-authored-by: A Holt <holta@users.noreply.github.com>
2020-08-02 15:48:47 -05:00
Jerry Vonau
888dc4dbeb
Update roles/firmware/tasks/install.yml
Co-authored-by: A Holt <holta@users.noreply.github.com>
2020-08-02 15:48:17 -05:00
Jerry Vonau
5ab2eaabe0 forgot file extention 2020-08-02 13:54:59 -05:00
Jerry Vonau
bb003ea300 use same file extention 2020-08-02 13:47:52 -05:00
Jerry Vonau
f6c31f80ba handle firmware downgrade 2020-08-02 13:36:56 -05:00
Jerry Vonau
6e29ed1c3a RPiOS - use 'no-block' with dhcpcd 2020-08-01 11:08:02 -05:00
Jerry Vonau
e57cad010e Ubuntu - use networkd-dispatcher hooks to restart hostapd when br0 appears 2020-08-01 11:06:45 -05:00
Jerry Vonau
13e25494c0 RPiOS - use dhcpcd hooks to restart hostapd when br0 appears 2020-08-01 00:05:31 -05:00
A Holt
bfd67f9713
Merge pull request #2470 from jvonau/no_iiab
No /etc/network/interfaces.d/iiab [fixes RPi 3 B+, allowing WiFi firmware & hostapd to launch reliably on boot]
2020-07-30 11:53:55 -04:00
A Holt
7e0b2ec661
Gitea 1.12.2 -> 1.12.3 2020-07-28 18:46:19 -04:00
Jerry Vonau
016cdfcc37 use bind-dynamic for dnsmasq on RpiOS - 2 2020-07-23 23:09:01 -05:00
Jerry Vonau
264dc81f03 use bind-dynamic for dnsmasq on RpiOS 2020-07-23 22:59:36 -05:00
Jerry Vonau
b44526cc27 networking - RpiOS - May impact bluetooth networking.
Only supply 'iiab' and use networking service for wired slaves needing br0.
2020-07-23 22:42:03 -05:00
Tim Moody
7227062c21 do what kiwix does 2020-07-15 17:20:21 -04:00
Tim Moody
d1f0635b82 typo 2020-07-15 16:25:37 -04:00
Tim Moody
4128b0e47e name change 2020-07-15 16:16:03 -04:00
Tim Moody
67aeade158 and the other new guy 2020-07-15 16:12:20 -04:00
Tim Moody
d48ca96d3e forgot the new guy 2020-07-15 16:11:36 -04:00
Tim Moody
56b393c639 initial checkin 2020-07-15 16:05:19 -04:00
A Holt
5440636746
Merge pull request #2467 from holta/master
Gitea 1.12.1 -> 1.12.2
2020-07-11 14:41:08 -04:00
A Holt
3870df7785
Gitea 1.12.1 -> 1.12.2 2020-07-11 14:39:17 -04:00
A Holt
e88fec334c
Calibre-Web 0.6.8 -> master 2020-07-11 13:48:08 -04:00
A Holt
4804b414a5
Merge pull request #2464 from jvonau/more_php
More php [fix for OSM]
2020-07-11 13:41:09 -04:00
A Holt
3c381bef07
Comment in www_base/tasks/main.yml 2020-07-11 12:57:36 -04:00
A Holt
4ffb1f50a1
Explanation in mysql/tasks/install.yml 2020-07-11 12:50:20 -04:00
A Holt
8b4358bdbc
Try moving install of 10 php packages to www_base/tasks/main.yml 2020-07-11 12:47:25 -04:00
A Holt
987be7398c
Try moving install of 10 php packages to www_base/tasks/main.yml 2020-07-11 12:47:04 -04:00
A Holt
0c54429381
Experiment: install sqlite3 within osm-vector-maps only 2020-07-10 10:02:18 -04:00
Tim Moody
e24862cfcf syntax 2020-07-10 08:47:31 -04:00
Tim Moody
4f177f1b65 change resize service to use growpart, which must be installed for raspios 2020-07-09 18:50:56 -04:00
Jerry Vonau
1783a52a90 remove number of packages 2020-07-07 13:27:49 -05:00
A Holt
168716f077
mysql/tasks/install.yml: 9 -> 11 php packages 2020-07-07 14:22:07 -04:00
Jerry Vonau
e29ad5b142 httpd roles can be optional, move php -curl, -sqlite3 to common location in mysql with other php packages 2020-07-07 13:02:00 -05:00
Jerry Vonau
1957993435 OSM- ensure php{{ php_version }}-sqlite3 is installed 2020-07-07 12:59:43 -05:00
A Holt
0a108960e4
kiwix-tools 3.1.1-5 -> 3.1.2 2020-07-04 11:44:49 -04:00
A Holt
4bc7ccb02c
Merge pull request #2459 from holta/elgg-2.3.15
Elgg 2.3.14 -> 2.3.15...for real this time
2020-06-30 11:59:59 -04:00
A Holt
1fdce92527
Elgg 2.3.14 -> 2.3.15...for real this time 2020-06-30 11:53:44 -04:00
A Holt
43407f77a6
Merge pull request #2458 from holta/elgg-2.3.15
Elgg 2.3.15 -> 2.3.14 for now, still awaiting .zip file from Elgg devs
2020-06-29 19:42:22 -04:00
A Holt
63590faea8
Elgg 2.3.15 -> 2.3.14 2020-06-29 19:37:13 -04:00
A Holt
449ae1114e
Merge pull request #2457 from holta/kiwix-3.1.1-5
kiwix-tools 3.1.1-4 -> 3.1.1-5
2020-06-26 09:40:07 -04:00
A Holt
ebd15f9ae4
kiwix-tools 3.1.1-4 -> 3.1.1-5 2020-06-26 09:35:30 -04:00
A Holt
d18ff68786
Merge pull request #2455 from holta/elgg-2.3.15
Elgg 2.3.14 -> 2.3.15
2020-06-25 12:01:42 -04:00
A Holt
5ef27fe451
Elgg 2.3.14 -> 2.3.15 2020-06-25 11:55:58 -04:00
A Holt
727fad79fb
Merge pull request #2454 from holta/mediawiki-1.34.2
MediaWiki 1.34.1 -> 1.34.2
2020-06-24 13:46:43 -04:00
A Holt
dcd2db43ce
MediaWiki 1.34.1 -> 1.34.2 2020-06-24 13:40:55 -04:00
A Holt
d80009be68
Gitea 1.12.0 -> 1.12.1 2020-06-21 22:02:12 -04:00
A Holt
8841cccb35
Gitea 1.11.7 -> 1.12.0 2020-06-18 14:03:24 -04:00
A Holt
5d0fb8d0ca
Merge pull request #2449 from holta/gitea-1.11.7
Gitea 1.11.6 -> 1.11.7
2020-06-18 13:19:33 -04:00
A Holt
22e44b1d0e
Gitea 1.11.6 -> 1.11.7 2020-06-18 13:16:24 -04:00
A Holt
9e3a546253
Update httpd/tasks/install.yml 2020-06-15 16:13:53 -04:00
A Holt
ec74407119
Update elgg/tasks/install.yml 2020-06-15 16:06:43 -04:00
A Holt
bdf264b906
httpd/tasks/install.yml: mandate libapache2-mod-php{{ php_version }} 2020-06-15 16:04:34 -04:00
A Holt
f152518864
Mandate mbstring for Moodle 3.9+ in moodle/tasks/install.yml 2020-06-15 14:35:14 -04:00
A Holt
23c5774fa8
Cleanup: Moodle 3.9+ now requires phpX.Y-mbstring 2020-06-15 14:12:35 -04:00
A Holt
c06a6c98c9
roles/moodle/defaults/main.yml: Moodle 3.8.x -> 3.9.x 2020-06-15 14:01:26 -04:00
A Holt
0ece9b27d1
Update roles/pbx/README.rst 2020-06-07 00:58:41 -04:00
A Holt
6812ec33a8
Merge pull request #2442 from holta/gitea-1.11.6
Gitea 1.11.5 -> 1.11.6
2020-06-07 00:52:22 -04:00
A Holt
f922dce094
Gitea 1.11.5 -> 1.11.6 2020-06-07 00:45:34 -04:00
A Holt
ebef530c0b
Update roles/nodered/README.rst 2020-06-07 00:21:26 -04:00
A Holt
1322bf6367
Explain vars in httpd/tasks/install.yml 2020-06-04 15:30:40 -04:00
A Holt
0a274b4168
httpd: preserve www-data membership in group shadow 2020-06-04 15:22:21 -04:00
A Holt
3be313ec47
Merge pull request #2432 from holta/kiwix-3.1.1-4
kiwix-tools 3.1.1-0 -> 3.1.1-4
2020-06-04 12:34:27 -04:00
A Holt
d25950e8b1
kiwix-tools 3.1.1-0 -> 3.1.1-4 2020-06-04 12:32:03 -04:00
A Holt
67a12c2b77
Calibre-Web 0.6.7 -> 0.6.8 2020-06-03 11:57:14 -04:00
A Holt
a0291473c5
Merge pull request #2419 from holta/kiwix-3.1.1-0
kiwix-tools 3.1.1 -> 3.1.1-0
2020-05-22 11:18:24 -04:00
A Holt
3d41b449d4
kiwix-tools 3.1.1 -> 3.1.1-0 2020-05-22 11:12:03 -04:00
A Holt
06102d7431
Nix apache2 install from 9-local-addons/tasks/main.yml 2020-05-22 10:39:21 -04:00
Tim Moody
17f669597b js libs for nacl encryption 2020-05-22 10:27:40 -04:00
A Holt
fc074b35b3
Clean Apache explanation in 3-base-server/tasks/main.yml 2020-05-22 07:44:28 -04:00
A Holt
82c1350f03
Clarify in nginx/tasks/enable-or-disable.yml that... mysql's php no longer installs Apache 2020-05-22 01:12:07 -04:00
A Holt
0a298e4e95
Typo (comment) fix in 4-server-options/tasks/main.yml 2020-05-22 00:38:18 -04:00
A Holt
5ec09e39a5
Merge pull request #2415 from holta/kiwix-3.1.1
kiwix-tools 3.1.1
2020-05-21 14:36:19 -04:00
A Holt
601554931d
Merge pull request #2413 from holta/apache3
TK Issue: install Apache on demand in ./runrole elgg|lokole|moodle|nodered|cups
2020-05-21 14:35:38 -04:00
root
cd714402bf Install apache2 at end of 9-local-addons if admin_console_install: True (TEMPORARY) 2020-05-21 18:07:51 +00:00
root
39cd30548c More doc cleanup: rpi -> raspbian in mongodb/tasks/install.yml 2020-05-21 17:00:01 +00:00
root
afd9ee4343 Annotate comments with 2020-05-21 2020-05-21 03:05:22 -04:00
root
92af3485ec elgg/tasks/install.yml needs pkg libapache2-mod-php{{ php_version }} 2020-05-21 02:49:11 -04:00
root
2bc25d3c84 Fix internetarchive/tasks/install.yml 2020-05-21 00:54:30 +00:00
root
5c904b30ea Further reduce dependency on Apache 2020-05-20 19:38:09 -04:00
root
8efc06a273 Comments/0-init/NGINX/Apache cleanup 2020-05-18 17:33:30 -04:00
A Holt
b9c1b192d7
kiwix-tools 3.1.0-2 -> 3.1.1 2020-05-18 17:17:11 -04:00
A Holt
10af59c17d
Update roles/captiveportal/README.md 2020-05-18 15:06:21 -04:00
root
6188f30c0a Cleaner roles/nginx/README.md 2020-05-17 02:13:05 -04:00
root
701b12ede7 Put today's date in roles/nginx/README.md & 3-base-server/tasks/main.yml 2020-05-17 01:53:11 -04:00
root
b1fcec30fe Reduce Apache dependency in usb_lib & nginx roles 2020-05-17 01:06:48 -04:00
root
dde8a3285a Reduce dependency on Apache in gitea/kolibri/mediawiki/munin etc 2020-05-16 23:50:22 -04:00
root
a16702743e Clarify Apache residue in 3-base-server/tasks/main.yml 2020-05-16 22:58:48 -04:00
root
13bc1e960f Reduce dependency on Apache in 9 playbooks 2020-05-16 22:48:52 -04:00
root
83b44f0a89 Note: php forces install of Apache in mysql/tasks/install.yml 2020-05-16 21:12:20 -04:00
root
52e8d30f00 Reduce dependency on Apache in nginx/tasks/enable-or-disable.yml 2020-05-16 20:40:01 -04:00
root
a0a3b01c44 NGINX play: stop Apache if apache_installed is undefined 2020-05-16 19:40:54 -04:00
root
42d1f1ba21 CUPS too: install Apache on demand 2020-05-16 18:22:55 -04:00
root
223c92f5c5 Install Apache on demand, for TK: ./runrole elgg|lokole|moodle|nodered 2020-05-16 17:51:56 -04:00
A Holt
38e26d6b81
Cleaner calibre-web.service.j2 to avoid systemd warning "/etc/systemd/system/calibre-web.service:1: Assignment outside of section. Ignoring." 2020-05-16 15:25:51 -04:00
root
164d9c3282 New app.db for Calibre-Web 2020-05-16 14:53:52 -04:00
A Holt
224001d0ab
Merge pull request #2406 from jvonau/hook-tune
tuning of 52c0f2aaea [internal WiFi hotspot is not working]
2020-05-13 14:45:53 -04:00
Jerry Vonau
ae62306534 go with all three to match netd-disp 2020-05-13 09:53:01 -05:00
Jerry Vonau
1adb4997a6 didn't like * so split up 2020-05-13 02:14:08 -05:00
Jerry Vonau
2ed7c34579 tuning of 52c0f2aaea 2020-05-13 00:43:42 -05:00
A Holt
7e6d1dc433
hostapd_wait: 5 -> 10 2020-05-12 23:12:41 -04:00
A Holt
9aba2e9fff
Merge pull request #2404 from floydianslips/master
added video MIME support for Nextcloud/Nginx per  #2262
2020-05-12 18:54:53 -04:00
Joshua Dennis
c230e321ee added video MIME support for Nextcloud/Nginx 2020-05-12 14:47:02 -07:00
Jerry Vonau
c1bf4adfc2 selective rfkill unblock for raspbian 2020-05-12 10:45:35 -05:00
Jerry Vonau
754c521f0c yaml set the variable wan_nameserver as 'null' without quotes then jinja converts that 'none' 2020-05-11 10:54:26 -05:00
A Holt
9524b454bf
Merge pull request #2395 from jvonau/early-dns
install and start dnsmasq early - add option to set upstream dns server
2020-05-10 14:27:08 -04:00
A Holt
39b557b94c
Update enable_services.yml 2020-05-10 14:25:08 -04:00
A Holt
0d07479070
1-prep: #when: dnsmasq_install | bool 2020-05-10 14:22:58 -04:00
A Holt
f3b77205c8
Fix for #2399 2020-05-09 20:06:53 -04:00
Jerry Vonau
66f5425943 Merge branch 'master' into early-dns 2020-05-09 16:28:39 -05:00
A Holt
4261399ce2
Merge pull request #2398 from jvonau/bug
while testing 2395 - handle no wifi
2020-05-09 17:25:40 -04:00
Jerry Vonau
37d7186cb8 while testing 2395 - handle no wifi 2020-05-09 16:21:58 -05:00
A Holt
b4d1f49587
Merge pull request #2396 from holta/gateway-passthrough-clarif
Clarify (1) gateway "passthrough" in vars/* (2) no_net_restart in network/tasks/main.yml
2020-05-09 16:41:47 -04:00
A Holt
068b53c920
Update network/tasks/main.yml 2020-05-09 16:34:49 -04:00
A Holt
426d812a00
Gitea 1.11.4 -> 1.11.5 2020-05-09 16:23:39 -04:00
Jerry Vonau
efc28556ab remove stale note 2020-05-09 15:06:23 -05:00
Jerry Vonau
c88312428f settable at runtime 2020-05-09 15:06:23 -05:00
Jerry Vonau
7e79d691fc install and start dnsmasq early - add option to set upstream dns server 2020-05-09 15:06:23 -05:00
A Holt
0bb0649a5e
Ansible quotes fix in network/tasks/main.yml 2020-05-09 15:30:40 -04:00
A Holt
378aebb748
Update network/tasks/main.yml 2020-05-09 15:15:40 -04:00
A Holt
054046bc37
nextcloud_required_ip no longer used 2020-05-08 19:05:16 -04:00
A Holt
dd1c3e450e
Merge pull request #2393 from jvonau/2384-rebase
2384 rebase
2020-05-07 13:38:32 -04:00
Jerry Vonau
1193b15184 once installed and rebooted br0 will be available 2020-05-07 12:23:08 -05:00
Jerry Vonau
04edaeaddd raspbian - wifi installs not assigning ip address to br0 in time for dnsmasq 2020-05-07 12:23:08 -05:00
Jerry Vonau
845a961139 forget about pre-reboot AP usage 2020-05-07 12:23:08 -05:00
Jerry Vonau
a95d476287 rpi wifi-runtime changes 2020-05-07 12:23:08 -05:00
Jerry Vonau
52c0f2aaea too aggressive in dhcpcd's 50-hook 2020-05-07 12:23:08 -05:00
Jerry Vonau
0024a0c17f hotspots revised 2020-05-07 12:23:08 -05:00
Jerry Vonau
35efbe8ea8 hostapd keep a strict starting order 2020-05-07 12:23:08 -05:00
Jerry Vonau
2c7a720030 test-wifi - exit if ssid is not found or channel is unavailable 2020-05-07 12:23:08 -05:00
Jerry Vonau
1b58d712cf use iw in place of wpa_cli 2020-05-07 12:23:08 -05:00
Jerry Vonau
8190f4b7a9 runtime - move clone-wifi - adjust services 2020-05-07 12:23:08 -05:00
Jerry Vonau
933ca564bd wpa workaround doc'd and moved 2020-05-07 12:23:08 -05:00
Jerry Vonau
23940fcdc4 past sync up netd-disp2 2020-05-07 12:23:08 -05:00
Jerry Vonau
6e21b0b55b rpi-next-run sync up 2020-05-07 12:23:07 -05:00
Jerry Vonau
323e5c7372 don't use test-wifi for hostapd start 2020-05-07 12:23:07 -05:00
Jerry Vonau
25bd5a9b3c dhcpcd hook refinements 2020-05-07 12:23:07 -05:00
Jerry Vonau
7fd6fc9737 test wifi exit if no ssid is found 2020-05-07 12:23:07 -05:00
Jerry Vonau
c602bace6b hostapd.yml reload new services 2020-05-07 12:23:07 -05:00
Jerry Vonau
263010cfdf raspbian - only start clone-wifi if wired gateway is used 2020-05-07 12:23:07 -05:00
Jerry Vonau
60a6484c51 restart.yml netplan fix needs is_ubuntu 2020-05-07 12:23:07 -05:00
Jerry Vonau
050722f3a0 ubuntu hook for channel change 2020-05-07 12:23:07 -05:00
Jerry Vonau
7ca4664473 flying edit only when different 2020-05-07 12:23:07 -05:00
Jerry Vonau
1bdd038b41 raspbian no reboot -- needs testing 2020-05-07 12:23:07 -05:00
Jerry Vonau
b60d4957a1 ubuntu no reboot 2020-05-07 12:23:07 -05:00
Jerry Vonau
c51575f02b network main cleanup 2020-05-07 12:23:07 -05:00
Jerry Vonau
1366bf507d show what is being recoreded in iiab_env_file 2020-05-07 12:23:07 -05:00
Jerry Vonau
ec7ad926d1 netplan country= workaround 2020-05-07 12:03:51 -05:00
Jerry Vonau
664b540fdb update iiab-hotspot-on|off 2020-05-07 12:03:51 -05:00
Jerry Vonau
9a55fdff9c let wifi test start hostapd 2020-05-07 12:03:51 -05:00
Jerry Vonau
f150d09eae wifi-test needs before networkd 2020-05-07 12:03:51 -05:00
Jerry Vonau
6fb76de522 deal with netplan 2020-05-07 12:03:51 -05:00
Jerry Vonau
83793e72e4 running model 2020-05-07 12:03:51 -05:00
Jerry Vonau
359f2b4b1c br0 online tuning 2020-05-07 12:03:51 -05:00
Jerry Vonau
842a14269a better handling of 2.4/5 on the same ssid 2020-05-07 12:03:51 -05:00
Jerry Vonau
4ad83f787b test-wifi touchups 2020-05-07 12:03:51 -05:00
Jerry Vonau
964a592679 service touch-ups 2020-05-07 12:03:51 -05:00
Jerry Vonau
37ed8a6ba4 keep the pids known 2020-05-07 12:03:51 -05:00
Jerry Vonau
000d4ec35c ap0 notes 2020-05-07 12:03:51 -05:00
Jerry Vonau
575b66fb6e use the new routine 2020-05-07 12:03:51 -05:00
Jerry Vonau
c6a2140329 edit hostapd on the fly 2020-05-07 12:03:51 -05:00
Jerry Vonau
e125537c0c ap0 - introduce wifi-test.service 2020-05-07 12:03:51 -05:00
Jerry Vonau
8669a97d18 ap0 - split cloning 2020-05-07 12:03:51 -05:00
A Holt
927ad1b176
Ansible comment 2020-05-07 10:02:49 -04:00
A Holt
a4c76fe7a4
Merge pull request #2388 from holta/calibre-web-0.6.7
Calibre-Web 0.6.6 -> 0.6.7
2020-05-05 15:00:07 -04:00
A Holt
34da31d81c
Update main.yml 2020-05-05 14:58:21 -04:00
A Holt
37d1141371
Calibre-Web 0.6.6 -> 0.6.7 2020-05-05 14:56:09 -04:00
A Holt
ffe33ac76d
Update roles/network/tasks/hostapd.yml 2020-05-04 15:32:43 -04:00
A Holt
9142cde8ff
Update roles/network/tasks/restart.yml 2020-05-04 15:32:34 -04:00
Jerry Vonau
5c402848dd just restart systemd-networkd 2020-05-04 12:11:26 -05:00
Jerry Vonau
b1f6c8176e for the most part restart dnsmasq 2020-05-03 19:18:20 -05:00
Jerry Vonau
5bd975db5e the intent is to not restart hostapd during wifi installs 2020-05-03 14:02:14 -05:00
Jerry Vonau
c2730635a6 override 'vars' if the hardware is not present 2020-05-03 14:00:20 -05:00
Jerry Vonau
e9f9364a90 netplan needs the unmasking|enable for sysd-netd 2020-05-01 21:35:49 -05:00
Jerry Vonau
9ee93d7e01 sysd-netd-debian - split unmask/enable and restart 2020-05-01 21:22:41 -05:00
Jerry Vonau
784d89d3a9 default manage.conf to enabled for wifi installs 2020-05-01 20:51:28 -05:00
Jerry Vonau
f8a59b46bb legacy wifi installs needs iiab_wireless_lan_iface set also 2020-05-01 20:02:05 -05:00
Jerry Vonau
117e40f5bc hostapd.yml - missed rpi_model != 'none', touchups 2020-05-01 10:27:49 -05:00
Jerry Vonau
63c64271af move netplan before hostapd to pick up set_fact sysd-netd-active 2020-05-01 10:27:49 -05:00
Jerry Vonau
325db43473 netplan - let backends handle static ip 2020-05-01 10:27:49 -05:00
Jerry Vonau
4ab0e63214 wifi routines needed on non-rpi hardware 2020-05-01 10:27:49 -05:00
Jerry Vonau
3d4b23f2fe exclude NM from touching ap0 2020-05-01 10:27:49 -05:00
Jerry Vonau
8751b33271 can't start hostapd when ap0 is in use needs reboot 2020-05-01 10:27:49 -05:00
Jerry Vonau
f83e615b40 netplan 2020-05-01 10:27:49 -05:00
Jerry Vonau
56ba4d0d19 static ip systemd-networkd 2020-05-01 10:27:49 -05:00
Jerry Vonau
5dd283f84e hotspots 2020-05-01 10:27:49 -05:00
Jerry Vonau
7307962067 manage.conf.j2 2020-05-01 10:27:49 -05:00
Jerry Vonau
e741ba35ea revert the rest of 5a70c9feea 2020-05-01 10:27:49 -05:00
Jerry Vonau
4f4e7f5cc5 file status -> state think0 2020-05-01 10:27:49 -05:00
Jerry Vonau
3b26b4c594 don't call netplan apply 2020-05-01 10:27:49 -05:00
Jerry Vonau
5a538cbdd2 netplan.yml - use item|trim for delete test 2020-05-01 10:27:49 -05:00
Jerry Vonau
fa886874b0 iiab-wifi cleanup routable.d when not wifi_up_down 2020-05-01 10:27:48 -05:00
Jerry Vonau
6f1ef6ec83 hostapd.yml typo no 'e' 2020-05-01 10:27:48 -05:00
Jerry Vonau
40cbebca46 hostapd - netplan @ -> - 2020-05-01 10:27:48 -05:00
Jerry Vonau
d34e7053b9 netplan - Disable cloud-init the easy way - bugfix 2020-05-01 10:27:48 -05:00
Jerry Vonau
b8cf8712c2 netd-disp tuning 2020-05-01 10:27:48 -05:00
Jerry Vonau
776b983e3d documented force does not work use masked no 2020-05-01 10:27:48 -05:00
Jerry Vonau
24624c6e6f hostapd is masked force override 2020-05-01 10:27:48 -05:00
Jerry Vonau
14bed5f2fc bad idea NM uses dbus to to call wpa_supplicant 2020-05-01 10:27:48 -05:00
Jerry Vonau
bb487777fa start hostapd before NM 2020-05-01 10:27:48 -05:00
Jerry Vonau
3725969686 remove dnsmasq workaround for br0 being down at boot 2020-05-01 10:27:48 -05:00
Jerry Vonau
7e5ce367a2 don't stall boot if br0 has no slaves 2020-05-01 10:27:48 -05:00
Jerry Vonau
7db1464b76 don't check for wifi slaves if wifi gateway 2020-05-01 10:27:48 -05:00
Jerry Vonau
09c7c3e252 legacy support should not boot to AP on mode 2020-05-01 10:27:48 -05:00
Jerry Vonau
3912e6a1ef remove reboot_to_AP 2020-05-01 10:27:48 -05:00
Jerry Vonau
2089a0c918 don't set hostapd_enabled: False with wifi gateway 2020-05-01 10:27:48 -05:00
Jerry Vonau
ab8de54e24 restart - hostapd use wifi gateway as test 2020-05-01 10:27:48 -05:00
Jerry Vonau
0249c3a100 turn off hostapd in Appliance mode 2020-05-01 10:27:48 -05:00
Jerry Vonau
0bc294bbba Update roles/network/tasks/hostapd.yml
Co-Authored-By: A Holt <holta@users.noreply.github.com>
2020-05-01 10:27:48 -05:00
Jerry Vonau
10eb7e76d9 sysd-netd drop wired device count 2020-05-01 10:27:47 -05:00
Jerry Vonau
ed01d0584d netplan - 01-iiab exclude wireless devices 2020-05-01 10:27:47 -05:00
George Hunt
0d9321a363 partial of 720c285... typo iiab_wireless_an_iface 2020-05-01 10:27:47 -05:00
Jerry Vonau
13d7c38a73 on|off for wifi_up_down 2020-05-01 10:27:47 -05:00
George Hunt
207cc98255 revert hotspot on/off to master before ap0 when wifi_up_down is false 2020-05-01 10:27:47 -05:00
George Hunt
ab0cb6fc90 disable hostspot on/off if up/down enabled 2020-05-01 10:27:47 -05:00
Jerry Vonau
640dbd64ea use wifi_up_down to set iiab_wireless_lan_iface 2020-05-01 10:27:47 -05:00
Jerry Vonau
4d9d925db8 one template - 2 copies 2020-05-01 10:27:47 -05:00
George Hunt
75162642ad suppose iiab-wifi should be absent when not wifi_up_down 2020-05-01 10:27:47 -05:00
George Hunt
97fa35c9d2 don't let dhcpcd muck around with wlan0 if it's under the br0 2020-05-01 10:27:47 -05:00
George Hunt
b0a54afc1c remove dhcpcd hooks if not up_down 2020-05-01 10:27:47 -05:00
Jerry Vonau
04c876b28a don't clobber later revisions to hostapd.service.j2 2020-05-01 10:27:47 -05:00
Jerry Vonau
ca8e9ab79a let NM if active handle wired slaves 2020-05-01 10:27:47 -05:00
Jerry Vonau
9893e62fd5 int casting 2020-05-01 10:27:47 -05:00
Jerry Vonau
2059de2383 forgot .service 2020-05-01 10:27:47 -05:00
Jerry Vonau
1d4e427fa9 softcode exclude devices, move tests and turn into hard failures, record wifi after channel detection, prior_gateway_device, fix ap0 exclude 2020-05-01 10:27:47 -05:00
Jerry Vonau
6783038b29 don't forget about non-netplan networkd
netplan.stdout is undefined should handle debian
netplan.stdout.find("yaml") == -1) should handle U-16.04 U-18+ uses netplan
2020-05-01 10:27:46 -05:00
Jerry Vonau
3dd370e088 limit hostapd to 2.4GHz for now on RPI 2020-05-01 10:27:46 -05:00
Jerry Vonau
3b0be9d865 touchup hostapd.service.j2 for Raspbian 2020-05-01 10:27:46 -05:00
Jerry Vonau
3c1bcc01ef lets try netplan apply to restart the network 2020-05-01 10:27:46 -05:00
Jerry Vonau
ef7ad60800 netplan - need to start netplan-wpa@ after hostapd 2020-05-01 10:27:46 -05:00
Jerry Vonau
3d5428b0a5 sysd-netd-debian - multi wired slaves 2020-05-01 10:27:46 -05:00
Jerry Vonau
1693e502ba Rework reserved_wifi -> reserved_device 2020-05-01 10:27:46 -05:00
Jerry Vonau
a311454436 network/main remove installing, move hostapd.yml, notes, cleanup 2020-05-01 10:27:46 -05:00
Jerry Vonau
ccb1bf348a adjust networkd-dispatcher dnsmasq script 2020-05-01 10:27:46 -05:00
Jerry Vonau
d0a27ce0df systemd-networkd version of dhcpcd's 50-hostapd hook 2020-05-01 10:27:46 -05:00
Jerry Vonau
ac935f4c93 netplan don't delete user's wifi config 2020-05-01 10:27:46 -05:00
Jerry Vonau
36212548f4 hostapd.service - Before wpa_supplicant 2020-05-01 10:27:46 -05:00
Jerry Vonau
3e02d57210 restart - use ap0 for bridge slave test 2020-05-01 10:27:46 -05:00
Jerry Vonau
668b8baf10 keep wlan0 and ap0 on the same channel on RPi hardware 2020-05-01 10:27:46 -05:00
Jerry Vonau
39cf3b2947 exclude ap0 from count_wifi_interfaces 2020-05-01 10:27:46 -05:00
Jerry Vonau
bf5dc8cf15 generate random mac address for ap0 2020-05-01 10:27:46 -05:00
Jerry Vonau
aab9c1ba87 setup auto restart of hostapd - based on current stock service file 2020-05-01 10:27:45 -05:00
Jerry Vonau
bccb155523 better discription of when rpi_debian.yml task is used 2020-05-01 10:27:45 -05:00
Jerry Vonau
23124b3a19 iiab-hotspot-on|off for all, is_rpi, style 2020-05-01 10:27:45 -05:00
Jerry Vonau
7b1f7016e5 remove is_rpi -> is_raspbian, more notes 2020-05-01 10:27:45 -05:00
Jerry Vonau
37da7407d4 update iiab-hotspot support files 2020-05-01 10:27:45 -05:00
Jerry Vonau
0bcf3c8184 update dhcpcd hook 2020-05-01 10:27:45 -05:00
Jerry Vonau
3f749036e4 update hostapd.service 2020-05-01 10:27:45 -05:00
Jerry Vonau
9df4e169b6 slimdown defaults 2020-05-01 10:27:45 -05:00
Jerry Vonau
75133bd711 refine hostapd.service.j2 2020-05-01 10:27:45 -05:00
Jerry Vonau
218872c637 refine hostapd.service 2020-05-01 10:27:45 -05:00
Jerry Vonau
79a829dabe softcode apo_mac_addr 2020-05-01 10:27:45 -05:00
Jerry Vonau
188407614c dhcpcd hook for hostapd 2020-05-01 10:27:45 -05:00
Jerry Vonau
71907893cb set ap0 mac_addr to be different from wlan0 2020-05-01 10:27:45 -05:00
Jerry Vonau
c56b9e6510 use hostapd's service file to create ap0 2020-05-01 10:27:45 -05:00
Jerry Vonau
6ba20a63e9 start hostapd before dhcpcd 2020-05-01 10:27:44 -05:00
Jerry Vonau
d03df344ff alter dhcpcd.conf for ap0 2020-05-01 10:27:44 -05:00
Jerry Vonau
87b86000b2 method to creat ap0 and have hostapd use it 2020-05-01 10:27:44 -05:00
A Holt
93d787f3d2
calibre/tasks/install.yml - clarify #529, PR #2378 2020-04-30 14:02:36 -04:00
root
85854a2d97 rm roles/kalite/tasks/*.unused 2020-04-30 01:55:36 +00:00
A Holt
9272926630
Update roles/nginx/README.md 2020-04-29 20:15:50 -04:00
A Holt
02ac99e03f
Update calibre/tasks/install.yml 2020-04-29 20:10:52 -04:00
A Holt
483ab973f0
Update calibre/tasks/install.yml 2020-04-29 20:06:33 -04:00
root
2899a73bbc Update calibre/tasks/install.yml 2020-04-29 23:52:22 +00:00
A Holt
719d680d4c
Update calibre/tasks/install.yml 2020-04-29 18:41:15 -04:00
A Holt
81ad70277e
Delete calibre/tasks/enable.yml 2020-04-29 17:47:52 -04:00
A Holt
ad3df8ac65
Update calibre/tasks/main.yml 2020-04-29 17:47:08 -04:00
A Holt
e39f5069a2
Update kalite/tasks/main.yml 2020-04-29 17:36:31 -04:00
A Holt
3afef1d05b
Clean up comments in roles/lokole/defaults/main.yml for PR #2376 2020-04-29 14:42:21 -04:00
A Holt
838d411963
Fix links in roles/lokole/README.rst (all ok?) 2020-04-29 12:12:03 -04:00
Clemens Wolff
94a671eb52
Fix path to Lokole repository 2020-04-29 11:30:23 -04:00
A Holt
e7e47eebce
Fix PR #2349: move www_base below nginx (in 3-base-server) 2020-04-28 14:50:30 -04:00
A Holt
07238910b2
Merge pull request #2349 from jvonau/php_386
Php 386 [& php-stem with PHP 7.4+ prep?]
2020-04-28 13:16:41 -04:00
Jerry Vonau
ddb2e034ef Merge branch 'master' into py_4 2020-04-28 08:19:39 -05:00
Jerry Vonau
6acb9b5acd move pylib.yml to own role 2020-04-27 16:34:32 -05:00
A Holt
75d9cd29cb
vnstat: iiab_lan_iface workaround for #2367 2020-04-27 15:54:54 -04:00
A Holt
f6a648f448
Create relative URL (offline URL) from regexp https://.*archive.org (works even if Internet Archive keeps changing their hostname!) 2020-04-26 18:34:56 -04:00
A Holt
833c283cd6
https://ia601505.us.archive.org will likely change so use https://archive.org 2020-04-26 18:21:47 -04:00
Joshua Dennis
e0dede636c changed Pi guide download location 2020-04-26 21:54:58 +00:00
A Holt
5eec336f0c
Merge pull request #2357 from holta/make-js-menu-browsable
Make http://box/js-menu publicly browsable [except where code/security is a risk]
2020-04-26 17:03:58 -04:00