Mar
29
2010
0

Trust Guard and X-Cart: A Sweet Combination

I’ve been working with X-Cart shopping cart software for just over 6 years now and I still have to say that it’s my favorite cart package. Although it took a little time to learn the ins and outs of it at first, with the full source code available, the customization options are pretty much endless, limited only by your skill with php or your budget to have mods built for you by a developer.

Over the years, I’ve tried many add-ons to the base cart software to try and improve conversion rates including more than one trust logo. A trust logo is supposed to make the customer more at ease letting them know that you’ve taken steps to ensure that their credit card information is secure. That being said, you’d think that one trust logo is as good as another. I can now say definitively that this is not the case.

All trust logos are not created equal. I came across Trust Guard in the X-Cart user forums a number of months ago. They made a claim to increase your conversion rate or get double your money back. This was quite a bold offer and they had a 60 day free trial, so I thought I’d take them up on it and try them out. I was not disappointed.

Our site’s conversion rate increased by 20% within a very short time of implementing the Trust Guard seal within X-Cart. As an added bonus, their PCI scanning service is very thorough and provides a report in quite a nice format.

All in all, the addition of the Trust Guard seal to our X-Cart store was money well invested. Trust Guard and X-Cart really is a sweet combination!

 

Feb
22
2010
5

3D Acceleration in VMware with Intel Graphics

Though Gentoo Linux is my main operating system, there are still a handful of Windows apps that I need to run in my day-to-day business operations. I’ve been using VMware Workstation to take care of these for quite some time. Over the years VMware has really matured and I’ve generally been quite happy with it. I’ve been able to do almost anything I needed to in Windows on VMware as opposed to Windows on a physical workstation.

With VMware Workstation version 7 coming out not long ago, I was excited to see improved 3D graphics support. I installed the updated version on my desktop system running Nvidia graphics and things loaded up without a hitch. When it came to my laptop running an Intel GMA 4500MHD graphics adapter however, things weren’t quite so seamless. I fired up my Windows 7 virtual machine in VMware Workstation for the first time and got a disappointing message: 3D Acceleration will be disabled along with something to the effect of having a video card that didn’t fully support OpenGL.

Since one, I don’t like error messages and two, I don’t like the idea of decreased functionality in my workstations, I started out on my quest to fix this. The first stop was the VMware logs (found in the folder that contains your virtual machine). On looking through the log files, I noticed some various OpenGL extensions that were flagged as missing. One in particular stood out as it was flagged as required: mks| GLUtil_InstallExtensionLists: Missing required extension GL_EXT_texture_compression_s3tc. A little research showed that this particular extension, S3TC, is not included in Mesa as in some locales it may infringe on software patents. Most of the time, it is not required as most newer games, etc. use precompressed textures with hardware decompression. VMware however checks for this one as it is apparently a prerequisite for DirectX.

To get around this, I installed driconf which allows you to set visual and performance quality settings on OpenGL drivers. On the “Image Quality” tab in driconf, I clicked to “enable S3TC texture compression even if software support is not available.” The long and the short of it is that this will allow support for the S3TC extension to be reported to VMware even if the external third party library is not installed on your system. VMware sees this and then allows 3D acceleration to be enabled.

There is source code for the third party S3TC library available and a Gentoo ebuild for it should be hitting my overlay shortly. It will be found under dev-libs/libtxc_dxtn.

The Stormfront overlay can be added through layman and can also be found here: http://code.google.com/p/stormfront/

 

Written by flashman in: Computer Tips,Linux | Tags: , , , , ,
Dec
24
2008
0

Updated HylaFAX-4.4.4-r2 on Gentoo With Paludis

HylaFAX 4.4.4-r2 hit the Gentoo Linux Portage tree recently. Unfortunately, as with previous versions, it still won’t build with Paludis. I just wanted to drop a quick note to mention that I have synched the version in my overlay to the latest version in Portage. The version in the Stormfront Overlay contains a needed fix in order to be built with Paludis. The Stormfront Overlay can be found here:

Stormfront Overlay

 

Written by flashman in: Linux | Tags: , , ,
Dec
03
2008
12

Rogers Rocket Mobile Internet Stick on Gentoo Linux – Part 1

Part 1 – Hardware Recognition and Configuration

I picked up a new Rogers Rocket Mobile Internet Stick recently to use with my laptop so that I can stay connected while I am on the road. My Blackberry is great, but for some tasks, it just doesn’t cut it. For those who don’t know, the Rocket Mobile Internet Stick is a Novatel Ovation MC950D Mobile Broadband USB Modem which lets you connect to the Internet through the Rogers Wireless 3G network. It’s capable of download speeds up to 7.2 Mbps.

