Windows Live One Care 2.0

January 1st, 2008

Windows Live One Care is a “all in one” security suite of Microsoft products that protects your computer against firewall attacks, viruses, phishing website schemes and more. I was fairly satisfied with this product in its 1.0 version – however – that has all changed with the upgrade to 2.0. I would no longer recommend this product to anyone, so please read on!

Houston We Have a Problem!

It all began when I noticed that something was using up close to 100% of my CPU time. I quickly zeroed in on my services list (ALT-CTRL-DEL) and confirmed that services.exe was the culprit. My first incorrect assumption was that my computer had been hijacked and that this represented a virus, root-kit, spyware or mal-ware installation that had somehow slipped past Windows Live One Care. I spent days running virus and spy-ware scans, researching google and ultimately reinstalling windows when all hope had disappeared of recovering windows to its prior state of operations.

After about 10 hours of work installing all the microsoft updates from Windows Update, reinstalling applications, looking up software keys and then finally installing the latest version of Windows Live One Care – this nasty beast reared its ugly head. My computer began slowing to a crawl and a quick look at the services list revealed my worst fears. Services.exe was once again using 100% of the CPU time. Only this time there was a mysterious service popping up multiple times:

DW20.exe

This is a Microsoft error reporting services for Office 2003. But the strange thing about this was that I do not own or have installed Microsoft Office 2003. A quick review of the add/remove software from the control panel also revealed a few packages that are generally associated with Windows Vista included MS Compression kit 1.0 and a Windows Live-Drv package.

The solution to this mess was to uninstall Windows Live One Care and also the packages that were mysteriously installed without my knowledge. Immediately after a reboot my computer returned to its same zippy state of speed. And I was left wondering why a billion dollar company such as Microsoft would not take the time to adequately test a product that they charge $49.95 a year. Perhaps they just want the whole world to upgrade to Windows Vista? Not me – I am sticking with Windows XP which I will explain why in a future installment of “The Web Celt” along with my recommendation for a good, safe virus and security product for your computer!

The Meaning of Christmas

December 10th, 2007

 

Let’s not forget to remember the true meaning of Christmas. Sometimes we get so wrapped up in Christmas Chores that we forget what it is all about.  Author is unknown….

T’was the month before Christmas and all through the town
Not a sign of Baby Jesus was anywhere to be found.
The people were all busy with Christmas time chores
Like decorating, and baking, and shopping in stores.
No one sang “Away in a manager, no crib for a bed.”
Instead, they sang of Santa dressed up in bright red.

Mama watched Martha Stewart, Papa took a nap.
As hour upon hour the presents they’d wrap.
When, what from the T.V. did they suddenly hear?
“Cept an ad which told of big sale at Sears.
So away to the mall they all flew like a flash…
Buying things on credit…and others with cash!

And, as they made their way home from their trip to the mall,
Did they think about Jesus? Oh, no…not at all.
Their lives were so busy with their Christmas time things,
No time to remember Christ Jesus, the King.

There were presents to wrap and cookies to bake.
How could they stop and remember who died for their sake?
To pray to the Savior…they had no time to stop,
Because they needed more time to “Shop ’til they dropped!”

On Wal-mart! On K-mart! On Target! On Penney’s!
On Hallmark! On Zales! And a quick lunch at Denny’s
From the big stores downtown to the stores at the mall
They would dash away, dash away, and visit them all!

And up on the roof, there arose such a clatter
As grandpa hung up icicle lights with his brand new step ladder.
He hung lights that would flash. He hung lights that would twirl.
Yet, he never once prayed to Jesus…Light of the World.

Christ’s eyes… how they twinkle! Christ’s Spirit…how merry!
Christ’s love…how enormous! All our burdens He’ll carry!
So instead of being busy, overworked, and uptight
Let’s put Christ back in Christmas and enjoy some good nights!

Samba – Network Access Denied

July 21st, 2007

Samba is a linux application that allows for directory paths and printers on a linux operating system to be shared on a network. One of the most common uses for Samba, and most frustrating to setup, is accessing a samba shared directory path from linux to a Windows computer. While I have read many a web post about the benefits of learning all about Samba, I really do not have an interest in becoming a Samba expert. I just want my file path shares to work!

