Home » Archive by categoryLinux

Debian/Ubuntu enable or disable IPv6

Enable / Disable IPv6 in Debian/Ubuntu: * via /etc/sysctl.conf # Disable IPv6 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 # Enable IPv6 net.ipv6.conf.all.disable_ipv6 = 0 net.ipv6.conf.default.disable_ipv6 = 0 net.ipv6.conf.lo.disable_ipv6 = 0 * via CLI, as root/su # Disable IPv6 echo "1" > /proc/sys/net/ipv6/conf/all/disable_ipv6 echo "1" >...
Continue reading »

Python: MP3 ID3 tags

Now, generally I don’t bother much with ID3 tags. This afternoon however I had occasion to create some 130 MP3s, some of which derived their proper tags from CD-TEXT, some of which did not. As a result I had to perform two tasks. Whilst this could be achieved...
Continue reading »

Backup Script

The following BASH script takes exactly one argument, the directory to be backed up, and everything else is hardcoded. The script checks for a backup medium, tars and gzips the data, writes a log file, performs an extraction test and a SHA512 sum. How it works: 1. I...
Continue reading »