Fixing frequent Bluetooth disconnection on Asus T100

I found this fix specifically when looking for a way to fix disconnection issues with a Bluetooth mouse, but it fixes a multitude of issues as well.

Asus T100 frequently disconnects Bluetooth devices in an overly-aggressive effort to save power. Fix this by disabling Bluetooth power management.

First, make sure you have all the up-to-date drivers from Windows Update and from ASUS Live Update.

Next, open Device Manager and  right-click Bluetooth Radio, then click Properties, Power Management tab, and uncheck “Allow the computer to turn off this device to save power” as shows in the screenshot below.

ASUS_T100_Bluetooth_Properties

That’s all. After doing that, no more BT device disconnects!

Leave a comment

How to repair files identified as corrupted by sfc /scannow

A frequently used tool to identify Windows issues is the System File Checker, or sfc. It’s usually run as such:

sfc /scannow

This will scan through your system files and tell you if any files are corrupt. But — is there an easy way to repair those corrupt files, other than doing a full re-install? Turns out, there is: Connecting to the Internet, and using dism, as shown below:

dism /online /cleanup-image /restorehealth

See below for a copy-paste log that I did on the system I’m currently using to write this post. SFC identified corrupt files, I ran dism, and then re-ran sfc.

C:\WINDOWS\system32>sfc /scannow

Beginning system scan. This process will take some time.

Beginning verification phase of system scan. 
Verification 100% complete.

Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios.

C:\WINDOWS\system32>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool 
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

[==========================100.0%==========================] 
The restore operation completed successfully. The component store corruption was repaired. 
The operation completed successfully.

C:\WINDOWS\system32>sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

Credits to this forum for having the original post of the fix.

Leave a comment

Event ID 129 on Windows Server 2012 on HP MicroServer N40L

Storage Spaces driver.

Symptoms of this issue:

  • Hard drive activity light solid on
  • Occasional disk hangs
  • Event ID 129 in Windows logs storahci “Reset to device, \Device\RaidPort0, was issued.”

Fix:

  • Go to Power Options > Advanced > PCI Express > Link State Power Management and set it to Off.
  • Reboot the server

Source: Event ID 129 – storachi – Reset to device, \Device\RaidPort0, was issued. (blogs.technet.com)

Fully resolved the issue for me.

 

, , , ,

Leave a comment

Installation of IE9 via Windows Update fails with 0x80092004

There are two ways to fix this, and I found I had to do both steps to make it work.

1) Open Internet Explorer. Go to Tools > Internet Options > Advanced > Reset and reset all settings. Try the update again.

Source: Installation of IE 9 fails with error code 80092004 (answers.microsoft.com)

2) Open an administrator-level command prompt, and run the following:

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*9.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart"

Source: How to install ie9 (Internet Explorer 9) on Windows 7 despite 80092004 error (stackoverflow.com)

 

, ,

Leave a comment

How to format a disk GPT in FreeNAS

gpart create -s gpt adaX
gpart add -t freebsd-ufs adaX
newfs /dev/adaXp1

Also reference this post for more info:

https://mikebeach.org/2013/02/28/adding-and-removing-zfs-zpool-zil-disk-live-by-gptid/

,

Leave a comment

Skype no audio and crashing on OpenSUSE 12.3

Skype for OpenSUSE (download link) may have no audio and frequently crash. This issue is caused by missing packages for the audio subsystem.

Solution: install the packages alsa-plugins-pulse-32bit and pavucontrol

sudo zypper in alsa-plugins-pulse-32bit pavucontrol

Please feel free to leave any feedback in the comments section below.

Thanks!

,

Leave a comment

Cannot delete a RAID swap partition during Ubuntu installation

During some tests of Ubuntu in a virtual machine, I ran across an issue I’ve seen before, but never been able to fix, until now.

If you have a RAID array that contains a swap partition, you will not be able to delete it in the Ubuntu installer. Here’s the situation:

A swap partition on a RAID-1 array

A swap partition on a RAID-1 array

And if you try to delete the RAID array (“delete MD device”), here’s the error message:

Failed to delete the software raid device. There was an error deleting the software RAID device. It may be in use.

Failed to delete the software raid device. There was an error deleting the software RAID device. It may be in use.

An educated guess at the problem would be that the swap is in use, and as such, not able to be deleted. You’re right, but it’s (almost) not that simple. But let’s hit CTRL-ALT-F2 to get a console open, and try to turn off swap:

swapoff -a

Yet it still won’t delete.

Okay, let’s try to force-stop the MD array. First, let’s find out for sure which MD devices there are. Doing this:

ls -l /dev/md

Shows this:

linux:0 -> ../md127

So we know the device is md127. Let’s try to force-stop it now:

mdadm --stop --force /dev/md127

Gives this message:

mdadm: Cannot get exclusive access to /dev/md127:Perhaps a running process, mounted filesystem or active volume group?

Well, what now?

The solution:

swapoff /dev/md127

Note: If you’re jumping back to the installer, don’t do an mdadm –stop /dev/md127. That’s going to confuse the installer. Just swapoff and then return to the installer and delete the software raid.

