I was working on getting vsftpd set up with some virtual users and wanted to use an Apache-style users file to manage the virtual users. I found a number of guides that showed how to configure things, but couldn't get it working. After much debugging, I realized the problem was that CentOS doesn't install the pam_pwdfile.so module by default.
So, before you can use a pwdfile with vsftpd, you will need to install the pam_pwdfile.so module. Here are the install directions I used:
After you have installed the module, make sure to restart any services that you might be dependent on the PAM.
While I left Windows XP behind a long time ago as my main operating system, I still run numerous virtual machines running Windows XP in order to test with older versions of Internet Explorer. One problem I've been running into with my VMs is when the Windows Update was running, the CPU would get pegged at 99% – 100% usage, which makes Windows unusable.
I tried a number of things to work around the problem to no avail and finally just decided to shut down Windows Update in order to make the VMs usable. However, that leaves my unable to patch my VMs to make sure they're completely up-to-date.
Today I finally had to update one of my VMs, so I really needed to resolve the problem. After some reading, I found that Microsoft is aware of the problem and that it relates to parsing the update tree to find out which updates are needed. The good news is I found a fix that seems to work for me. The trick is to manually update 2 different Security Updates.
Here's how I finally resolved the problem:
Hope that helps someone!
On Friday I upgraded my iPhone 3GS to the new iPhone 4S. One of the things that's changed in the 4S is that it's supposed to support HSPA+. Well not truly "4G", it should offer faster data transfers on AT&T's network. Before heading into the AT&T store to pick up my new phone, I decided to run a couple of tests on my 3GS in my car while parked in the parking lot.
My initial tests on the 3GS reported data xfer speeds around 970Kbits/s.
Once I had my new 4S in hand, I returned to my car to repeat my performance tests. I immediately saw the numbers jump to somewhere in the 1820Kbits/s—almost double the speed.
While this was not an exhaustive test by any means, it does appear that there is a nice speed jump on AT&T's network—provided your in an area covered by HSPA+.
Here's the screenshot showing my min/max results:
[UPDATED: Tuesday, June 21, 2011 at 10:27:35 AM]
About 2 years ago, I decided to take the plunge and see what the iPhone craze was all about. My contract was over with my Windows Mobile phone and I was looking for something to replace it. While I loved the idea of my Windows Mobile phone (WM5,) it's execution was severely lacking and I pretty much had non-stop issues with it. I experienced all sorts of random lockups, services shutting off, etc. in my 2 years of owning the VX-6700 phone. While it tried to combine the power of a PDA and a Phone, it really did neither of them well (but it was probably a better PDA than it was a Phone—it was a horrible phone.)
So, even with some of the negatives I'd read about the iPhone, I was definitely anxious to try a smart phone that seemed to be both a solid PDA and a phone—even if it was tied to iTunes and AT&T's network.
It didn't take long to discover the iPhone was vastly superior to my old WM phone. The UI was intuitive and the device worked. Battery life was excellent and my only real issues with the phone were it's lack of a physical keyboard and it's dependency on iTunes—which I despise.
Fortunately, once I found MediaMonkey I only needed to rely on iTunes for the occasional backup and firmware updates. Using MediaMonkey does end up requiring some patience, because Apple is constantly trying to prevent 3rd party applications from managing songs on the iPhone/iTouch/iPad devices, but if you're willing to wait for the developers of MM to work out the issues w/each firmware revision, the software works well and fits my setup much better than iTunes ever will.
After 2 years of using my iPhone, I've been extremely happy, but there are a few points that have always bothered me:
So, in my search to find the best phone I can, I thought I'd try my hands at an Android-based phone. I've known plenty of people who have gone from iPhones to an Android device and they seemed pretty happy. I was also wanting to get off AT&T and get back to Verizon Wireless—since they have without a doubt have a better network than AT&T.
After much research, the wife and I decided on the Samsung Droid Charge. We played around with several phones at the Verizon store, but the wife and I both really dug the display on the Droid Charge and I was really digging Swype when playing around with it at the store. I also wanted to make sure I got a 4G phone, since I was getting locked into another 2 year contract. I ended up buying the phone from Amazon Wireless, because at the time they had the phone for half the price I could buy it directly from Verizon—which means I'd get both phones for the price of one phone directly from Verizon.
The phones took 2 business days to arrive after ordering and I eagerly opened the packages so I could begin charging the phones so I could play with them after work. After playing with the phone for a week, here's how I view the Android experience.
My initial opinion of the Android after playing it with it for a day was really poor. I constantly felt lost in applications, not sure how to perform actions that were always very intuitive on the iPhone. I found navigating an app with the separate buttons difficult and not intuitive at all. I had become so accustom to iPhone apps offering all the options onscreen, that go "back" in an app or trying to refresh a listing by hitting the "menu" button was not very intuitive.
Also, actions that were single clicks/actions on the iPhone, generally involved at least 2 operations on the Android. Want to refresh your mail on the iPhone? Click the refresh button on the screen. That's one action. Want to refresh your mail in Android? Press the menu button, click refresh. That's two actions. Pretty much ever application I use frequently on the iPhone is like that. The Android way pretty much always involves more steps—many of them which were not intuitive.
I also started really missing the ability to scroll to the top of a page by clicking in the status bar—which works in pretty much every iPhone app where the page scrolls. I've not found an equivalent operation in Android, and this makes using some Android apps painful—especially the browser.
After the first day, I was really hating the phone, but I was intent on trying to give the phone a fair chance and wanted to use the phone for a week before making any rash decisions. So I kept plugging away, trying to use the phone as my primary device.
I started liking the phone better after the second day of usage as I began to get the hang of how the phone worked. It's still nowhere near as intuitive or as efficient as the iPhone is, but at least I wasn't feeling lost any more. Maybe this Android thing isn't so bad after all!
However, the more I used the phone, the more I realized the many deficiencies in the Android platform. I've yet to find find a program on Android that's better than it's iOS equivalent. The Facebook app for iOS is way better than the one on Android and I'm pretty much seeing that trend across all the applications I've downloaded. The one exception might be Words for Friends—only because it tells you what word is invalid (but the lack of an Ad-free version makes it worse overall.)
The battery life is also abysmal compared to my iPhone 3GS. I know the screen and increase in CPU power both will affect things, but even when the phone is in an idle state the battery drain is incredible. After playing around with some task killer applications, I can at least get a day of moderate use out of the phone, but there's no way the battery would last for 2 days—even if I wasn't using it. My iPhone on the other hand can go a couple of days easy on one charge w/moderate use.
This leads me to my biggest complaint with Verizon. One of the reasons I left Verizon is because their phone selection was always poor. They never had phones that came close to their competitors. However, in the 2 years I've been with AT&T they've actually started getting much better phones. The problem is, they tend to be slow to update the firmware on the phones and their firmware is loaded with Verizon crap that you can't install.
Whenever I run Advanced Task Killer, I constantly see Verizon apps re-spawning that I have no intention of every running (like IM, Daily Briefing, My Verizon Mobile, etc.) Obviously running programs that aren't going to be used affects both battery, but performance. Please let me remove programs I have no intention on using.
The other issue is obviously with outdated firmwares. The Samsung Droid Charge is only like a month old—it's one of Verizon's newest phones. Yet the it's still shipping with Froyo 2.2.1. Why does Verizon always wait so long to release firmware updates? Android 2.3.4 came out in May 2011, but Android 2.3's been out since December 2010. That's not to mention that Android 3.0 was released in February and 3.1 is soon to be released.
So, after a week of using Android I'm really thinking I'm going to abandon the Android device and go back to the iPhone.
It's not all bad though, there are some things I really do like and love about the Samsung Droid Charge.
I really, really wanted to love this Android device, but the more I use it the more I realize the iPhone is superior for me. It appears many of my issues may be addressed in newer versions of Android OS, but Verizon and especially Samsung have a bad history of basically abandoning firmware updates after 6 months of a phone being released. I'm sure that Gingerbread will eventually be released for the Charge, but I'm beginning to doubt whether I'll ever see 3.0 or 3.1 officially released for the phone—which is a real shame. These mobile carriers are in such a hurry to release a new crop of phones every 6 months, that they stop improving their existing phones. If the carriers are going to lock you into a 2 year contract, then they out to be guarantee that they will keep the phone up-to-date with the latest firmwares over that 2 year period.
I'm going to touch base with Verizon today to see if they can resolve my issues. I've got another week before my 2 week trial is up and I really want to give the phone a chance—I'm really trying. However, at this point I think I'm going to stick with an iPhone and iOS (and thus, probably staying w/AT&T. As much as I'd love to be on Verizon's network, but it bothers me that Verizon's version of the iPhone doesn't seem to be keeping up with the firmwares.)
For a while now I've been dealing with issues adding/updating events to my Google Calendar from Thunderbird/Lightning. When ever I'd try to update an event, I'd get a very generic "MODIFICATION_FAILED" error message with no detailed message. I could view events just fine and even dismiss alarms, but nothing I tried would allow me to add new events directly from Thunderbird. I ended up resorting to opening up Google Calendar and adding the events via the web interface. While this works, it's no where near as fast as accepting an invite from Thunderbird.
Today I had several GoToMeeting invites that I need to add to my calendar and decided look into the problem again. After doing some searching, I found lots of threads of people having the same issue, but alas no solutions. The one thing that did keep popping up is that Google considers CalDAV support still experimental, so problems may occur.
This got me to look into if there were other solutions other than CalDAV and I came across Provider for Google Calendar 0.7.1 add-on for Sunbird and Lightning. After changing all my calendars to use the new provider, everything seems to be working very well.
So, if you're getting errors updating your Google Calendar using CalDAV, you might try the Provider for Google Calendar to see if it fixes your issues. I'd also recommend taking a look at the Calendar:GDATA Provider wiki page which covers installation/setup of the provider.
I've been working on migrating to Eclipse v3.6.1 x64, but was having a ton of issues getting Subversion/SVN support working in Eclipse. I prefer using Subclipse, so it was my goal to get that up and running because I'm used to the interface.
I originally tried using SVNKit, because I wanted to use native libraries. However, when I tried to use the SVNKit connector, every single time an SVN operation would occur it would prompt me over and over for my credentials—like it was saving them (although it was updating the .keystore.) After getting frustrate with this, I decided to just use the JavaHL libraries.
If you're using Eclipse 32-bit, then everything you need is included with the distributed versions of Subclipse. Since I'm using the 64-bit version of Eclipse, I needed to download Slik's Subversion v1.6.16 (x64). So, I closed down Eclipse and install the 64-bit client. I verified that everything was working correctly by running the javahltests.jar.
However, after restarting and configuring Subclipse to use JavaHL, I started experiencing issues with Eclipse hanging up. I'd constantly get messages like "Building workspace"—which would stay at 0% and never progress. Switching back to SVNKit was working, but the constant credential checking was driving me crazy. So, after lots of researching, I finally found a thread on authentication issues on the SVNKit mailing list. Turns out I am using NTML and Basic authentication on our server and that was causing an issue with SVNKit.
The fix is to edit your eclipse.ini file and add this line somewhere after the "-vmargs" line:
-Dsvnkit.http.methods=Digest,Basic,Negotiate,NTLM
Depending on your configuration, you may need to tweak the order of the methods, but as soon as I restarted Eclipse with this line in my eclipse.ini everything started working like I expected.
For Christmas this year, the big family gift was a new Samsung PN58B860 58" Plasma TV. Our old TV worked fine, but with the baby on the way I we wanted try and reclaim some living room space—much of which was being taken up by our old Mitsubishi 55" rear projection TV.
We absolutely love the picture, but from day one we started running into a problem with the TV in which it would just randomly power off and then immediately back on. I went through a battery of tests trying to determine if it was a power issue, cable issue, etc. I tried replacing the HDMI cable, hooking the TV up directly to the cable, changing outlets, etc. Nothing I did resolved the issue. Since the problem was random (on average, probably happened once an hour, but we might go a couple of hours with no issues or it might happen several times within a few minutes.) It didn't matter what we were watching—could be cable TV, a DVD, playing XBOX, etc. The TV would just turn off and then turn right back on.
After talking to Samsung and HH Gregg everyone seemed to think it was the power supply on the TV and since the TV was less than a week old, HH Gregg delivered a replacement TV. However, the new TV was having the same problem. So, once again I started going through my battery of tests trying to figure out what was wrong.
After testing tons of things, I finally found the root case—the Internet connection.
Newer TVs are now coming with Internet connections. Being the tech guy I am, I immediately hooked my TV up to the Internet so I could get firmware updates, view Flickr photos, etc. To get up and running quickly, I had plugged my TV into the wireless bridge I was using for my XBOX 360—which I had the IP configured as the DMZ in my firewall (which I had done to resolve some issues with online play.)
Since now the TV was acting as a DMZ, all unrecognized traffic was being routed to the TV. I suspect what was happening is various ping and exploit attacks on my IP address was causing problems with the TV, so the TV would just shut down and power up again. I just never thought that the Internet connection would be the root casue of the TV rebooting.
Anyway, if you have a Samsung TV that's recycling the power, try unplugging your Internet connection and see if that improves the situation. Also, never run a device as a DMZ unless you know what you're doing!
Ever since upgrading to Windows Vista, I've had a probably with a program that I run infrequently where I'd get a message of "The Publisher Could Not Be Verified" and have to click on a box to verify I want to run the program. Since I don't use the application very frequently, the annoyance was minor.
Today I found myself needing to frequently re-load the application, so this message became really annoying. Windows Vista has an "Unblock" function in the file properties (right-click on the file from Windows Explorer and select "Properties"—it's on the general tab,) but this was not working for me.
I could click the "Unblock" button and apply the change, but the change wouldn't ever take. Since this program is my Program Files (x86) folder, I suspected this was the culprit. While I tried a few things to try to make the change as an admin (such as changing the file attributes—which forces you to grant admin privileges) the thing that end up working for me was to copy the files to another folder (like the desktop) go through the "Unblock" procedure again and then copy the files back to it's sub-folder in the Program Files (x86) folder. This seemed to do the trick.
So, while I'm sure there's a better way to get this to work, if you're getting the message "The Publisher Could Not Be Verified" every time you try to run a program and just using the "Unblock" function doesn't work, try moving the file to a folder that doesn't need administration privileges to modify the file.
I've been fighting a bit of a battle with my development server. When I originally set up the box, I created the C: partition with a relatively small size based on some performance guidelines I had read. While I had plenty of space when I built the server, the ever growing Windows folder has eventually eaten up all the disc space. The biggest culprit of this being the C:\Windows\installer folder—which gets larger each time Windows does an update.
Today I finally had no choice but to do something. There aren't a lot of choices when a system drive is running out of space, you basically can:
I thought about going the resizing route, but there's some risk involved and I wanted to minimize the time I was working on this. So I decided to go the junction route.
Since the C:\Windows\installer folder was without a doubt the folder eating up the majority of disk space for me, I decided to move this folder to another drive. However, there are some caveats of moving the C:\Windows\installer folder where if you don't get the permissions just right, then Windows will delete the junction and the folder it points to—where leaves you screwed.
Fortunately for all of us, Simon Bailey has written a nice batch file you can use to move C:\Windows\installer folder for you. If you're not interested in the batch file, you can also read his detailed blog post on the steps for freeing up space on your C: drive.
Now that I've freed up gigabytes of data from my C: drive, my server is happy again—which makes me happy.
I've recently migrated two of my PCs to Vista. I was trying to wait until Windows 7, but I had to physically replace the boxes so my hand was forced into (yeah, I could have downgraded, but I figured I should actually work with Vista a bit before moving to Windows 7 if for no other reason that to appreciate it more.)
Anyway, one of the problems I've had was logging into the boxes using the administrative shares. Well this is disabled by default (and for good reason,) I needed a way to access via the shares and came across this article from Microsoft:
This has allowed me to access my box from Windows XP and my other Vista boxes when I log in w/admin credentials—which is exactly what I wanted to do. While this isn't a recommended thing to enable, it seems you can toggle it off/on without rebooting—which is nice.
Over the last few days I've been setting up a new laptop and got Thunderbird up and running (which I'm now going to try to use exclusively.) I've been using Thunderbird on my laptop for work related e-mails for 4 or 5 years now. One of the issues I've always had with it was handling TNEF encoded messages (aka "winmail.dat") that Outlook insists on sending.
Now this is really a problem with Outlook in that it doesn't always honor the "HTML" format and sometime insists on sending e-mail in Outlook's native format. If you use Outlook, you have no problems. However, every other client will just get the dreaded "winmail.dat" file as an attachment.
In the past I've just used program (like Winmail Reader) to open the winmail.dat file and view the RTF and attachments. However, I decided to search the Thunderbird Add-ons page to see if anyone had developed a better solution and thankfully Aron Rubin has developed the wonderful LookOut add-on.
LookOut automatically converts the winmail.dat into it's associated attachments and creates a RTF file that you can double-click on to open in Word (or your associated RTF application.) This solution works really well, because I know longer have to open the winmail.dat in an external program just to see the attachments.
So kudos to Aron Rubin for this excellent add-on!
While my current monthly download usage is pretty small, TimeWarner's decision to implement download caps really irritates me. They want to implement caps of 1 GB, 10GBs, 20GBs, 40GBS and 100GBs based on different tiered packages and then charge you overages for every GB over your limit (with the a $75 cap of overage charges.)
They've been facing a backlash about this decision and rightfully so in my opinion.
As I stated earlier, my current download usage isn't very high, but one of the immerging Internet markets in downloadable movie rentals. When the XBOX360 introduced it's Netflix interface for watching streaming movies online, I thought that was a huge jump forward in downloadable movies. Well the Netfix streaming library is still too sparse and doesn't include enough new movies, that will change over time. I certainly see a time in the near future where you'll be able to rent movies purely online.
This is why I'm so irritated with download caps. We're seeing more an more Internet based services succeeding. We're seeing more SaaS applications having success, streaming video taking off and of course iTunes has seen great success. All of these services share one thing in common—they require downloading content to use the services.
If TimeWarner really needs a way to help recover costs, don't limit how much I can download, limit how fast I can download it. TimeWarner has kept bumping up the bandwidth transfer rates, but most people don't need 6Mbps or 8Mbps sustained xfer speeds. I'd much rather see them keep the tiered xfer rate pricing and keep the uncapped download speeds. Let the people who need the higher transfer rates (because their transferring tons of data simultaneously—which is where the real problem lies anyway) and let the rest of us just download the data we need without having to worry about our download usage.
This really makes me hope Verizon bring FiOS to Central Ohio sooner, rather than later. Verizon currently has no plans to cap their download usage and the xfer rates are already much higher than TW. If TW does implement download restrictions, that will be the straw that broke the camels back.
Not only will they lose me as a RoadRunner customer, they'll probably lose me as a Cable subscriber as well.
I ran across the ScreenCastle service the other day and wanted to blog about it. ScreenCastle offers a free Java-based screencast recording solution. What separates it from other solutions is there's no installation required—other than accepting the Java cert when the applet loads.
It's definitely not as feature rich as Camtasia or Jing, but it will serve the most basic purposes for recording.
Where it really shines is as a tool for debugging a customer's problem. They don't need any other software installed, they just go to the ScreenCastle website and click on the big red button and record away. When their done recording, the video gets pushed to the ScreenCastle server and then provides the user with links, embed code, etc—which they can then e-mail to you.
The service is offered by Skoffer—who has published some information on their limited API. They show some examples on how you can integrate the service into a Wiki or Blogging service (such as WordPress.)
I'd love it if they opened up the API a little more, so that you could potentially push the content to private servers (or at least be able to download a published file and then remove it from their servers.)
Anyway, this is a great tool if you want to be able to have a customer record what they're doing on the screen and send you a video of it.
One thing that's always bothered me about Firefox, is the lack of the ability to customize the icons in the status bar. As you add various plug-ins, the order of icons in the status bar can change and isn't always ideal. Plus, when you have multiple installs of Firefox on multiple boxes, I find it disrupts my workflow when icons are in a different spot for each browser (even with the exact same plug-ins installed.) So, I decided I finally wanted to re-arrange the order of my icons and get things working in a fashion that suited me better.
There are two main ways to change the order: 1) via a manual editing or 2) via another add-on.
You can manually re-arrange the order of the icons by editing the extensions.ini file located in your personal profile directory in the folder C:\Documents and Settings\{username}\Application Data\Mozilla\Firefox\Profiles\{profile}. What you need to do is change the order and position of the entries in the [ExtensionDirs] section of the INI file. While this works, it's a bit of a pain since the entries aren't easy to decipher (since values don't match up to a user friendly label.)
This led me to a find an add-on to simplify the task. The add-on I found was the Organize Status Bar v0.6.2 add-on. Using this plug-in gives you a very visual way of organizing your status bar. You can completely order things in any manor you want. Here's a screenshot of the add-on in action:
What I like about the add-on is that it highlights in yellow the currently selected icon and also has options to hide or show an icon if you don't want it to show up in the status bar. This add-on does exactly what I needed—I just wish the functionality was native to Firefox like the organizing toolbar feature.
[UPDATED: Wednesday, November 26, 2008 at 8:41:22 AM]
I just noticed that Google appears to have added some new features to the results page. The new features are buttons for "Promote", "Remove" and "Comment".
The "Promote" feature appears to be a way to give your "thumbs up" to content—which I'm sure will affect the rating of a page and thus affecting SEO. The "Remove" feature appears to be the way to report a bad link (like a Black Hat attempt, or just some general spam page.) Lastly, the "Comment" feature appears to be a way to add a comment about a page.
This new feature is part of Google's new SearchWiki. I think they must be selectively releasing this functionality, because I'm not seeing it every browser on my machine—so it's either cookie-based or browser-based.
UPDATE:It appears all you need to do is log in to Google in order to see the SearchWiki features. Logging out will turn the feature off.
Here's a video that talks more about SearchWiki: