Monday, March 24, 2025

It's been too damn long ... I should start blogging more.

Plenty has happened since I last thought it was a good idea to blog about things.
My family and I have moved to from South Africa to England.
I nearly died last year, it first started with a burst appendix.
I was hospitalised for about a week, then sent home where I continued to have night-sweats.
After about a month I went back into hospital, where I was found to have abcesses on my liver.
This wasn't dealt with particularly well, and I subsequently developed sepsis and was put into ICU.
I was in hospital for over a month and lost 20kg, eventually discharged and now well again sadly regained all the weight,
but as a side-effect of the blood thinners that I was on have continued to abstain from alcohol for about five months now.

So why do I think it's a good idea to blog about things ... right now it's so that I can record for myself my minor accomplishments and things that I've learned.
In the last week or so, I've earned a lot more about networking infrastructure than I had ever expected to.
The learning experience was driven by the simple sounding task of self hosting a website and an instance of openvpn.
There are so many fiddly bits that all need to be configured just right or else it doesn't work.
  • create an A record on dns for the host name point it to the public IP address my router
  • Find my public ip address using this command :)
    curl wtfismyip.com
  • create a static ip address on my router for my laptop using the mac address
  • create a virtual host on the router for ports 80 and 443 from the public IP to my static IP
  • set my home wifi network on my laptop as private, not public ... firewall blocks incoming traffic on public network
With this setup it all works well and is good enough for testing, my home public ip address will change over time so the A record needs to be updated or get a dyndns type hostname.
The rest of the stack is working nicely:
  • docker-compose
  • alpine/git : to fetch the website contents from a github private repo using a PAT
  • nginx : http only to serve the --webroot challenge from certbot for initial certificate generation
  • nginx : with https to serve the website content
  • certbot/certbot : to generate TLS certs from letsencrypt.org
    The script for this container generates the initial certificate to a shared volume and then loops every 12 hours to check for renewals.
    When a cert is renewed a marker file is created which will be picked up by a background process in the nginx (ssl) container to restart the nginx workers.

Wednesday, May 11, 2011

Solved HP Elite Book slow start on windows 7 64.

I've been battling with a long delay after booting my new laptop, I was waiting for a minute from when windows is loaded until the user profile icons appear.
After much rebooting and usage of various tools I finally found the culprit by using msconfig, to systematically eliminate the possibilities.

I found that by disabling the following 2 services I could knock off 40 seconds of wait time so that I could log in faster:

Drive Encryption Service / McAfee Inc.
DEBridge / McAfee Inc.
I believe that these are both installed as part of the HP Protect Tools, with these 2 services disabled, I can authenticate using my fingerprint reader.

Hope this helps some other frustrated soul.

Sunday, January 31, 2010

Windows XP fast user switch disconnects wireless connection

I got a new wireless router last month, a linksys WAG120N and after setting it up I discovered that I couldn't establish wireless connectivity from another user profile on Windows XP when doing a fast user switch.

The first profile that was logged on and connected worked fine, but if that user remained logged on and I switched to another user then the second user could not connect.

So after battling with this for a month I finally managed to find a work-around, which I will share here in the hope that it reduces frustration amongst other long suffering souls.

1) Log into your routers configuration page something like http://192.168.1.1/
2) Navigate to the wireless security settings
3) Set the security mode to WEP
3.1) Be aware or the security risks : http://www.home-wlan.com/WEP-vs-WPA.html
4) Generate or enter keys, and remember which key is set as the active key.
5) Save settings.
6) Remove your old wireless connection profile.
7) Add a new wireless connection profile using the WEP key from above.
8) Check connectivity
9) Fast user switch to another profile
10) Repeat steps 6), 7), 8) & 9) until all profiles are working.

I saw this question asked on google answers without an answer:

Subversive vs Subclipse

OK, so I've been playing around with subversive a bit more and I've changed my preference from subclipse to subversive.
However I the last time that I did a clean installation from scratch on Galileo it was still a bit of a mission, I had to install components from both the Eclipse update site and from the Polarion update site.

Thursday, December 3, 2009

Some of my new favourite tools

This is a short list of some of the most useful tools that I have used this year.

Monday, June 8, 2009

subclipse vs subversive

Well I've just tried subversive-0.7.8 for the first time, and I'm not exactly bowled over.
  • The install process was a nightmare
  • The UI seems a bit richer than subclipse
  • But the overall performance appears to be slower
I think I'll be staying with subclipse-1.6.2 for now.