SysAdmin

CNTLM

CNTLM is an authentication proxy that can solve problems with applications trying to get through a Windows proxy that requires authentication. I need this to clone from GitHub repos when behind a workplace proxy server. Getting it installed, however, may involve a little fancy footwork.

  1. Rename the .exe to something else as some policies won’t allow it to be installed. How about mostly_harmless.exe?
  2. Use the command line options -H -u -d to get the hashes for your config file: mostly_harmless.ini
  3. Launch the application: mostly_harmless -c mostly_harmless.ini
  4. Edit your git.config: [http] proxy=http://127.0.0.1:3128

Hurrah!

Advertisements

HP PSC 2510 and MS WIA

All the time I was thinking the very slow drive explores, which I’d assumed were something to do with my RAID 0 array, would be a problem to investigate. Then I did the obvious and looked in the Event log. Loads of WIA problems that led me to the HP forums for the All-in-One printer I have. I already knew the software for this was bad but I had no idea how bad. After updating to the next version of the software (387MB fer fecks sake!) and then applying 3 patches, then three more under the Software Update tool, it finally seems to have gone away.

Now the scanner doesn’t work …

VPC, ICS, ZA

This all started with Subversion throwing a wobbly and not letting me see my repository in my Virtual PC (VPC) shared folder. It reported the file system as RAW even though it would work fine in the host and if I looked at a hotcopy of the repository it was fine. I decided, after the problem “went away”, that I should move away from shared folders (they’re terribly slow).

To do this required installing the Microsoft Loopback Adapter on the host and installing Internet Connection Sharing (ICS) for the new network adapter on the main NIC (currently the WiFi card although I should really bridge that with the ethernet network card). I could ping from host to guest and vice versa but that was all. Finally discovered it was ZoneAlarm (ZA) on the host being an arse. Even after you’ve added the new network as a trusted zone you have to lower the Internet Zone Security to medium. There is a setting in the, almost invisible, Advanced tab on the Firewall config page that is supposed to allow ICS but that doesn’t make any difference.

Anyway, now I have a mapped drive in my guest to my host data drive and it’s a lot faster than before. I’ll have to see if changing the Shared networking (NAT) network adaptor in the VPC settings makes any difference to the Local connection for my virtual network server setup.