I have literally spent hours researching and trying different configurations to get this setup to work properly. The benefits of accessing linux files from Windows is especially true when you are dealing with a webserver and you want to edit scripts and html files on the fly. Since most development tools and workstations are windows based, it speeds up the development time incredibly if you can instantly access your public_html directory, or for that matter, all of your linux operating systems folder paths from your windows workstation.

For my own setup, I choose just to access the /homes/ directory where I have my website stored. I prefer not to have direct write access to configuration files stored in /etc/ or /var/ for fear of accidentally deleting or overwriting one of these important files. Also, make sure that you keep proper backup files of your public_html directory before you start directly editing your web files!

So, without further explaining, here is my sample Samba configuration file that you can use for your own purposes. This is the smb.conf file:

[global]
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
dns proxy = No
netbios name = NAME ON THE NETWORK
server string = DESCRIPTION OF LOCATION
printing = cups
password server = None
default service = homes
path = /home/HOME DIRECTORY
workgroup = NAME OF NETWORK
os level = 20
security = SHARE
max log size = 0
guest ok = yes
guest account = root
pam password change = Yes

[homes]
comment = Home Directories
valid users = %S
writeable = yes
create mask = 0664
directory mask = 0775
browseable = No 

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No 

[LINUX USER NAME]
guest account = root
writeable = yes
write list = nobody
allow hosts = WINDOWS IP

If this configuration file helps you with your samba share issues, then please let me know.

Also, one important note about encrypted passwords. You do not need to turn off encrypted passwords to get a samba share to work in Windows. This is commoningly done by editing the registry. If you have enabled plaintextpasswords, then go back into the windows registry, search for enableplaintextpasswords, and set the value to 0.

Good Luck with your Samba Share adventures!

Guide to Teamwork

June 19th, 2007

I’ve started a new section called ‘Life’ which I plan on publishing various self-improvement articles and short stores. This article is about Teamwork and I hope you will find it useful in your own Life and Work. ~

In the work force today, more and more companies are relying on teamwork to achieve projects and to set goals for the company. No longer do you see power hungry managers controlling every faucet of the work flow and day. In order to be successful, both managers and employees must work together to provide products that meet the needs of the customer and are profitable. For the company that does not empower their employees to achieve their goals through teamwork, it will certainly result in failure of a product. Of all of the skills that are most important in the business world today, teamwork is high on my list. My own experience has shown that teamwork means placing the teams objectives above your own, displaying sound judgment in your decisions and helping your teammates obtain their objectives.

Placing the objectives of the team first, rather than your own agenda, is a good sign that you are practicing teamwork. In the company I work for I have seen teams disintegrate into pure chaos as each member will try to push through their own agenda. The problem with members having their own agenda is that nothing will ever get accomplished and in the end, the goals that the team set out to achieve, will never be made. To be a successful team player, you must remember what the goals of the team are and stick with them. Some of the most successful teams in the sports world have great athletes who are also great team players. For example, Larry Bird of the Boston Celtics was a great athlete, but he was also a great team player who on many occasions would unselfishly set his teammate up for a play, rather than take the shot himself. Learning not to be selfish in tackling the objectives of the team is the first step towards building teamwork skills and in finding success within a team. But this skill alone will not build you into a great team player.

Realizing that the image of the team is reflected in your own actions – this is called sound judgment -  is another important step in learning what teamwork means. This holds true not only for work related teams, but in sports teams and in family teams. Poor judgment in the actions you take will certainly result in embarrassment for the team you are on and in the credibility of the team. Take for example the recent incident with Drew Bledsoe of the New England Patriots. It was not the great pass or completion of a play that earned him the undivided attention of the news media, rather, it was his actions at a local Boston bar, (jumping foolishly into a crowd of people),  that resulted in his picture on the front page of the Boston Herald. This reflects poorly not only on Drew Bledsoe, but on the New England Patriots as a organization. Six months from now, most individuals outside of New England will not remember the name of the player who displayed poor judgment, but they will remember that he was a member of the New England Patriots. Displaying sound judgment in the actions and decisions you make will put you on the road to becoming a successful team player.

