Shellshock Bug : How to Patch bash Manually

I have a number of Linux system, including several virtual machines with various distributions running everything from test web servers to a Minecraft server for my daughter, and a Raspberry Pi that gets its SD card swapped out all the time depending on what I need it to do. While most of these systems can be automatically updated via yum or apt-get to install new versions of packages, a few are running distributions for which update packages are not readily available.

This doesn’t mean that I can’t secure them against the recently discovered Shellshock vulnerability. I just needed to compile the bash software from the source code, including the Shellshock patches, and install it. That is actually not nearly as complicated as it might sound. Here’s how to do it:

Continue reading

Skyrim Mods – Part 2 – Skyrim UI Mods

In the first installment of this series, I talked about visual enhancement mods that make the world of Skyrim come to life. This time around, I want to talk about how we interact with that game world. The Skyrim UI is obviously adequate for playing the game, but there is definitely room for improvement.

Background Work

As I mentioned in the previous article, many of the mods I use require SKSE to allow for extended scripting. I included a brief discussion on the installation of SKSE in part 1, and you are going to need it for most of the mods in this section, so if you haven’t done so, go install it!

The Framework

First and foremost, the SkyUI mod is an absolute must for any modded Skyrim. While the changes SkyUI makes directly to the interface are subtle (mostly tightening up wasted space) it has a few really nice improvements as well. The inventory, trade, and magic windows have all been cleaned up, with graphical icons for categories and the ability to search via text string. The trade menu contains a tabbed interface to switch between your items and the vendor’s item list.

The unmodded skyrim inventory - Lots of scrolling around thanks to the need for gamepad usability

The unmodded skyrim inventory – Lots of scrolling around thanks to the need for gamepad usability


The SkyUI inventory screen, with category icons, details at a glance, and a search bar at the top.

The SkyUI inventory screen, with category icons, details at a glance, and a search bar at the top.

Finally, and perhaps most importantly, SkyUI adds a Mod Configuration Menu (MCM) to the “Escape” menu in Skyrim’s UI. Other mods can register with the MCM to allow their configuration options to be integrated into a consistent interface.

 Fixing the Problems

There are a couple of annoying issues with Skyrim’s interface, and both Better Dialogue Controls and Better MessageBox Controls address some of the most common. These mods change the way you interact with, as you might expect, NPC Dialog and the pop-up menu boxes that occasionally appear on-screen.

In the case of Better Dialogue Controls, sorts out a conflict between the mouse and the keyboard. If you happen to have the mouse pointer over a portion of the dialog menu, it can interfere with using the keyboard to navigate the dialog entries, leading to selecting dialog options you may not have intended.

Better MessageBox Controls lets you use the keyboard (WASD) keys and Activate (E) to navigate pop-up menus, similar to the way you would using a gamepad. It also makes a few changes to the buttons themselves (bigger “hit-box”, hilighting)

Making it All Go Away

One of my favorite UI mods is called Immersive Hud (iHud), which hides every UI component when you don’t need them to be shown. When any of your stat bars (health, magicka, or stamina) are full, they fade out. If you aren’t sneaking or using your weapon, the crosshairs fade away. The compass at the top of the screen is hidden unless you press a key to see it.

The result is that, most of the time, you have no interface chrome visible on the screen and can just enjoy the Skyrim landscape in its full glory.

Next Up…

My selection of interface mods is fairly light, simply because there are not a lot of other changes that I find necessary for the interface. In the next installment of the series, I’ll look at the NPC, PC, and Creature mods I use in Skyrim.

Resolving Windows Update error code 80246002

I don’t know exactly what sequence of updates caused the proliferation of the 80246002 errors when attempting to run Windows Updates, but it appears to be a fairly wide-spread problem on Windows 7 machines.

The problem manifests itself as an inability to manually search for Windows Updates. If you are on a domain that uses a Software Update Server, this check is done by selecting the “Check Online for Updates from Microsoft Update” link at the bottom of the Windows Updates window. Typically the manual check will quickly fail with the error code 80246002.

Searching the net for a solution comes up with a few suggestions, most commonly to change your DNS server to (Google’s DNS) and try again. This does seem work to allow for updates to be downloaded immediately, but it doesn’t solve the problem going forward (you will have to do it again the next time you want to check for updates), and you can’t access any of your local domain resources until you switch it back.

A co-worker and I discussed this problem yesterday, and she worked out a procedure that has corrected the problem on all of the PCs we have tried it on so far:

  • Open Windows Update from the Control Panel
  • Click on “Change Settings” on the left hand side of the screen
  • Uncheck “Give me updates for Microsoft products and check for new optional Microsoft software when I update windows”
  • Restart the PC
  • Optional – I suggest completing the rest of this process and seeing if it works before you do this step, as this will eliminate your Windows Update history. If after completing the procedure you still receive errors when attempting to check for updates, try the following to remove the directory Windows Update uses to store the items it downloads (It will get recreated when the WUAUSERV service is restarted):
    • Open a command prompt as administrator (Click Start, type CMD, right click on the “cmd” entry at the top of the start menu and select “Run As Administrator”)
    • Run the command “net stop wuauserv”
    • Run the command “CD %WINDIR%”
    • Run the command “RENAME SoftwareDistribution SoftwareDistribution_Old”
    • Run the command “net start wuauserv”
  • Open Windows Update and check for updates. Install any updates other than the language packs.
  • When prompted, restart the PC
  • Open Windows Update again and click on the “Find Out More” link which talks about getting updates for other Microsoft products. This will take you to the Microsoft Update page.
  • Install the Microsoft Update client and check for updates.

After that, manually checking for updates seems to work normally on the machines we have tested. It seems that reverting back to Windows Update and then opting back in to Microsoft Update repairs the problem with the update client on the PC.

Some extra keywords for searches : 0x80246002, Microsoft Update, Windows Update, errorcode, fails, Windows 7, Win7, Win 7, search for updates, check for updates, manual update, manually update, wus, wsus, software update services

  • Advertisement