Published: 2016-02-06
I have been experimenting with Saltstack - more commonly known as just 'Salt' - and running the master on my laptop. Since it seems to be consuming CPU cycles all the time and I'd like to optimise my laptop's autonomy, I started looking into ways to disable it on battery, and enable …
Read MorePublished: 2016-01-02
The right tool for the job
Aptly is a neat tool that allows you to quickly build Debian or Ubuntu repositories. You can grab it from Debian's repositories. Build a repo with the name 'zfs':
$ aptly repo create -distribution=jessie -component=contrib zfs
Add your packages. You can add separate …
Read MorePublished: 2015-12-17
Rationale
I recently had to clean up (and upgrade) a friend's system. It had been a while since I had to do that on location, and I had just this one crappy USB2 stick on me (and my laptop with some ISOs I keep around). I wrote a Linux Live …
Read MorePublished: 2015-11-04
I recently decided to move my remote firmware update process to HTTPS. The most obvious and ubiquitous candidate was the wget
utility. The downside is it only supports OpenSSL. While modern routers with 8 MiB or more flash, like my Netgear WNDR3700, have no trouble accomodating the bigger library (libopenssl …
Read MorePublished: 2015-08-31
If you're looking on how to implement Unbound as your primary DNS resolver, read on here.
Dnsmasq configuration
Dnsmasq requires a bit more work in this scenario.
- First, we comment the
resolvfile
line, since that file will contain your ISP's DNS servers. - The
noresolv
option needs to be set to …
Read MorePublished: 2015-08-30
DNSSEC is a set of extensions to DNS. As Wikipedia states, it is
a set of extensions to DNS which provide to DNS clients (resolvers) origin authentication of DNS data, authenticated denial of existence, and data integrity, but not availability or confidentiality.
While it is by no means a perfect …
Read MorePublished: 2015-08-09
OpenWrt supports a plethora of devices. Recently, a fellow OpenWrt user with Gainstrong's MiniBox v1.0 - a mini router from some Chinese manufacturer - was wondering if he should try his hand at OpenWrt's upcoming release (15.05 codename 'Chaos Calmer'), or stick with 14.07 and keep important packages like …
Read MorePublished: 2015-08-09
Quilt is a handy tool to manage patches, and I discovered its value while porting a router to a newer OpenWrt version. The diff from the 14.07 codebase would apply with some adjustments, but patch would still give some messages about offsets etc.:
$ patch -Np1 -i ../patch
patching file …
Read MorePublished: 2015-07-26
There is a lot of fuss nowadays about how modern human behaviour influences our sleep pattern in a bad way. We watch TV in bed, use our smartphone or tablet before we go to sleep. Not everyone is affected in the same way - some people still sleep well, others turn …
Read MorePublished: 2015-04-24
You have a server you'd like to manage remotely, so you open up a port in the router to log in directly. However, you don't want your server exposed, so you set up your SSH daemon to only accept keys, not passwords. Yet - dilemma - for local access you still want …
Read More« Page 3 / 6 »