Skip to content
  1. Mount up external drive to /mnt/tosh/ and create a /mnt/tosh/duplicity directory.
  2. duplicity /etc file:///mnt/tosh/duplicity/ --no-encryption --file-prefix=${HOSTNAME}-etc to backup /etc directory without encryption (since external hard disk should already be using dm-crypt!)
  3. duplicity /home/andrew file:///mnt/tosh/duplicity/ --no-encryption --file-prefix=${HOSTNAME}-home-andrew to backup my home dir without encryption (this will take a while)

If you do it again, it'll just do an incremental backup by default.

The --file-prefix= option sets the file names for the backup so that you can have a bunch of different duplicity backups all in one directory.


Exact Steps: Doing backups with bup to an external hard disk

Initial setup and first backup:

  1. Mount hard disk to /mnt/usb (you are strongly encouraged to use luks encryption on this disk!)
  2. mkdir /mnt/usb/.bup && bup init -r /mnt/usb/.bup to create and initialize a .bup directory on the USB disk. You may need to do some sudo and chmod/chgrp action depending on how your USB disk gets mounted. You'll save the actual files from backups here later.
  3. bup init to create the core bup repo in your home directory, the index will live here
  4. bup index ~/ to index your home directory
  5. bup index /etc to index your /etc directory
  6. bup save -n ${HOSTNAME}-etc -r /mnt/usb/.bup /etc to save the backup of your /etc directory to your USB disk. This backup set will result in a branch named after ${HOSTNAME}-etc, so that if you backup other PCs to this same .bup directory on your USB disk, you'll be able to see each one in a separate branch

Follow the instructions from sigrok build from source:

Be sure to buld C++ support into libsigrok, you'll need it for pulseview. You'll need a few dependencies like doxygen (no idea why) that you may not have on your system.

Also, for libsigrok, if the dslogic pro doesn't seem to work, you can try using instead, which has some patches to fixup issues. Many of (all?) these patches have been sent to the sigrok mailing list.

Install the udev rules as per

Then add PIDs of 0002 and 0003 to the DSLogic section, like found here (until upstreamed):

View gist:77c287ec33ce581afcc6
Prevent hub from going into autosuspend:
echo "on" > /sys/bus/usb/devices/1-1/power/control
View gist:522187336fdf4ee6044a
=BeagleBone based Terminal Server & Remote DC Power Relay System==
There does not seem to exist any low cost serial port terminal server which also has power relays which can be operated over USB and/or an IP network. Terminal servers are generally still very expensive (such as: but their use can be very valuable in both embedded systems development and for small deployments of physical server hardware. Terminal servers will maintain a log of all serial port interactions even across device power up/down and client connect/disconnect, which can provide huge value. Adding the ability to power on and off a low voltage and reasonably low current (ie: 5-12V, 1-2A) power source via a relay that the terminal server controls in tandem with the serial port
View rtl8188eu-smatch-results.txt
make CHECK="~/git/smatch/smatch -p=kernel" C=1 SUBDIRS=drivers/staging/rtl8188eu modules
CHECK drivers/staging/rtl8188eu/core/rtw_ap.c
drivers/staging/rtl8188eu/core/rtw_ap.c:904 rtw_check_beacon_data() error: memcpy() 'ie' too small (768 vs u32max)
CC [M] drivers/staging/rtl8188eu/core/rtw_ap.o
CHECK drivers/staging/rtl8188eu/core/rtw_cmd.c
drivers/staging/rtl8188eu/core/rtw_cmd.c:208 rtw_cmd_thread() warn: inconsistent indenting
drivers/staging/rtl8188eu/core/rtw_cmd.c:248 rtw_cmd_thread() error: double unlock 'sem:&pcmdpriv->terminate_cmdthread_sema'
CC [M] drivers/staging/rtl8188eu/core/rtw_cmd.o
CHECK drivers/staging/rtl8188eu/core/rtw_debug.c
View env is too small
[0.000000 0.000000]
[0.000040 0.000040] U-Boot SPL 2015.10-00006-g24da68e-dirty (Jan 11 2016 - 12:05:52)
[0.008944 0.008904] Reducing CPU from 800 MHz to 600 MHz.
[0.352041 0.343097] initcall: 8083676d
[0.353635 0.001594]
[0.353649 0.000014]
[0.353657 0.000008] U-Boot 2015.10-00006-g24da68e-dirty (Jan 11 2016 - 13:30:10 -0500)
[0.359584 0.005927]
[0.359596 0.000012] initcall: 80802985
[0.361681 0.002085] U-Boot code: 80800000 -> 80855338 BSS: -> 8088EC90
View etc ppp peers wvdial
name wvdial
View wget-list

Grab both the "orig" tarball and one of the matching "debian" tarballs from

I've used the "precise" one, as that's reasonably old and should work on Debian.

Untar the orig tarball, cd into the resulting directory, then untar the "debian" tarball. This will result in a nice debian/ directory. You can change the changelog if you want with dch.

Then just build it dpkg-buildpackage -uc -us -sa

When the build is complete, you'll find your nice debian package one level up, just like usual.

Something went wrong with that request. Please try again.