From: Chris Koeritz Date: Tue, 9 May 2017 01:43:10 +0000 (-0400) Subject: modem files and mailman backup X-Git-Tag: 2.140.90~180 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=206d22b5ee58dd56e7fff55c25453833ec6a2611;p=feisty_meow.git modem files and mailman backup 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. --- diff --git a/infobase/configuration/cron/backup_mailman.crontab b/infobase/configuration/cron/backup_mailman.crontab new file mode 100644 index 00000000..84044ce0 --- /dev/null +++ b/infobase/configuration/cron/backup_mailman.crontab @@ -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 index 00000000..d1a88120 --- /dev/null +++ b/scripts/modem/dial_modem.sh @@ -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 index 00000000..d46bb26e --- /dev/null +++ b/scripts/modem/fix_modem_perms.sh @@ -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 index 00000000..6b9c37f6 --- /dev/null +++ b/scripts/modem/modem_driver/getting_modem_driver.txt @@ -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 index 00000000..57db708c --- /dev/null +++ b/scripts/modem/reinstall_dgcmodem_driver.sh @@ -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 + +