www.davidc.net Open in urlscan Pro
2a05:e200:1:71::2:3  Public Scan

Submitted URL: http://www.davidc.net/
Effective URL: https://www.davidc.net/
Submission: On April 11 via api from US — Scanned from GB

Form analysis 0 forms found in the DOM

Text Content

Skip to main content
davidc.net


MAIN MENU


Show — Main menu Hide — Main menu
 * Home
 * Networking
 * Programming
 * DHTML
 * Games
 * Miscellany




ELECTROMAGNETIC FIELD 2022 INFRASTRUCTURE REVIEW

Submitted by davidc on Sun, 28/08/2022 - 21:16
 * Read more about Electromagnetic Field 2022 Infrastructure Review
 * Log in or register to post comments

After a four-year enforced pandemic-based hiatus, we were back for our latest
installment of EMF in June with nearly 2,750 people on site. Back at Eastnor
Castle deer park again this year, we were able to use the street cabinet and
fibre around the field that we installed in 2018 to get up and running quickly
once we arrived on site.


ALLOWING WORDPRESS UPDATES TO ACTUALLY WORK VIA SSH

Submitted by davidc on Fri, 11/09/2020 - 17:25
 * Read more about Allowing Wordpress updates to actually work via SSH
 * Log in or register to post comments

In a world where FTP has finally been turned off by most ISPs, Wordpress
allegedly supports SSH2 for upgrades instead, using FS_METHOD ssh2. However it
fails to work in any real-world scenario because it assumes the filesystem paths
on the remote host are the same as on the local filesystem.

This obviously fails with pretty much any ISP on earth as the users are
chroot()ed, so a directory that was once perhaps /home/david/www.davidc.net
would in fact be just /www.davidc.net when accessed over SFTP.


CHECK MAILDIR USAGE VERSUS QUOTA

Submitted by davidc on Tue, 30/06/2020 - 17:59
 * Read more about Check Maildir usage versus quota
 * Log in or register to post comments

This script allows you to check virtual users' Maildir sizes compared with the
quota, and produces a simple list of addresses that are overquota, which can be
used for example by mail delivery agents to reject incoming messages when the
user is overquota.


COMPUTERPHILE INTERVIEW

Submitted by davidc on Tue, 02/10/2018 - 18:09
 * Read more about Computerphile interview
 * Log in or register to post comments

Computerphile interviewed me about the EMF temporary network that we build up in
a field for the festival and tear down the next week. You can watch the
interview on YouTube!


GSM MODEM-KICKING SCRIPT FOR ROUTEROS

Submitted by davidc on Fri, 14/09/2018 - 14:23
 * Read more about GSM Modem-kicking Script for RouterOS
 * Log in or register to post comments

I seem to be spending a lot of my time recently hacking around RouterOS bugs.
Here's a script that monitors the state of the PPP interface for a GSM modem and
does what it can to get it back up and running if necessary.

The script checks three times (10 seconds apart) to see if the PPP interface is
connected. If it still isn't, it resets the USB power to try and kick the
communication back to life. It waits 30 seconds after doing this then, if it's
still not up for two more checks, it reboots the whole Routerboard.


EMF 2018 INFRASTRUCTURE REVIEW

Submitted by davidc on Sun, 09/09/2018 - 10:45
 * Read more about EMF 2018 Infrastructure Review
 * Log in or register to post comments

New site, new challenges! Electromagnetic Field 2018 was held at Eastnor Castle
Deer Park towards the end of summer and we faced a new set of challenges - some
of which we set ourselves. This year we liked the potential of the site so much,
we started in January by installing our very own street cabinet for the incoming
circuit and ran ducts out to the street.


FALLBACK PPPOE CREDENTIALS ON ROUTEROS

Submitted by davidc on Tue, 26/06/2018 - 20:11
 * Read more about Fallback PPPoE credentials on RouterOS
 * Log in or register to post comments

RouterOS has no native concept of fallback PPPoE credentials. You can only enter
one username and password per interface. Sometimes you would like to enter a
fallback set that are tried if the primary credentials don't work, for example
to prepare for a migration. Here is a RouterOS script to handle fallback PPPoE
credentials that will be tried one after another until one set succeeds.


CONVERTING ACROBAT CHECKBOXES TO RADIO BUTTONS

Submitted by davidc on Sun, 19/06/2016 - 12:29
 * Read more about Converting Acrobat checkboxes to radio buttons
 * Log in or register to post comments

Acrobat's automatic form generation is atrocious. It inevitably gets almost
everything wrong, meaning you have to recreate it by hand. It boggles the mind
that it's had the ability to create forms for 20 years now, and still has no way
of automatically creating the form from a Word document without a buggy and and
half-hearted attempt at auto-detection. You'd think at the very least it would
be able to turn Word form elements into PDF form elements, but no.


RESTORING YANKED MESSAGES TO THE QMAIL QUEUE

Submitted by davidc on Mon, 08/12/2014 - 18:22
 * Read more about Restoring yanked messages to the Qmail queue
 * Log in or register to post comments

qmail-remove provides a means to easily remove messages from the Qmail queue,
but restoring messages is rather more complicated. Here is a quick shell script
that will allow messages to be correctly restored, undoing the yank.


CISCO ROUTERS WITH GERMAN VDSL2

Submitted by davidc on Thu, 05/12/2013 - 16:55
 * Read more about Cisco routers with German VDSL2
 * 1 comment
 * Log in or register to post comments

Customers wishing to use their own router with VDSL2 (FTTC) services in Germany
are hampered by the CPE not supporting PPPoE passthrough, as Telekom limits the
line to 1 PPPoE session. The CPE therefore needs to be replaced entirely. This
article describes how to extract the login information from an O2 Homebox and
then configure a Cisco router as a replacement CPE.

PAGINATION

 * Current page 1
 * Page 2
 * Page 3
 * Page 4
 * Page 5
 * Page 6
 * Next page Next ›
 * Last page Last »

Subscribe to


TOOLS


Show — Tools Hide — Tools
 * Recent content
 * Contact
 * Log in


ELSEWHERE







Copyright © 2009, 2010, 2011, 2015, 2016, 2018, 2020, 2021 David C. A. Croft.

Hosted by Sargasso Networks.