Monthly Archives: October 2014
Time for Pop music
While My Guitar Gently Weeps Tribute to George Harrison 2004
Windows 10 Technical Preview Accessing a Remotely Shared HP Printer On Windows XP USB Port
This article is for installing printer drivers and configuring a Windows 10 Technical Preview PC for printing to LAN-Shared HP LaserJet 2300 Series Printer that is connected and installed on a USB Port of a Windows XP PC and shared on a LAN from the XP PC. The Windows Technical Preview machine (that is, the Windows 10 PC) wants to use this remote printer shared from the XP PC, but the add printer wizard mechanisms on Win 10 refuses to install it as it searches but can’t find an appropriate driver on the Windows Update. And, even if you visit the HP support site and download the 32 or 64 bit Universal drivers for Win 8.1, this does not provide the necessary *.inf or printer drivers to connect to the remotely shared printer.
Here is the Fix or Work Around:
- Plug the printer directly into the Windows 10 PC.
- Allow Windows 10 to locate and install a driver from Windows Update. Once installed locally to the Windows 10 PC, then print something to test.
- Unplug the printer from the Windows 10 PC and then plug it back into the Windows XP machine. Important, you must use the same USB socket that the printer was originally connected to or you may get another 2300 Series printer detected and installed on the XP machine.
- Assuming the HP LaserJet 2300 is shared from within XP you now need to browse the network on the Windows 10 PC to find the remote XP machine and the shared HP Printer connected to it. When you see the shared printer, click the right mouse button on the remote printer and select ‘Make shortcut’ – a shortcut should appear on the Windows 10 desktop.
- Right click on the desktop shortcut and click properties. The Target box should be highlighted, so click on it and select copy. You will be copying the network shortcut of the remote Printer, for example, \\XP-PC-Name\HP-LaserJ
- On the Windows 10 machine, search for and Open the “Devices and Printers” panel. The 2300 Series that you installed locally via USB socket will still exist even though the printer has been returned to the remote XP PC on the same LAN. Right click on the Printer icon and the left click “Printer Properties.”
- Click the Ports tab. Then click “Add port” and then click ‘Local Port,” When the ‘Enter Port Name’ text input box appears, paste in the Network Shortcut target information and click next.
- Click OK or Apply until all the boxes have gone.
You should now have a working printer!
Windows 10 treats the Printer Device on the newly installed Port like its a local printer, but you have redirected it to the LAN shared printer connected to the USB port of the XP machine.
Print a test page. Set the 2300 as your default printer on Windows 10.
This fix is derived from the Microsoft Tech Net Forum answer proposed by Nic Bunting with regard to a Windows 7 install, posted on Monday, April 26, 2010, 11:52 AM. See Forum Thread at:
social.technet.microsoft.com/Forums/
Apparently, something similar now works for the Windows Technical Preview.
The Jazz Festival at Coachman Park in Clearwater
Storm Rolling In From The Gulf
Setting File Permissions for MyBB on Linux with Apache
File Permissions
Certain file permissions are required for MyBB to function correctly. Once you’ve uploaded your files you will need to set the permissions on certain files and directories.
** On new installs (not necessarily for upgrades), before applying file permissions, rename config.default.php to config.php
*nix systems via CHMOD
If you have SSH access, you can apply the necessary permissions via the following command, executed from your root MyBB directory:
chmod 666 inc/config.php inc/settings.php
chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/
Optionally, you can also apply the following permissions:
chmod 666 inc/languages/english/*.php inc/languages/english/admin/*.php
chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/ admin/backups/
If you are using FileZilla you can right click on a file or directory and click File Attributes to modify the permissions of that file.
Upgrading MyBB To Version 1.8.0
Upgrade Instructions
These instructions apply to upgrades on Windows server running Apache web server as well as upgrades on linux server installations except that with linux you may need to set various folder permissions.
- Download MyBB version 1.8.0
http://www.mybb.com/download/ - Extract the website files from the downloaded ZIP file into a temporary folder of your choice
- Backup your MyBB database and all MyBB website files and folders (in case you need to revert to the previous version 1.6.15 or earlier)
- Copy the /inc/settings.php and /inc/config.php files to a separate folder (as a backup) so that you can copy them back into the website later
- Disable any plugins that you have installed
- You may choose to disable the board, but I didn’t and the upgrade went fine
- Overwrite the files and folders in the website by coping or FTP uploading all of the new extracted version 1.8.0 files and folders into your website (use the root or forum sub folder that you previously used with the existing installation of MyBB
- Replace the newly uploaded files named settings.php and config.php with the files those same two files that you previously copied to a separate folder.
- You may need to delete the “lock” file in the “/install” folder of your website so that you don’t receive an error message alerting you to delete the “lock” file when you access upgrade.php
- Now for this installation — Open a web browser and enter the address to the page /install/upgrade.php
- Select the version of MyBB that you were previously running and click Next
- Follow the upgrade process making sure each step is completed successfully before clicking next to continue with subsequent steps of the upgrade process
- Once the upgrade process is completed, then remove the install directory from your web server (or rename it) and follow any remaining instructions in the upgrade wizard, or in the announcement for the upgrade. This can include reverting selected templates to default.
- Enable any plugins one at a time and determine whether they require updating. Have updated plugins ready to be installed.
Halloween is Approaching
Build a Raid-1 Mirror Array on Adaptec 1430SA After an Operating System Is Installed
This procedures in this article show how to:
1. Build a Raid-1 Array on an Adaptec 1430SA RAID controller from a disk that already contains an operating system;
2. Rebuild a Raid-1 Array on an Adaptec 1430SA RAID controller from a degraded Raid-1 Array already containing an operating system; and
3. Clone a disk having an existing operating system, and/or existing Raid-1 mirror (whether or not the original array is degraded), onto a larger capacity set of hard drives and build (or rebuild) a Raid-1 Mirror Array on an Adaptec 1430SA Raid controller.
On the 1430SA Adaptec card, you may install an operating system on a preconfigured RAID-1 Array; or, you may use the “build” method to create or rebuild a RAID-1 Array from a non-RAID disk drive containing an existing operating system (or data) or from drives containing an exiting RAID-1 Mirror and existing operating system (or data), or from the remaining drive in a degraded RAID-1 Array.
-
If you have an existing RAID-1 mirror (whether or not it is degraded), install a product like Macrium Refect in order to make a good backup image of existing partitions. Use an external USB drive of caddy as the target of the Drive and Partition Image. Follow the instructions set forth in this article: http://www.sheldonsblog.com/rebuild-a-degraded-raid-1-array-on-adaptec-1430sa-controller/. After you have a good image backup, now use the same software to clone the partitions onto a new larger capacity drive (expanding the operating system partition on the new blank drive), and then create a new RAID Mirror Array using the newly cloned drive as the Mirror “Source” drive and another identical blank drive as the Mirror “Target” drive. How? See the same article: http://www.sheldonsblog.com/rebuild-a-degraded-raid-1-array-on-adaptec-1430sa-controller/.
-
You can build a Raid-1 Array from an non-Raid drive having an existing operating system by adding a brand new unused second drive of the same size or capacity, or cloning the existing partitions and O/S onto a larger capacity drive and then adding a second same new same capacity drive and building the Raid-1 Array.
After you have one drive, existing or expanded after cloning, you must ensure that that the Adaptec 1430SA Raid drivers are installed in the existing operating system so that the drive (and the new array you will create) will boot from the Adaptec 1430SA controller.
-
If you already installed an Array that has been running from the Adaptec 1430SA controller, even if the Array is degraded because 1 drive has dropped or failed on the existing array, then you know that the Adaptec controller drivers are already installed. Test whether the remaining drive on a degraded Array will boot by removing the failed drive and booting the system from the remaining drive on the Adaptec controller.
-
If you don’t have an existing Raid Array, then you will need to install the Adaptec 1430SA controller in the PC or server, then install the hard drive with existing operating system onto a non-Raid SATA port on the motherboard. Boot the operating system, download the latest Adaptec Raid Drives for your OS and 32-bit or 64-bit architecture, and install those drivers. Shut the system down. Install the same disk drive on port 0 of the Adaptec 1430SA Raid Controller card, and reboot the system from this single drive to ensure that the drive will boot from the newly installed controller card with controller card drivers now installed in the OS. Hint: To find port 0, locate the set of two ports on the lower position of the back edge of the card (ie. The ports nearest the motherboard when installed). When the card is installed in the PCI-e slot, then Port 0 should be the port on the right side facing nearest to the bottom side of the tower case. Looking at the back edge of the controller card after it is intstalled, the 4 ports should be as follows:
[3] | [2]
[1] | [0]
SLOT
-
Install a brand new unused disk drive of identical size capacity or larger either on Port 1 or Port 2. I prefer port two directly above port 0. It is your choice. This will be the Target Drive of the Mirror. Then, follow the procedure to Build a RAID-1 Array.
After you have tested to ensure the first drive will boot when installed on the Adaptec card, and you have shut the system down and you have installed a second identical or larger capacity drive (as the target of the Mirror, then:
-
Boot the sytem and repeatedly press CTRL + A keys together to enter the Adaptec RAID Configuration Utility. This will load into the Adaptec Raid Controller’s Bios.
-
Select “Disk Utilities” from the Main Menu. While inside Disk Utilities, check that both of your hard drives are showing properly as SATA 3.0Gb/s. Then escape from Disk Utilities back to the Main Menu.
-
Select “Array Configuration Utilities” from the Main Menu, and then select Configure Drives. Press the space bar to select each drive on the left side of the screen and ensure that both drives show as being selected drives on the right side of the screen. Press the Enter key. The Bios will warn you that one or more selected drives has a balid partition and that there is a risk of losing data if configured, and will ask “Do you want to continue? (Yes/No): Press the Y key for Yes. The message “Configuring the drives . . .” will briefly flash on the screen before you are returned to the Main Menu.
-
Select “Manage Arrays” from the Main Menu. In the list of arrays, the two drives will each show as SIMPLE VOLUME, and the drive containing your operating system should be located on Port 0. If everything is correct here, then escape to the Main Menu. [Caution: It is absolutely imperative that the source drive be located on Port 0 before you proceed to create the Array. Otherwise, your operating system and/or data and/or partitions will be lost.]
-
Select “Create Array” from the Main Menu. Next, press the space-bar on each of the drives in turn (on port 0 and then on port 1 or 2 as the case may be), so that both of the drives show in the top right side of the screen under “Selected Drives.” Then, press the ENTER key.
-
You will then arrive the “Array Properties” Screen. Select “RAID 1” as the type of RAID you want to use and press the Enter key. Next type in the RAID Array Name that you want to use, such as ARRAY1 and press the Enter key. When you see “Create RAID via” you must choose “BUILD” and then press the Enter key.
-
Next, press the Enter key to select “Done” at the bottom of the “Array Properties” screen.
-
In the next screen, you will SELECT SOURCE DRIVE by choosing the hard drive showing on Port 0 and press the enter key. NOTE: The source drive is the drive containing your existing operating system and/or data. The sectors of information on the Source drive will be copied (mirrored) onto the blank target drive on the new RAID-1 Array.
-
A warning message will appear that states: “Building the RAID 1 may take a few hours or more to complete. Do you still want to continue? (Yes/No):” Here, type Y for Yes to commence building the RAID-1 Array.
-
A progress screen will display the percentage of completion of the Array. It takes a very long time for the screen to display 1%. It takes approximately 15 hours to build a 1TB Array. I suppose that means it will take approximately 15 hours to build a 2TB Array. I will let you know soon. When finished at 100% build, there will be a message that appears: “Building the array is successfully completed.” You may now press ESC, ESC to exit the Array Configuration and type Y when prompted to exit and restart or reboot the system.
Note. It is INCORRECTLY reported that after the progress screen has reached at least 1% completion, and if you have installed Adaptec Raid Storage Manager within your operating system, then you may be able to boot to the operating system and allow the RAID controller to finish the “build” in the background while your OS is live or your server is up and running online, and also be able to monitor the progress of your mirror “build” from within Adaptec Storage Manager program. I vaguely remember trying this, but I don’t want to say for certain that I have. This could mean that you may have the alternative to press and hold the off switch on the front of the case on your computer or server to force a hard shut down, and then restart and boot into the operating system and let the “build” continue while you may monitor the percentage completion from within Adaptec Raid Storage Manager application.
Update: 07-21-2018 — Hard booting after the progress indicator shows at least 1% Build does NOT work. It won’t boot all the way into the login screen or the OS. It will try, but after 10 minutes the Windows Recovery screen comes up. Just cancel and the system will reboot. Press CTRL+A to go into the Adaptec Controller. Under Manage Arrays, press Enter to select your current Array, and you should see that the status in “Building” with no progress indicator. I could have waited about 30 hours to see if the build would complete on a 2TB drive. However, I chose to escape back to the selected Array and then pressed CTRL+R to start a Rebuild. The status will show REBUILDING and there will be a progress indicator starting at 0%. Now, I wait 30 hours and see if the Array will actually boot next time.
UNLESS YOU ABSOLUTELY NEED TO HAVE THE SERVER UP AND ONLINE, THEN I INSTEAD RECOMMEND THAT YOU LET THE CONTROLLER CARD BIOS AND CONFIGURATION UTILITY FINISH THE “BUILD” TO 100% COMPLETE BEFORE REBOOTING INTO THE OPERATING SYSTEM.