Alex's Blog

Follow the instructions from the blog:
Once you have the connection set up, change the following settings on each individual interface (in the advanced section) to the following: MTU 1487 MRRU 1486
Go back to the main mlppp interface and add the following MTU setting: 1485
If you use other settings performance becomes spotty due to fragmentation.
Thanks to the following articles to assist with my setup...
Ref: http://blog.stuffedcow.net/2011/09/teksavvy-mlppp-performance-issues/
http://mlppp.teksavvy.com/tomato_en.html
 

http://jager.no/projects/windows/duplicity-on-windows

Duplicity

Duplicity is a backup program for GNU/Linux, that can take incremental backups to remote or local targets. Like ftp sites and on servers with ssh access. Duplicity can also encrypt the backup volumes for upload on sites you don't trust. Duplicity uses librsync and is very bandwidth/space efficient. On GNU/Linux apt-get install duplicity is all it takes. On windows it's a bit more tricky but I think it's worth it.

Prerequisites

Cygwin Install

Install as normal. But install tease packages:
  • Devel/
    • autoconf
    • automake
    • binutils
    • gcc
    • make
    • patchutils
  • Net/
    • openssh
  • Interpreters/
    • python
  • Utils/
    • gnupg

librsync

Start cygwin. Assuming you downloaded librsync tarball to a location accessible under cygwin.Assuming you downloaded the GnuPGInterface tarball to somewhere accessible from cygwin.
$ tar -xzvf librsync-x.x.x.tar.gz
$ cd librsync-x.x.x
$ ./configure --prefix=/usr
$ make
$ make install

GnuPGInterface

Inside cygwin.
$ tar -xzvf GnuPGInterface-x.x.x.tar.gz
$ cd GnuPGInterface-x.x.x
$ python setup.py install

pexpect

Inside cygwin.
$ tar -xzvf pexpect-x.x.tar.gz
$ cd pexpect-x.x
$ python setup.py install

Duplicity

Again inside cygwin. You need to patch duplicity to get the encryption to work under cygwin. Get the patch here.
$ tar -xzvf duplicity-x.x.tar.gz
$ cd duplicity-x.x
$ patch -p1 < duplicity-4.4-cygwin.patch
$ python setup.py install

Running duplicity

Duplicity has good documentation! Read the man page.
$ man duplicity

Tips and Tricks

Here follows some problems and the solutions i came up with.

Accessing windows drives

No I don't know cygwin very well. But i soon figured out how to access windows drives. drive c:\ is /cygdrive/c/ within cygwin.

Scheduling backup

Using the windows scheduling to run backups is pretty easy. I just used a .bat file.

backup_run.bat:

@echo off
chdir c:\cygwin\
c:\cygwin\bin\sh /backup_run.sh

backup_run.sh:

export PATH=/bin:/bin/usr
#encryption password
export PASSPHRASE="somesecret"
#ssh/ftp password. rember to add your target host to known_hosts!
export FTP_PASSWORD="somesecret"
duplicity --ssh-askpass "/cygdrive/c/something important/" "ssh:// This e-mail address is being protected from spambots. You need JavaScript enabled to view it /backup/windows1"
Now add the .bat file to Scheduled Tasks.

Deploying on more Windows machines

Manually doing the cygwin, duplicity and GnuPG install gets pretty boring. The easiest way I found is just to zip up the whole installed cygwin directory. And run the cygwin setup.exe trough on the directory you extract to. This is obviously not optimal since the archive is pretty big (About 50MiB). So if you have any better suggestions please contact me.
 

portable xserver for windows

http://mobaxvt.mobatek.net/en/

Thunderbird plugin for sugarcrm

http://www.agora-group.com/index.html

Biometrics

http://andrewpatrick.ca/biometrics/index.shtml

eeepc stuff

http://forum.eeeuser.com/viewtopic.php?id=6873&p=1
http://www.mydigitallife.info/2007/05/27/free-ramdisk-for-windows-vista-xp-2000-and-2003-server/
http://www.eeeguides.com/2007/11/installing-windows-xp-from-usb-thumb.html

Dokan - SSHFS

http://dokan-dev.net/en/2008/06/11/dokan-sshfs-019-released/

 

Spellcheck PDF doc and other document stuff

http://gutcheck.sourceforge.net/index.html
gscan2pdf - unix pdf cleaning software

Drivers for slipstream cd

http://driverpacks.net/DriverPacks/

Free OCR software

http://softi.co.uk/freeocr.htm

Share your screen with multiple computers (brodcasts screen/keyboard across network)

http://www.maxivista.com/

Portable virtual private machine

http://www.metropipe.net/pvpm.php

Mailmerge possibilies (not explored)

http://www.websyndication.net/MailMerge/
http://www.emailextractor.org/
http://kb.mozillazine.org/Mail_merge
http://www.linuxjournal.com/comment/reply/8238

SSH Server alternative to openssh

http://freessh.org/

dvd archiving site

http://doom9.net

sendEmail command line program

http://caspian.dotconf.net/menu/Software/SendEmail/
needs some perl modules from cpan

mail cgi program for forms

http://www.boutell.com/email/

better email forms program

http://web.mit.edu/wwwdev/cgiemail/

Windows Utilities

http://smallvoid.com/articles/windows-xp/utilities/
more:
http://www.nirsoft.net/utils/nircmd.html

Ubuntu on usbdrive

http://www.pendrivelinux.com/2007/09/28/usb-ubuntu-710-gutsy-gibbon-install/

Norton Ghost replacement

http://www.clonezilla.org

debian server/desktop combination

http://thegoldenear.org/

rsync for windows

http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6&MMN_position=23:23

Network Monitoring

http://www.nagios.org/

File Audit Debian

http://www.debian-administration.org/articles/49
http://www.la-samhna.de/library/scanners.html

wine

http://www.kegel.com/wine/winetricks

IRM - Web-based asset tracking system for IT departments

http://packages.debian.org/etch/web/irm?lang=en

ssmtp

http://gentoo-wiki.com/HOWTO_Gmail_and_sSMTP

Hardening SSH

http://www.anti-trend.org/index.php?option=com_content&task=view&id=52&Itemid=47

AIDE

http://www.cs.tut.fi/~rammer/aide/manual.html
http://www.debuntu.org/intrusion-detection-with-aide

munin - server monitoring

http://www.debuntu.org/how-to-monitoring-a-server-with-munin