The Ovation MC950D modem is interesting in that for Windows it uses Zero-CD technology. When you first plug the modem into your PC’s USB port under Windows, it mounts on-board flash memory as a virtual CD-ROM drive and installs the driver and connection software.

Being a long time Gentoo Linux user, I was ready for the challenge of getting my new modem up and running under my favorite Linux distro.

Getting Started

Unfortunately, the SIM card that comes with the Ovation MC950D cannot be activated on the Rogers Wireless Network under Linux. I had a real aversion to using Windows in order to get my modem working on Linux, so I popped the SIM card into my Blackberry and booted it up so it could be found on the Network for the first time. Any cell phone should work for this purpose, or you could go the Windows route, insert the SIM card into the Mobile Internet Stick and plug it into a Windows PC for this first activation.

Kernel Configuration

Getting the activation out of the way, I plugged in the stick and watched my log files to find out what would happen. From my log files, it was obviously not going to just work out of the box. I was missing a few kernel options.

Here are some of the things you need to make sure you have configured in your kernel. I am running Gentoo-Sources 2.6.25-r8.

IP and PPP Support: (Some general support which is required for IP and PPP)

Networking --->
 Networking options --->
  <*> Unix domain sockets
  [*] TCP/IP networking
Device Drivers --->
 [*] Network device support --->
  <*> PPP (point-to-point protocol) support
  <*> PPP support for async serial ports
  <*> PPP support for sync tty ports
  <*> PPP Deflate compression
  <*> PPP BSD-Compress compression

Support for the Ovation MC950D Modem:

Device Drivers --->
 [*] USB support --->
  <*> USB Serial Converter support --->
   [*] USB Generic Serial Driver
   <*> USB driver for GSM and CDMA modems

Support for the virtual CD-ROM drive on the modem:

Device Drivers --->
 [*] USB support --->
  <*> USB Mass Storage support
File systems --->
 CD-ROM/DVD Filesystems --->
  <*> UDF file system support

Other tips:

Another kernel option I had configured that interfered with the detection of the Ovation MC950D modem was:

Device Drivers --->
 [*] Block Devices --->
  <*> Low Performance USB Block driver

This option conflicted with USB Mass Storage. If you have this option configured, enable the following to avoid the conflict:

Device Drivers --->
 [*] USB support --->
  [*] The shared table of common (or usual) storage devices

Once I recompiled my kernel and rebooted, my Ovation MC950D was recognized under Gentoo. The USB Mass Storage driver was loaded and since I run KDE, the virtual CD-ROM drive portion of the modem was mounted.

When the virtual CD-ROM drive is mounted, lsusb shows the Ovation MC950D connected with ID 1410:5010. If you unmount the drive (disconnect the Mass Storage driver via eject), the ID will change to 1410:4400 and udev will create the /dev/ttyUSB device(s).

Automating the Mode Switch

Since the virtual CD-ROM drive is not really of any use under Gentoo Linux, I started looking for a way to have the MC950D connected as a modem when it was plugged in. I came across a handy package for just such a thing called USB_ModeSwitch.

As chances would have it, version 0.9.4 of USB_ModeSwitch is in the Gentoo Portage tree. I did an emerge sys-apps/usb_modeswitch and had it installed in short order. The next task was getting it configured and working.

Unfortunately, there were a couple of errors with the ebuild at the time that I installed that I had to work through:

  1. The “91-usb_modeswitch.rules” file gets installed in the /etc/udev directory. You will have to move it to /etc/udev/rules.d
  2. The first line in the “91-usb_modeswitch.rules” file starts with “SUBSYSTEMS”. This needs to be changed to “SUBSYSTEM”. It will not work if the extra S is not removed.

For the Ovation MC950D modem, the contents of the “91-usb_modeswitch.rules” file should be modified to match this (all on one line):

SUBSYSTEM=="usb", ATTRS{idVendor}=="1410",
 ATTRS{idProduct}=="5010",
 RUN+="/usr/sbin/usb_modeswitch"

In order to get USB_ModeSwitch to automatically switch the mode on the Ovation MC950D modem, the appropriate section of /etc/usb_modeswitch.conf needs to be uncommented.

Look for the section that starts off with “Novatel Wireless Ovation MC950D HSUPA.” Uncomment the configuration options in that section by removing the semi-colons from in front of the options. Add semi-colons in front of the configuration options in any other sections to comment out options for other hardware.

After setting up the configuration for USB_ModeSwitch, the /dev/ttyUSB device(s) were created automatically when I plugged in my Novatel MC950D USB modem.

