From b0c6b8d98bc416dd01438207c82730500de68457 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 28 May 2019 12:23:42 -0400 Subject: [PATCH 1/3] Install pkg pastebinit on all IIAB's --- roles/2-common/tasks/packages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/2-common/tasks/packages.yml b/roles/2-common/tasks/packages.yml index e47e6b095..a5705f0b9 100644 --- a/roles/2-common/tasks/packages.yml +++ b/roles/2-common/tasks/packages.yml @@ -33,7 +33,7 @@ state: present when: is_debuntu | bool -- name: "Install 22 common packages: acpid, bridge-utils, bzip2, curl, gawk, hostapd, htop, i2c-tools, logrotate, make, mlocate, netmask, net-tools, ntfs-3g, pandoc, rsync, sudo, tar, unzip, usbmount, usbutils, wget" +- name: "Install 23 common packages: acpid, bridge-utils, bzip2, curl, gawk, hostapd, htop, i2c-tools, logrotate, make, mlocate, netmask, net-tools, ntfs-3g, pandoc, pastebinit, rsync, sudo, tar, unzip, usbmount, usbutils, wget" package: name: - acpid @@ -54,6 +54,7 @@ - ntfs-3g #- openssh-server # ssh (Raspbian) or openssh-server (other OS's) already installed by 1-prep's roles/sshd/tasks/main.yml - pandoc + - pastebinit - rsync - sudo - tar From 47f12695633614ba7e7a9a4f0d39c2f3621263ea Mon Sep 17 00:00:00 2001 From: Tim Moody Date: Tue, 28 May 2019 14:04:04 -0400 Subject: [PATCH 2/3] hostapd fails to start if wifi connected to wan --- roles/network/templates/network/iiab-hotspot-on | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/network/templates/network/iiab-hotspot-on b/roles/network/templates/network/iiab-hotspot-on index 50bc74e9b..aa9d62500 100755 --- a/roles/network/templates/network/iiab-hotspot-on +++ b/roles/network/templates/network/iiab-hotspot-on @@ -1,6 +1,8 @@ #!/bin/bash cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf +# shut down wlan0 in case connected to network +ip link set wlan0 down systemctl enable hostapd #systemctl enable dnsmasq systemctl daemon-reload From e9086ba68860f8653ecb014e023c88cc67532f17 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 30 May 2019 10:30:28 -0400 Subject: [PATCH 3/3] kiwix-tools 1.2.1 -> 2.0.0 --- roles/kiwix/defaults/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/kiwix/defaults/main.yml b/roles/kiwix/defaults/main.yml index b4832ab97..0eafc333c 100644 --- a/roles/kiwix/defaults/main.yml +++ b/roles/kiwix/defaults/main.yml @@ -10,9 +10,9 @@ # Which kiwix-tools to download from http://download.iiab.io/packages/ # As obtained from http://download.kiwix.org/release/kiwix-tools/ or http://download.kiwix.org/nightly/ -kiwix_version_armhf: "kiwix-tools_linux-armhf-1.2.1" -kiwix_version_linux64: "kiwix-tools_linux-x86_64-1.2.1" -kiwix_version_i686: "kiwix-tools_linux-i586-1.2.1" +kiwix_version_armhf: "kiwix-tools_linux-armhf-2.0.0" +kiwix_version_linux64: "kiwix-tools_linux-x86_64-2.0.0" +kiwix_version_i686: "kiwix-tools_linux-i586-2.0.0" # kiwix_src_file_i686: "kiwix-linux-i686.tar.bz2" # v0.9 for i686 published May 2014 ("use it to test legacy ZIM content") # v0.10 for i686 published Oct 2016 ("experimental") REPLACED IN EARLY 2018, thx to Matthieu Gautier: