Windows Server 2019 TCP/IP not properly configured

If you are attempting to setup Active Directory, DNS and DHCP on Server 2019 (and probably others) and get a message that TCP/IP is not properly configured, make sure your server is plugged into a network switch such that the connection is live. I spent several minutes on this, checking adapter configuration and rebooting until I simply plugged the machine into a network switch. I was trying to configure the machine offline and didn’t have it plugged in, just had the IP, subnet mask, gateway and DNS settings input.

Produced / Consumed Tags faults with ControlLogix (16#0203 connection timeout)

We recently had a failure in which a PLC “PROD” (ControlLogix L72S with L7SP) was producing tags without any faults while the consumer PLC “CONS” (ControlLogix L72S with L72SP) kept timing out trying to connect. Both PLCs are at 20.1x firmware. PROD had produced tags for both safety and non-safety configured with a maximum of 1 consumer and safety networks in both directions matched where necessary. Both PLCs actually shared tags both directions so each had produced safety and non-safety tags and consumed safety and non-safety tags from the other one. The tags were user-defined AOIs with a connection status object, DINT[0..31] array, and REAL[0..99] array. These tags and CPUs have been in use for 10 years so not a new application.

Initial indications of the failures were that both bits (DINTs) and REALs were being lost before reaching the CONS processor. The values were being set properly at the PROD cpu but not reaching CONS. Loaded both CPU programs on Logix 5000 and found that on the PROD controller organizer there were no faults shown in the tree and communication status showed RUN, no FAULTS constantly. CONS controller, however, showed exclamation icon for PRODs L72S cpu. Physically looking at both CPUs in their respective showed no problems with EN2T cards or CPUs.

Tried resetting EN2T on CONS cpu and finally replaced with new EN2T, still same results. Verified IP addresses were correct, verified configuration, reloaded program into CONS cpu thinking maybe an issue with memory corruption had occurred. No changes.

Researched via Internet and found a couple of references to similar issues, basically networking possibly a problem. Double-checked all settings again. One thing of note is that the producing CPU doesn’t seem to care if it actually has a connection to any other device. From what I can tell it will allow the maximum number of consumers but will not complain if there are none at all. I had expected a fault on the PROD plc tree similar to the CONS plc tree but this explained why the PROD plc didn’t show issues.

Using Studio 5000 Task Monitor, checked the EN2T module on CONS plc and noted that both the safety and standard messages were faulting; the organizer tree did not show safety messages faulting, though. Sure enough, comparison of data showed this failure as well (no data changes on CONS for a change on PROD).

Finally went to double-check cables. When doing so, found one of the two Stratix 8000 switches in the CONS control cabinet had 5 connections but all were staying on solid green, no flashing lights at all. Cycled power to switch and everything started working properly after switch finished booting. This problem was very strange because all connections to the failed switch still showed network traffic and no indication of failure. Thought I’d post this in case anyone searches for similar issues as there wasn’t a lot of information for similar configurations on this fault (16#203 or 16#0203 ?).

Cheers

Makeup by Granddaughter

Just out of curiosity, how many who identify as he/him have allowed their granddaughter to do their makeup and then gone to a public location (such as Chuck E. Cheese)? No judgement here, my granddaughter is amazing at 4 years old and can do makeup like a pro!

Retro Computers and Status

Over the years I’ve purchased quite a few retro computers. I thought maybe if I list them and their associated status, maybe it would encourage me to get off my backside and start fixing them as quite a few of them are in various states of disrepair (or just completely broken).

TRS-80 Model III

#1: Video completely out of adjustment. Also, internal “ribbon” cables are completely junked. Have replacements but never got them to work since video is crap.

#2: Video completely out of adjustment. Won’t power up properly.

Apple IIe Platinum

#1: Works properly, needs RTC installed but otherwise works fine.

Apple IIe

#1, #2, #3: Various states of disrepair, keyboards missing keys, video outputs flaky, etc. Actually no plans to repair at this time since Platinum works

Apple IIGS

#1: Power supply trashed, changed RIFA caps, still not working

#2: Works great, has 8 MB, SCSI, lots of stuff but CP/M board not working

#3: Recently purchased ROM0 off Facebook group, need to test and possibly update RIFA caps

Apple IIc

#1: Irish keyboard, seemed to work okay when tried but video connector needs repair

Apple II+

#1: Forgot about this one, needs to have video connector replaced. Otherwise, need to test and learn more about it.

  • Additional testing found that the video cables included with the Viewmaster board were in very poor condition 2022-06-17
  • Replaced RIFA in power supply 2022-06-18
  • Disk II drives neither work, possibly 74LS125 chip in the drives, suspect they were incorrectly plugged in 2022-06-20; Additional testing on 2022-06-21 found that Titan Accelerator IIe was possibly causing problems with drives, need to retest
  • ADTPro works great with the SSC in slot 1 [edit] for Bootstrapping only, cannot get it to operator in DIR or RECEIVE mode with MacBook running Catalina. Switching over to IIe Platinum to see if it behaves differently.

TRS-80 CoCo II

#1, #2: Untested, both in very good condition along with several drive controllers

Multi-expansion unit: 1 works, 1 flaky due to compatibility issues

TRS-80 CoCo I

#1: Need more testing, has floppy and multi-expansion, all need more testing

Heathkit H89

#1: Works, also have external dual floppy (hard sector on all 3 drives)

#2: Pacific Scientific: Needs recap, blew cap when first started, has 2 builtin drives but torn down and now I don’t remember a damn thing about it

Heathkit H-8

#1: Boards for H-8 backplane, CPU, etc., to build, need to order parts

TI-99/4A

#All: Lots of these, most of them seem to work. However, very disappointed with design, probably going to sell most of them

Peripheral Expansion Box: Untested, has memory board, 1 floppy, serial board, extra floppy but nothing to install yet

HP 9816

#1: Sweet unit, also 9131 and 9133. Need repair on one of the 3-1/2″ drives. Need to copy 9133 hard drive, maybe with MFM emulator board from PDP/8 projects. Have memory card not yet tested.

  • Machine doesn’t start properly, cycling power quite a few times may result in working fan and, ultimately, machine might show video. 2022-06-11
  • Found 5 RIFA safety capacitors on power supply, all showing cracks and signs of impending death. Removed, planning to order soon. 2022-06-11

Atari 800XL

#1: Basically untested, have a 1050 drive to go with it but power rectifiers were blown. Replaced but haven’t tested

Amigas

#1: Amiga 500: Boots but essentially untested as I don’t have disks, etc.

#2: Amiga 2000: Battery cut out (no apparent damaged), needs reassembly and testing

#3: Amiga 1000: Untested, no video adapter or keyboard/mouse, extra external floppy

Bridgeboards: Have 3 of these, need to test

PC-based Stuff

Lots of these systems need testing. Have 2 XT clones, 1 of which worked when stored but didn’t have good storage at the time.

Lots of unassembled CP/M and other systems, mainly newer projects

Some items I plan to just sell off as I don’t have much desired to repair (TI-99/4A stuff particularly).

Amdek COLOR-I Composite Monitor

This monitor came with the Apple IIe Platinum mentioned above. It had gotten buried in a pile of stuff and had been an attraction for a group of mice at some point.

Mac X High Sierra and exfat

So, Mac OS X has exfat file system support built in. I spent about an hour trying to repair and otherwise fix my nearly full 2TB external drives before I decided to simply wait. Turns out if you have lots of files, it takes Mac OS X a long time to parse through them all. After about 20 minutes the drive showed up normally with all files ready to go.

Windows 10 and SQL Server 2016 Installation

If SQL Server 2016 is giving errors when attempting to install on Windows 10 (relating to C runtime, etc.), you might find some Google articles that recommend running SFC /scannow, then when that faults out on a message relating to the service not running, you run:

net start trustedinstaller

or similar, only to find it’s already started. Just reboot your machine. That might be all it takes. I spent 4 hours working on this, consulted logs, tech sites, etc., only to find the only missing component was a reboot for some update or install that didn’t finish. YMMV, but with Windows, rebooting probably can’t hurt. Uptime on Linux: 8 months+ without a reboot. Uptime on Windows: better reboot when you get a chance. Uptime on Mac: could go either way. I run all 3 configuration, not a phanboi of any.

Brother HL-2270DW and NetGear WNDR3400V2

So, moved my printer to a different location in the house and somehow wiped the configuration. Using a MacBook with Sierra, I tried for a couple of hours to get the WPS functionality of the router (which basically sucks as a router) to work with the printer. It was generally an exercise in futility, resulting in some cussing at the dogs and reinforcing the need to get my new Cisco equipment hooked up. The other issue is that the Ethernet port didn’t seem to want to enable, which would probably make it much easier to configure the printer. The solution?

Plug in the Ethernet cable at both ends, do a factory reset on the printer, and the port will enable in DHCP mode initially. It grabbed an IP address from the DHCP server and came online without any problem. A quick login to the printer and I was able to set the desired IP address and just completely disable wireless (the new location was near the router/switch so no need to use wireless). Problem solved in only 2-1/2 hours. What a pain in the back-side. I have a feeling that WPS isn’t all it’s made out to be.

LVM Luks Cryptsetup Mount from Alternate Machine or VM

I’ve run into some problems lately as I decided to setup various configurations using encrypted drives, which also includes LVM by default. I accidentally stumbled across an article from 2008 posted on Ubuntu Geek which describes the process. The drive I used for testing was connected via VirtualBox with a USB Cable on a Macbook Pro running El Capitan. The operating system on the VM was Xubuntu 16.04 (an Ubuntu 16.04 derivative) and the original operating system on the encrypted drive was the same.

The link to the original article is: http://www.ubuntugeek.com/rescue-an-encrypted-luks-lvm-volume.html

This tutorial is for people who have encrypted their main volumes of their hard drives using the method offered by the Alternate CD installer.

First you need to Boot into a Live CD environment and open up a terminal window. (applications–>accessories—>terminal)

Install required packages using the following command

sudo apt-get install lvm2 cryptsetup

probe required module using the following command [I didn’t have to do this step]

sudo modprobe dm-crypt

setup the crypto module to recognise the partition

sudo cryptsetup luksOpen /dev/hda5 crypt1

Enter your passphrase. You should get the following message:

key slot 0 unlocked.
Command successful.
If not, something has gone wrong.

Scan for volume groups

sudo vgscan --mknodes

sudo vgchange -ay

[NOTE: You might receive multiple errors at this step about incorrect names, etc. The main take-away from this step is whether it admits to finding a volume.]

REMEMBER the name of the volume group, as you will need it later.

Create a mount point [I simply mounted to /mnt instead]

sudo mkdir /volume

mount the encrypted volume to the mountpoint you just created. [Substitute the volume group name found in place of the paulb-desktop in the next command]

sudo mount /dev/paulb-desktop/root /volume

The volume is mounted, now you can chroot or whatever else you need to do. If you would like to open the gnome file manager for writing to it issue the following command:

sudo nautilus /volume


At this point, hopefully it worked. I wish I’d found these instructions a couple of years ago as I’ve ended up trashing 2 volumes in the process of trying to recover files. Fortunately, I didn’t lose that much but it could have been truly catastrophic, especially had it been a production server.