Next Steps

Now that my Novatel MC950D Mobile Broadband USB Modem is detected and configured on Gentoo Linux, the next step is to configure the connection software and get online. Watch for this in Part 2, coming soon…

 

Nov
17
2008
0

Installing HylaFAX on Gentoo Linux with Paludis

The HylaFAX fax server is an open source, enterprise-class system for sending and receiving facsimiles. It’s one I have been using and setting up for clients on Linux boxes with great success for a number of years.

My Linux distribution of choice is Gentoo Linux. I really like to be able to customize things and set them up the way I like them: Gentoo is after-all, all about choice. One choice I always make when setting up a new Gentoo box is to use the Paludis package manager for software management.

Paludis is great. It does have a tendency to expose broken or carelessly written ebuilds however. One such program I haven’t been able to install with Paludis is HylaFAX (thus the reason for this article).

If you try to install HylaFAX using Paludis from the Gentoo Portage tree, you will end up with an error like this toward the end of the build:

!!! Cannot write ‘/var/tmp/paludis/net-misc-hylafax-4.4.4/image/var/spool/fax/FIFO’ to ‘/var/spool/fax’ because it is not a recognised file type

When the package builds, it makes a FIFO which Paludis doesn’t support. My previous solution to this problem, which wasn’t a very good one, was to use Portage to install this one problem ebuild. With the 4.4.4 version of HylaFAX hitting the tree, I finally got fed up with this method. I did a lot of searching and finally came across a patch which I have now incorporated into the ebuild. The HylaFAX 4.4.4 ebuild patched for installation with Paludis can be found on my overlay here:

Stormfront Overlay

Instructions for adding the overlay can be found here:

Adding the Stormfront Overlay using Layman

There was really very little information out there on this issue. Hopefully this will be helpful to someone else who is experiencing this problem.

 

Written by flashman in: Linux | Tags: , , ,
Sep
27
2008
28

Adobe® AIR on Gentoo Linux

Adobe® AIR 1.1 for Linux is currently in beta and is almost feature complete. For anyone not in the know, the Adobe AIR runtime lets users run rich Internet applications from their desktop without a web browser across multiple operating systems.

There are some slick-looking AIR applications out there and I love eye candy, so when I heard there was a Linux version of Adobe AIR, I couldn’t wait to give it a whirl. Once I went to install it however, I was disappointed before I made it out of the gate. The installer for the Adobe AIR runtime for Linux requires that you are running a Linux distro with an RPM or Debian package management system. My distro of choice is Gentoo, so this wasn’t going to work.

Having run Gentoo Linux for a number of years, I am used to this sort of thing. Many software vendors shy away from supporting source based distros like Gentoo as they are “moving targets.” The element of choice introduced with such a source based distribution means that any two Gentoo Linux boxes could have dramatically different configurations.

The other part of being a Gentoo user however, means that I wasn’t going to give up in a hurry. I did some searching and some reading and managed to get Adobe AIR running on my x86 Gentoo laptop.

Here’s how I did it…

Part of the Adobe AIR SDK called ADL can be used to run Adobe AIR applications on non-RPM/Deb distributions like Gentoo.

Download the Adobe AIR SDK

  1. Browse on over to http://www.adobe.com/products/air/tools/sdk/
    (thanks to thrstn for the updated link)
  2. By clicking on the download link for the SDK, you are accepting the terms of the License Agreement.

Unpack the Downloaded Software

  1. Create a directory for the runtime. I used /opt/AIR-SDK
  2. Extract the AIR-SDK’s .tbz2 file in the directory you just created
  3. cd /opt/AIR-SDK
    tar jxvf /path/to/adobeair_linux_sdk_b1_091508.tbz2

  4. Create another directory for Adobe AIR applications. I used /opt/AIR-apps

Download and Unpack an Adobe AIR Application

  1. Download an Adobe AIR application. It will end in the extension .air
  2. Create a subdirectory with the name of the application in the applications folder you created above. Example /opt/AIR-apps/application-name
  3. Use unzip to extract the contents of the AIR application you downloaded
  4. cd /opt/AIR-apps/application-name
    unzip /path/to/application-name.air

Use ADL to launch your application…(the following is all on one line)

/opt/AIR-SDK/bin/adl -nodebug /opt/AIR-apps/application-name/META-INF/AIR/application.xml /opt/application-name

Enjoy your Adobe AIR applications!

Here are a couple of screenshots of AIR applications that I have installed…

Klok Screenshot
Kuler Screenshot

 

 

Written by flashman in: Linux | Tags: , ,

Powered by WordPress. Theme: TheBuckmaker