The most important part of being a team player is helping your teammates achieve their goals. The very basis for teams is the concept that each member of the team will help other teammates out so that the team, as a whole, will move ahead and achieve success. A good example of this teamwork can be found in the traditional family. My own experience shows that when a member of the family suffers a setback or is having a tough time with work or school, the members of the family come together to help the family member with their support. This, by far, is the greatest asset of teamwork and is the very basis for why good teams can be so successful. Translating this to the business and sports world has equal similarities. For example, a team that is created for the purpose of researching, creating and introducing a new product will rely on the strength of its team members in the event that a team member suffers a setback; a divorce, death or other misfortune. Suddenly, the team is focused on what its members can do to help the ailing teammate. This is the magic that builds successful teams and the acquired skills that go along with teamwork.

Teamwork certainly is an important part of our everyday lives. If you think about it, almost everyone will play a part in the makeup of a team at some point in their lives. It is up to you, as a team member, to display and work towards the skills of teamwork. By focusing on the skills I have mentioned -  putting the team objectives first, displaying sound judgment and helping your teammates obtain their objectives – you will certainly find success in using teamwork in your endeavors for success. This is what teamwork means to me.

PHP Domain Redirect

June 17th, 2007

Our PHP Domain Redirect script is the perfect choice when you are parking domains at one central location and you need to split the web traffic to different addresses based upon the URL name. 

For example, say your primary location is firstdomain.com, but you also own a second domain name that is parked at this location (seconddomain.com). The key is to create different directories to store each website and then funnel the traffic based upon the domain name.

To accomplish this in PHP we employ a special PHP server variable called $_SERVER["HTTP_HOST"]. This variable contains the name of the URL as entered in the address bar of the web browser. You can find a list of all of the special PHP server variables on PHP.net. Some of the variables available are the document_root (contains the root location), http_referer (from what URL the vistor arrived at your site), http_user_agent (shows the browser and version of the vistor).

<?php 

$domain = $_SERVER["HTTP_HOST"];
if (($domain == "celtichearts.com") ||
   ($domain == "www.celtichearts.com")) { 

   header("location: http://www.celtichearts.com/mail"); 

} 

if (($domain == "webcelt.com") ||
   ($domain == "www.webcelt.com")) { 

   header("location: http://www.webcelt.com/news"); 

}
?>

Our script’s first job is to grab the URL from the address bar by using the server side variable $_SERVER["HTTP_HOST"]. We simply place that in the variable $domain and then test for each website – redirecting based on the name of the web address.

In this example, we show how The WEB CELT website uses PHP Domain Redirecting to host 2 different websites at one location. Because our hosting provider only allows 1 primary domain (www.celtichearts.com), we park the domain (www.webcelt.com) and then redirect both to the appropriate location.

Redirecting is accomplished by using PHP’s header() command. Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP – otherwise this will result in a nasty error.

And that is our quick and dirty PHP Domain Redirect Script. This is the perfect solution when you need a means to direct your vistors to different parts of your website based upon the URL the vistor entered. It is also a great way to accomplish redirects without learning or using .htaccess. Although I am sure we will be talking about .htaccess commands in future posts to The WEB CELT!

Welcome to The WEB CELT!

June 17th, 2007

Hello and welcome to The WEB CELT! My name is Paul MacArthur and I have created this site to share with you the technology, programming and knowledge that I have gained while running a popular Internet Radio Broadcast – Celtic Radio!

My hope is to create a site that contains help guides and programming examples covering a wide range of topics – such as PHP, Javascript, Linux, broadcasting, music, radio and more!

Beyond that I hope to take a little different road than a purely “technology” website would travel. ”Every Day Ramblings” will be about my own life adventures and I will be including a special section called the “Guide to Life.” These sections will contain self-improvement articles, short-stories, science, religion, politics and anything else that does not fit under a category! :)

So, why The WEB CELT? – It just seems like such a natural fit given my interest and enthusiam in all things Celtic! Now we are not talking about witches or warlocks, we are talking about the ancient peoples of Scotland, Ireland, Wales, Isle of Man, Galicia, Cornwall and Brittany. These were the lands of the Gaels and where my interest started in this web adventure called “Internet Radio.”

I’ll try my best to categorize and organize the posts here, so as to make a useful and working website. Along the way, feel free to post comments or to just give me a shout if you have a question. I am more than willing to help you out with specific questions on programming,  music and radio technology. Who knows, maybe we will post your question and answers here!

Again thanks for stopping by and Welcome to The WEB CELT