Nov 06 2008

DVD Drive stopped working after upgrading to Ubuntu 8.10

I decided to upgrade one of my computers to Ubuntu 8.10 Intrepid Ibex. I downloaded the iso, popped it into my DVD/Burner and rebooted. Halfway through the boot it bombed out. So I tried it again, this time popping the CD in my DVD/Reader. Success. It booted fine and I installed Intrepid onto by hard drive.

But, now after booting Intrepid my DVD/Burner (Panasonic LF-D521) no longer works. When I pop in a CD I get this error in ‘dmesg’: COMMUNICATION CRC ERROR (ULTRA-DMA/32). If I boot the 8.04 Hardy CD everything works again. So It’s an OS problem. True, but read on …

Searching the net on this error showed many Windows users having the same error too. One person said they had an old CD drive attached as a secondary drive on the same cable as their brand new fancy burner. They removed it and the Burner began working again. Well, I have an old DVD Reader attached as a secondary drive. I shut down the computer, disconnected the old drive, rebooted, and guess what? My DVD/Burner is now working again!

Update: 2008-11-06
I swapped out the old Samsung DVD/Reader (SD-612) with a newer Samsung DVD/Reader (NEC DV-5800A) and now both my DVD/Burner and DVD/Reader work.

Sep 12 2008

Share a Keyboard/Mouse Between Multiple Computers With x2x

Here is a great article from Linux Journal.

If you have multiple computers on your desktop there are a number of scenarios for using them:

* The brute force way: get a big desk and a swivel chair and spin back and forth between keyboards/mice
* Use VNC or rdesktop to control secondary computers from your primary computer. The main problem with this is that you lose all the screen real estate on your secondary computers and end up with their desktops showing in a window on your primary computer.
* Get a KVM to allow you to switch one keyboard/mouse between multiple computers.
The normal usage of a KVM is to switch your monitor as well as your keyboard and mouse, but that’s not required. KVM’s often seem like a great solution for many peripheral sharing problems, but they’re a bit of a hit-or-miss. They often have switching problems, system boot problems, video quality problems, and if you use multiple monitors a KVM to switch multiple monitors between systems gets pretty expensive.
* Use x2x, the solution we’ll examine here, to share the keyboard and mouse between systems.

There are two ways to run x2x on Linux, the easiest is to use ssh with X forwarding enabled and ssh from the primary system to the secondary system and run x2x on the secondary system:

primary $ ssh -X secondary x2x -east -to :0

The -X option tells ssh to enable X forwarding. The “x2x …” tells ssh to run x2x on the remote system (secondary) rather than running the shell. The “-east” option tells x2x where one system is relative to the other: to the east or west (-west).

The primary system is the system whose keyboard and mouse you are actually using. The secondary system is the one that is going to share the primary system’s keyboard and mouse.

Now, if you move the mouse on the primary system over to the edge where the secondary system is the mouse pointer should move from the primary screen to the secondary screen and from now on any mouse movement should be passed to the secondary system and anything you type on the keyboard should be sent to the secondary system. If this doesn’t work try moving the mouse to the other side of the screen, if that works then restart the command using “-west” rather than “-east”.

The other method of running x2x on a Linux system is to run it directly on the primary system and tell it to connect to the X server on the secondary system:

primary $ x2x -to secondary:0.0 -east

The reason this is not the easy method is that you also need to enable remote X access on the secondary system using xhost:

secondary $ xhost primary

and you also need to open TCP port 6000 on both systems. The easiest way of doing this is going to depend on your distro.

The main advantage of the second method is that copy/paste will now work between systems.

Getting x2x to work on a Windoze system takes a bit more work, mostly because first you have to install Cygwin. Although, if you’re a Linux fan you should already have it installed, it’s the only way to make Windoze bearable. When you’re installing Cygwin make sure x2x is selected in the list of available packages.

Using x2x with Cygwin has a couple of restrictions/problems:

* You can’t use the ssh connection method.
* You have to use the Windoze system as the primary system (i.e. you have to use the keyboard and mouse on the Windoze system).
* If you have multiple displays on your Windoze system you’ll probably experience mouse problems when you return the mouse from a secondary display. The only workaround is to move the mouse very very slowly when you’re about to move off a secondary display onto the primary display.

When using x2x on Windoze run the following command from a shell prompt:

windoze $ x2x -fromwin -to secondary:0.0 -east

Generally speaking x2x works very well both on Linux and on Windoze. Every once in a while you may get a bit of mouse flakiness when you move a window on a secondary display. Also once in a while, when using the shift key you may get the unshifted character on the secondary system if you type too fast. But in most instances you won’t notice any difference between typing/mousing on the primary system and on the secondary system.

p.s. If you have a problem where you get a “>” when you type “< " you need to find a newer version of x2x. This is long-standing bug that was recently fixed.

Aug 21 2008

FreeNX - Next Generation Remote Display

Optimize remote X sessions with NX. NX will also let you run remote X sessions from a Windows machine.

Next Generation Remote Display

NX is an exciting new technology for remote display. It provides near local speed application responsiveness over high latency, low bandwidth links. The core libraries for NX are provided by NoMachine under the GPL. FreeNX is a GPL implementation of the NX Server.

FreeNX - the free NX.

Video: http://www.youtube.com/watch?v=EUWMdgN51oQ

Aug 20 2008

nodoze - prepares websites built using Microsoft Windows for unix servers

This is a slick little perl script to move sites from a Windows web server to a Unix web server.

When websites are built on computers running Microsoft Windows, the case of file and directory names is often ignored. Other “widowsizms” are also introduced such as ending files with .htm instead of .html. This causes BIG problems if the site is served under unix.

nodoze is a “quick and dirty” Perl program to repair these websites so that they will work properly on a unix server.

nodoze - prepares websites built using Microsoft Windows for unix servers

Aug 14 2008

PNY NVIDIA GeForce 8500 GT

I just picked up a PNY NVIDIA GeForce 8500 GT PCI Express x16 video card for $60 at buy.com. It has 512 MB of memory, a DVI port, and a VGA port and allows you to run two monitors under Ubuntu 8.04 just fine.

You can either download the restricted nvidia driver from the Ubuntu repositories, or manually download the latest driver from Nvidia’s web site.

You can set it up so that both monitors act as one large desktop, or each monitor as its own X-Server screen by running nvidia-settings.

May 10 2008

Soft Phones : iaxLite and sipLite

I was looking for a small, lite weight software based phone for my Windows laptop that would connect back to my Asterisk PBX using the IAX protocol. iaxLite is perfect and works great. I haven’t tried sipLite (same phone but uses theSIP protocol) yet. Well worth a look if you are using Windows.
Soft Phone : iaxTalk.com !, VOIP::Asterisk::Phone::ATA::USB

iaxLite is a IAX2 softphone. sipLite is a SIP softphone

Apr 07 2008

Garmin: Free POI (Points Of Interest) Loader

Garmin: POI Loader

Import customized points of interest created by others with the help of Garmin’s new POI Loader software. In today’s fast-paced world, points of interest are ever-changing. With the help of POI Loader, you can now add your favorite new restaurant, or that supermarket having the grand opening, as points of interest (POIs) to your compatible Garmin GPS. The possibilities are endless — upload safety cameras or school zones, and you will receive a warning if you are traveling too fast. In addition, an optional proximity-alert feature notifies you of upcoming custom POIs. Our free, new POI Loader software lets you personalize your GPS, giving you the freedom and flexibility to literally go anywhere.