Header Shadow Image


301 Redirects For WordPress using RedirectMatch | WordPress SEO

Sometime back we’ve changed the links on this post from the /WordPress/YEAT/MONTH/DAY/[POST NAME] to something a bit shorter like /wp/[POST NAME].  Basically we took our earlier URL’s and changed them up.  That’s good and bad news.  The good because the links are shorter and since they already have a date, there really wasn’t much sense in having them in the URL. The bad because everything that points to this site elsewhere will get a 404.  Here’s a sample URL:

https://microdevsys.com/wp/2013/07/07/xcb_xv-vout-display-error-no-available-xvideo-adaptor/

and the new URL.

https://microdevsys.com/wp/xcb_xv-vout-display-error-no-available-xvideo-adaptor/

So how do we tell Google and other search engines to permanently redirect?

Read the rest of this entry »

NT_STATUS_UNSUCCESSFUL CIFS / Samba Error Message

In case you are faced with this error when you attempt to list shared on Windows systems and when running strace smbclient -L //192.168.0.10 -U'root%SECRET' -vvvv:

stat("/usr/lib64/samba/en_US.UTF-8.msg", 0x7fffb902c980) = -1 ENOENT (No such file or directory)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe86235c000
write(1, "Connection to 192.168.0.10 faile"…, 66Connection to 192.168.0.10 failed (Error NT_STATUS_ACCESS_DENIED)
) = 66
exit_group(1)                           = ?
[root@mbpc ~]# smbclient -L //192.168.0.17 -U'root%SECRET' -vvvv
Connection to 192.168.0.10 failed (Error NT_STATUS_UNSUCCESSFUL)
[root@mbpc ~]#

Here's some information that can help you resolve this quickly.

Read the rest of this entry »

bonding device bond0 does not seem to be present, delaying initialization.

When trying to setup the bonding interface for link aggregation, you get this message at startup:

bonding device bond0 does not seem to be present, delaying initialization.

                                                           [FAILED]

Read the rest of this entry »

Device wlan0 does not seem to be present, delaying initialization.

So you try to setup your wireless NIC and get this lovely message:

Bringing up interface wlan0:  Device wlan0 does not seem to be present, delaying

initialization.

                                                           [FAILED]

Read the rest of this entry »

Analyze hard drive with tools badblocks and smartctl

So one of the disks under our HTPC array has finally failed after nearly 2 years.  However we did not sustain any data loss as a result since it's only the first disk in a RAID6 system meaning we could still sustain a second disk failure without any data loss.  So we are still good and no harm is coming to our data.  This is the good part.  As it's less then 2 years, we still have a warranty on the disk so we'll RMA this thing later on if it proves that it can't be written to again.  Before we RMA anything, we'll analyze the disk a bit with smartctl and the bacblocks commands.  Here's how we'll go about this:

Read the rest of this entry »

Upgrading to Fedora 19

Turns out that my attempt to upgrade my coreutils packages to allow me to use Wake On LAN, required me to upgrade my Fedora 13 to the latest Fedora distribution.  So I'm going to try and jump to Fedora 18 (Not quite sure about Fedora 19 yet but will try.)  However since the complation of this post, we have upgraded to FC 19 (Fedora Core 19) .  This post is extremely long and contains alot of trial and error.  If you are simply looking to resolve

rpmlib(X-CheckUnifiedSystemdir) is needed by filesystem

please follow that link or if you are at upgrading from Fedora Core 16 up and you see the above error rpmlib(X-CheckUnifiedSystemdir) is needed by filesystem then simply proceed to Upgrading from FC 16 below.  NOTE: Alot of this is trial and error and the notes here are very rough.  Links are provided to specific errors where the process is more cleanly defined.  Follow at your own risk.

In our case using fed-up or fedora-upgrade had mixed results.

Read the rest of this entry »

Remote Desktop Connection: SSH Tunnel through Putty and DD-WRT for RDP / RDC

Occassionally, there may be a need to setup a remote RDP connection to your remote system from outside.  However, most networks, particularly office environments block remote RDP.  However, SSH is typically not blocked as it's secure , first and foremost, and important in data transfer to / from the organization.  RDP however, is not that secure.  Here's how to securely setup a connection to your home network from a remote location.  One thing to note here is that we will do so using the DD-WRT SSH Command Line Interface.  The reader may need to flash their router with DD-WRT (At own risk) or use existing capabilities of the router to do the same.  Most routers do not offer remote SSH connectivity however.

Read the rest of this entry »

Configuring Wake On LAN (WOL) from Hibernation or Suspend Mode

WOL or in other words Wake On LAN is a feature that allows you to send a magic packet to a machine that is suspended or hibernating (Potentially when it's off as well) to wake that computer up.  This is handy, particularly where you have DD-WRT installed on your router(s) which allows you to send these WOL magic packets from the router CLI or the router GUI.  Here's how we can set this up to allow you to send WOL magic packets from any system on your network, including the routers to wake up your hardware.  This allows you to put your systems to sleep and signal them to wake up when you login remotely.  This saves power and arguably preserves the life of the system.  It is also particularly handy in the absence of technologies such as HP iLO (LOM) which is the HP Lights Out Management processor build into the HP proprietary systems.

Read the rest of this entry »

Computer Temperature Monitoring

Computer temperature settings, voltages, fan speed and other components can be monitored off of a standard Linux distribution. Computer temperature monitoring however, can depend on the CPUID level as seen in cat /proc/cpuinfo.  More on the CPU ID levels can be found here.  Below is a processor in one motherboard showing it's CPUID.

Read the rest of this entry »

Get BIOS Version through DMIDECODE on Linux

To check your BIOS version, issue the following at the prompt:

Read the rest of this entry »


     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.