modem files and mailman backup
authorChris Koeritz <fred@gruntose.com>
Tue, 9 May 2017 01:43:10 +0000 (21:43 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 9 May 2017 01:43:10 +0000 (21:43 -0400)
adding a backup script for cron to get our mailman archives.
also adding a bunch of archaic antiquated but potentially useful modem support files which can dial out using ppp and install the dgc modem driver.

infobase/configuration/cron/backup_mailman.crontab [new file with mode: 0644]
scripts/modem/dial_modem.sh [new file with mode: 0755]
scripts/modem/fix_modem_perms.sh [new file with mode: 0755]
scripts/modem/modem_driver/getting_modem_driver.txt [new file with mode: 0644]
scripts/modem/reinstall_dgcmodem_driver.sh [new file with mode: 0755]

diff --git a/infobase/configuration/cron/backup_mailman.crontab b/infobase/configuration/cron/backup_mailman.crontab
new file mode 100644 (file)
index 0000000..84044ce
--- /dev/null
@@ -0,0 +1,6 @@
+
+#[backup_mailman_archives]
+# creates a monthly backup of all the mailman list server's archives.
+14 2 28 * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; tar -czf /z/stuffing/archives/mailman_backup_$(hostname)_$(date_stringer).tar.gz /var/lib/mailman ) &>/tmp/${CRONUSER}-cron-mailman_backup.log
+
+
diff --git a/scripts/modem/dial_modem.sh b/scripts/modem/dial_modem.sh
new file mode 100755 (executable)
index 0000000..d1a8812
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+sudo gnome-ppp
diff --git a/scripts/modem/fix_modem_perms.sh b/scripts/modem/fix_modem_perms.sh
new file mode 100755 (executable)
index 0000000..d46bb26
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+sudo chmod 666 /dev/ttyACM0
+
diff --git a/scripts/modem/modem_driver/getting_modem_driver.txt b/scripts/modem/modem_driver/getting_modem_driver.txt
new file mode 100644 (file)
index 0000000..6b9c37f
--- /dev/null
@@ -0,0 +1,4 @@
+
+http://www.linuxant.com/drivers/dgc/
+
+
diff --git a/scripts/modem/reinstall_dgcmodem_driver.sh b/scripts/modem/reinstall_dgcmodem_driver.sh
new file mode 100755 (executable)
index 0000000..57db708
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+THIS_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )"
+pushd $THIS_FOLDER/modem_driver/*
+sudo apt-get remove dgcmodem
+dpkg -i dgcmodem_1.13_i386.deb
+popd
+
+