,

Leave a comment

OpenSUSE 12.3 hangs on boot in VMware Player or Workstation

OpenSUSE 12.3 can be installed in VMware, but on reboot it hangs on the green splash screen as shown in the image below.

opensuse_boot_splash

Workarounds:

  1. Go to VM > Settings > Processors and set the number of processor cores to 2 or more.
  2. Go to VM > Settings > Display and uncheck ‘Accelerate 3D graphics’.

This allowed OpenSUSE to boot normally for me.

,

Leave a comment

Getting started with S/MIME-encrypted email

Just because you can’t protect the metadata of your email doesn’t mean you don’t have a right to protect the actual content of your messages, whether-or-not you feel you have “nothing to hide.”

Would you send all of your mail on the back of a postcard? Probably not, because it’s just none of some peoples’ business.

There’s a lot of material out there on how to use PGP/GPG for encrypted email, but it’s difficult to get started with and required some moderately-technical know-how. S/MIME is much easier, requiring only a bit of time, a few mouse clicks, and most importantly, an S/MIME-compatible mail client.

Here’s a list of a few common clients and whether they are natively S/MIME-compatible or not. Note that I’m considering the latest version of available software. If I’m wrong, please feel free to correct me in the comments :)

  • Webmail (reading email using your web browser) – NO (not without a plugin)
  • Outlook – Yes
  • iPhone / iPad (iOS) – Yes
  • Android – NO

So, how to get started?

First, you need to get an S/MIME certificate.

Here’s a link to a few providers known to provide free S/MIME certificates for at least personal use:

  1. Go to the above CA (Certificate Authority) and get a free certificate. That certificate will install in your browser. For this example, I’ll show you how to get a Comodo certificate installed. First, click the above URL. You’ll be taken to a page where your browser will prompt if you wish to perform a certificate operation. Say yes.
  2. Next, fill out the web form. Your first and last name and email address are essential parts of the email certificate, so use your real ones. Create a long and strong revocation password, and save it in a safe place. You’ll need it if you ever decide to revoke your certificate.
  3. Once the certificate is installed in your browser, you’ll need to export it to move it to your applications.

Exporting from Internet Explorer 10:

  1. Open Internet Options > Content > Certificates and you’ll see your certificate under the Personal tab. Click it and click Export
  2. Select ‘Yes, export the private key’ (you’ll need this to encrypt email!), and accept the default options. Make sure you add a long and strong password. Eventually you’ll be able to click browse, select a location and give it a filename, and export it.

Exporting from Google Chrome:

  1. Click the menu button > Settings > Advanced Settings > Manage Certificates and you’ll see your certificate under the Personal tab. Click it and click Export
  2. Select ‘Yes, export the private key’ (you’ll need this to encrypt email!), and accept the default options. Make sure you add a long and strong password. Eventually you’ll be able to click browse, select a location and give it a filename, and export it.

Installing in Outlook 2013

  1. Click File > Options > Trust Center > Trust Center Settings > Email Security. Under Digital ID’s, click Import/Export, and Import the file you exported in the previous steps.
  2. Next, check ‘Encrypt contents and attachments…’ and ‘Add digital signature…’.
  3. Next to the grayed-out Default settings box, click Settings. Since you will likely only have one certificate installed, the default settings are okay. Click Ok. Click Ok two more times to return to Outlook.

If you’re having trouble with Outlook freezing after installing your S/MIME certificate, the workaround originally posted here will take care of the issue:

  1. Delete certificate from User personal store (with IE)
  2. Import certificate from Internet Explorer. Go to IE options > Content > Certificates > Import. Important: Select the option that certificate export is allowed. (You still need the certificate password to do the export.)

Installing to iPhone.

  1. Since you’ve protected your certificate with a long and strong password, simply write an email to an address your phone receives, and attach your certificate.
  2. (Workaround for Outlook freezing when trying to send this email: Click the view tab, then turn off sign and encrypt before sending.)
  3. Once that email arrives, open it on your iPhone, and tap the attachment. When Install Profile appears, install it, providing the certificate password when prompted.
  4. Now, activate S/MIME signing and encryption by going to Settings > Mail, Contacts, Calendars > (your email account) > Account. Turn S/MIME on and turn on sign and encrypt, clicking Done when done.

Have any feedback on the above, or like to add anything I may have missed? Please feel free to do it in the comments sections below. Thank you!

Leave a comment

Personalizing your YubiKey in a Windows VMware virtual machine

I was initially frustrated at the apparent lack of a ready-built package for customizing the Yubikey for any Linux distro other than Ubuntu, until I found out that you can use a VMware virtual machine to do it.

First, download the Windows personalization tools from:

http://www.yubico.com/products/services-saoftware/personalization-tools/use/

Next, open the .vmx file of your Windows VMware image in your favorite text editor

Add the following line at the end of the .vmx file:

usb.generic.allowHID = "TRUE"

Save the .vmx file and start the Windows VMware image

From: http://forum.yubico.com/viewtopic.php?f=6&t=653

Leave a comment