News archive August 2020 - Koos van den Hout

Archive by year: 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021

2020-08-31 Adding static IPv4 routes for devices that still need those 4 months ago
I decided to have a look whether I can set up the static routes like those needed to get ads-b data out to plane finder via the dhcp server. This works a lot better than having to set those routes by hand after a reboot.

This can be done with the rfc3442 classless static routes extension in DHCP, which isn't supported out of the box by isc dhcpd. But there is support in the dhclient configuration on raspbian, so I only had to add the server side.

All the samples I could find for adding this to the server side added arrays of bytes which is harder to read/comprehend. I had a look at the dhcp-options manpage which showed the option to add a structured record with IPv4 addresses.

Main configuration adding the option:
option rfc3442-classless-static-routes code 121 = array of { integer 8, ip-address, ip-address };
# netmask bit count, destination, via
Specific host configuration using the option with the current address for Which may change!
        host joy {
            hardware ethernet b8:27:eb:ae:ad:47;
            option rfc3442-classless-static-routes 32;
This pushes route to via

Hosts that get this option via dhcp should ignore the default router option so if you need that too you will need to add a route for In my specific usecase I don't want to set a default IPv4 route.

Tags: , , ,
2020-08-28 Vandaag een stuk gaan fietsen maar het viel tegen 4 months ago
Dankzij het thuiswerken de laatste maanden viel mijn conditie recent toch flink tegen. Omdat ik voor de toekomst wilde plannen heb om door Europa te gaan ligfietsen vond ik het een goed idee om eens een stuk te gaan ligfietsen vandaag. De tijd was wat beperkt dus ik had al een plan gemaakt waar heen te gaan (een keer naar het Oosten) met diverse mogelijkheden om terug te keren als de tijdlimiet er aan kwam.

Maar ik had er niet op gerekend dat ik onderweg meerdere regenbuien mee zou krijgen en ook nog door een beweging mezelf zou openhalen aan een scherp deel van de fiets. Toen leek het me toch een goed idee om terug te gaan rijden maar dat ging uiteindelijk weer vlotter dan gedacht. Hier en daar is de keuze in routes soms wat beperkt. Uiteindelijk toch relatief veel 'bekend terrein' en minder ver gekomen dan ik verwacht had. De resultaten vielen ook een beetje tegen: 23.81 kilometer gefietst met uiteindelijk gemiddeld 13.90 kilometer per uur (inclusief schuilen voor de regen). Als ik serieuze afstanden wil afleggen in een langere fietstocht moet er toch meer uitkomen.

Tags: , ,
2020-08-25 A new Camp Wireless that looks the same 5 months ago
The new Camp Wireless that looks almost the same, but is completely rewritten is on-line.

It should look and work better on mobile devices. According to the statistics about half of the visitors is using a mobile device, so that is an important part.

I am a great fan of not breaking existing links, so they will keep working. There is a change in the url scheme for the site, but all old links redirect to the correct new location.

The details: Camp Wireless was completely written in PHP since the start of Camp Wireless in June 2004. But I didn't update the code a lot over the last years because I wasn't using PHP anymore and doing all my newer webprojects in modperl. This was becoming a risk, I didn't like updating the code anymore. I had to fix several things when I moved from the old homeserver to the new one because the new system came with PHP 7.

Since the url design of Camp Wireless was 'technology neutral' from the start (the main urls do not include .php or other hints to the used technology) it was possible to rewrite it in another language, as long as it could handle all the urls the same way.

I made one change to the url scheme: in the old setup the directory of campsites had urls with /database/region/ and /database/site/. Although there is indeed a database behind the site, the better term to use is directory, so I developed with /directory/region/ and /directory/site/ urls. And wrote a rewrite rule handler to redirect all the old links, because I don't like breaking old links.

I rewrote the site it in modperl. It was hosted on the development webserver and after implementing and testing each function I committed the result to version control. I still use cvs because that's what I once dove into.

After testing for a while with an acceptance version I finally made the switch today. After that I found a few functions missing so I added those promptly. Still using version control, so I know what I changed when and why.
Read the rest of A new Camp Wireless that looks the same

Tags: , , ,
2020-08-23 Getting work done on the Camp Wireless rewrite 5 months ago
In the last few weeks I had actual time to work on the planned rewrite of Camp Wireless in perl.

I rewrote it in perl and redid a small part of the CSS to use the CSS grid model to optimize Camp Wireless based on screen size. In the coming days I will create an 'acceptance' version of the site using the production version of the database, to iron out the last errors.

I still need to finish the correct 404 generation from within mod_perl scripts, advertising and some specific cases. And it's a good idea to run a website security scan on my work.

The look and feel hasn't changed a lot. I decided to present the same information in the same order and maintain most of the screenlayout.

Tags: , , ,
2020-08-14 VDSL blijft (meestal 's nachts) hikken, maar de verbinding herstelt vlot 5 months ago
De VDSL verbinding blijft soms in de nacht een of twee keer verbreken. De verbinding is vrij snel weer terug dus er zijn verder geen problemen, maar het valt me wel op dat het met wat regelmaat gebeurd. Ik was voor afgelopen Juni gewend dat de verbinding echt lang actief kon blijven, maar dat zit er momenteel niet in.

Tags: ,
2020-08-04 Een slechte dag voor VDSL 5 months ago
Gisterenmiddag viel de VDSL weer eens 'ouderwets' uit zonder aanwijsbare redenen. Tijdens thuiswerken, wat natuurlijk niet handig is. De maximale snelheid ging even naar ADSL snelheden (7 mbit down, 2 mbit up) maar was snel weer op hoge snelheid. Het kostte een paar pogingen weer een stabiele PPP connectie te krijgen dus misschien was er ergens anders in het netwerk ook even iets mis.

Gisterenavond werd ik actief met amateurradio op 14 en 7 MHz. Dat gaf diverse verstoringen van de VDSL, ik was gewend dat de verbinding per nieuwe band waarop ik actief ben een keer 'leert' om het stuk waar ik actief ben niet te gebruiken. Ik bleek ook een storing in de antenne op 7 MHz te hebben waardoor veel signaal reflecteerde, wat misschien de oorzaak was van de meervoudige storingen. Uiteindelijk dat op kunnen lossen en daarna bleef de VDSL verbinding ook actief.

Afgelopen nacht is er nog wel twee keer een uitval geweest. Maar het is vlot hersteld zonder dat het script wat een vdsl reboot forceert actief is geworden.

Tags: ,
2020-08-03 Trying a number of amateur satellite passes with a new radio and finally success 5 months ago
Saudisat 1c / SO-50 cube satellite
Saudisat 1c / SO-50
A few weeks ago I tried the Baofeng UV-5R on a satellite pass again to at least receive signal. It did receive something but kept closing the squelch during reception even at squelch level 0. This seems to be a common problem with this model radio.

I decided to put some money into a handheld radio that can do full-duplex. My original Wouxun seems to have developed serious issues receiving on the 2 meter side, but it has served me very well as a handheld radio over the years. So based on reviews about the Wouxun KG-UVD8D/KG-UVD9D models and how their full-duplex capabilities worked in combination with satellites I decided to buy one of these. The current model is the KG-UV9K which adds airband receive capability. I ordered one from bamiporto which came after a few days.

Based on the settings in AO-85 & Wouxun KG-UV9D - more testing I set mine up and tried a number of passes. The passes on satellites AO-91 (Fox-1B) and AO-92 (Fox-1D) all failed. The passes weren't too high and during busy weekends so there was a lot of competition for the uplink. With only 4 watts I am a bit limited there.

The difference between the Baofeng UV-5R and the Wouxun KG-UV9K in handling audio from satellites with the squelch full open is clear: with the Wouxun I only get an interruption when I let go of the transmit button.

Yesterday evening I tried a high SO-50 pass. A southwest to northeast pass, which gave me the option to stand in the front yard with radio, antenna and a smartphone with the W1ANT satellite tracker. I had trouble understanding some stations but could hear others fine who seemed to understand most stations fine, given the contacts I heard. In a gap I called F5ERS/P which turned into a good first contact and after that G0ABI called me and that was a good second contact.

Tags: , ,
2020-08-01 Blocking Sendy as spammailer 5 months ago
The spam trying to sell me PC hardware keeps going on and I had a closer look. I noticed they all were sent with the following header line:
X-Mailer: Sendy (
I had a look through the last months of valid mail and spam mail: 1 valid mail using Sendy, 87 already seen as spam and 104 reports to spamcop. Those are clear numbers, so I created some spamassassin rules:
header LOCAL_MAILER_SENDY X-Mailer =~ /^Sendy \(https:\/\/sendy\.co\)$/
describe LOCAL_MAILER_SENDY Sendy mailer
Starting with adding 1 for using sendy, but I can add more. Reporting the 'PC hardware' spammers again and again and again via spamcop to hasn't helped yet.

Tags: ,

IPv6 check

Running test...
, reachable as PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: morenews.cgi,v 1.50 2020/12/31 15:36:31 koos Exp $ in 0.019330 seconds.