Archive for the 'Linux/FOSS' Category

KVM is awesome

Well I am sitting here on Thanksgiving with not much to do because Paige is hogging the PS3 playing Resonance of Fate. So I figured, why not check out KVM, I did download the Linux Mint 12 rc cd image to install on Paige’s Pangolin.

After loading the kvm modules and creating an image use qemu-img I am now most of the way through the install process and I must say, KVM is sweet! It seems much lighter than VirtualBox and I love how it is geared towards the command line.

I plan on testing this out for other things.

Adventures with Unity and Gnome-Shell

Hooray! Gnome3 is in the standard Arch repositories! Hooray! I install it! Boo! It says my grahpics card is not capable of runnin Gnome-Shell so it drops into fallback mode. What the heck?

I had the same problem with Unity on my Ubuntu system at work. Now granted both of these machines are at least four years old and running an fairly run of the mill Nvidia chipset for their time. The laptop has an Nvidia GeForce Go 7300 and the workstation at work is sporting a GeForce 5300. Now the issue with Ubuntu is that none of the Nvidia drivers will work with the card as it has been deprecated by Nvidia. I did not think the same thing would be an issue with the System76 I have, but the odd thing is that the Nvidia drivers work just fine and I do have 3d acceleration. So why won’t Gnome3 run?

I even went as far as to use the Nouvueau driver and that did not improve things at all. I’m stuck with fall back and I am stuck with Gnome2 when it comes to Unity at work. But you know what? That is fine by me because I use Fluxbox anyway so bully!

Still, this brings up an interesting problem with regards to both Unity and Gnome Shell being so dependent on 3d Acceleration. Having to deal with Nvidia’s closed driver leaves a good portion of users out in the cold. Do ATI cards fare any better? I’ve only heard bad things regarding that hardware for some time now. How about Intel? That seems to be the way to go. But alas, there is no way I can swap out the chipset in a laptop. And the cost of an AGP card that would work in my workstation at work far exceeds the price I am willing to pay just to give Unity a spin

Nope, looks like I am relegated to Fluxbox for the time being and that is fine by me.

Open Standards What A Corrupted Term

After episode 142 of the Linux Action Show where the hosts exclaimed strongly against Google dropping h264 in favor of WebM largely because WebM is an “Open Standard” I was prompted to discuss this further in their forums and came to the the realization that I may have been completely misled as to what the term Open Standard truly means.

I subscribed to the definition that most fits Bruce Peren’s concept of Open Standard defining it, roughly, as a standard that is publicly available and can be implemented without restriction. Now he goes into more detail with six tenants and these are further expanded upon by a wonderful paper titled The Meaning of Open Standards.

Review the Wikipedia definition of Open Standard and it becomes apparent that there is no single consensus on what an Open Standard is. Most subscribe to something akin to Peren’s Six principles but what about ITU-T? Their definition states that an Open Standard is a standard that is collaboratively developed, balanced, publicly available and implementable via royalty free licenses or on reasonable terms and conditions. The last point contrasts Peren’s Point 3 – Royalty Free implementation and most other defintions. So which definition is right? They cannot all be? Yet it would appear that OpenStandards.net would have us believe they can all exist under the same umbrella.

On the Jupitercolony forums a contributer, ShawJGroff, replied to my post on this topic with the following statement:

“Open standard” describes the standard as an entity by itself: it does not describe the thing the standard is defining.

Now this is not a definition I have ever heard put forward for the term Open Standard. So if I re-iterate what my post was about: “Is h264 truly an Open Standard.” By his definition what is meant by saying h264 is an Open Standard is that the published standard for h264 is openly available to all and the term Open Standard in no way should be applied to the implementation of the technology, h264, detailed in the standard.

This is the the single most salient point I think that all definitions put forth for Open Standard agree upon. That the standard is open to all to read. There is no mention of implementation, privileges or restrictions put forth in this definition. So is this the true historical meaning of the term Open Standard? Has the term Open Standard become polluted over time particularly by members of the Free and Open Source movement to apply it more towards the tenants of Free and Open Software?

When Steve Jobs stands up and says h264 is an Open Standard are we bucking up against sociological, political and generational corruption of what he truly means? Is he saying that and Open Standard refers to the availability of the standard itself and has nothing to do with the implementation, restrictions or privileges defined by the standard and licenses applied to the standard? Is there a purposeful play on words here to describe a technology like h264 as an Open Standard thus playing to the popular “buzzword” term of the day ascribing Open Standard to be akin to Peren’s definition when in truth it is merely the publication of the h264 standard itself and nothing more?

Has the term Open Standard become too polluted now? I’d be interested to hear other people’s opinion.

My Laptop is Mine Again!

Whoohoo! Paige’s new netbook came today – the System76 Starling. She is very happy, that she is. We got it all set up for here and transferred over her files from my System76 and sent her on her way. The Starling is running Ubuntu 10.06 netbook remix edition and she was not liking the interface so we switched her back to standard gnome and she is configuring away out there.

The Starling is a nice little system. I am not too keen on the track pad but the rest of it has me envious. If it were my system I suspect I would become accustomed to the pad, but never-the-less; it’s all hers.\

We spent the New Years holiday down with my Mother-in-Law in Chester, South Carolina. She runs a bed and breakfast out in the middle of no-where so cell phone’s were not working. On top of that the server seemed to drop down again the day after we left and did not come up. Long story short, the server hiccuped by my scripts caught it and for some reason, while the server was fine and running the isp was not reconnecting. I should have called them and will in the future. But….

My M-I-L had a system she never used anymore with a hard drive that had gone south. She was going to get rid of it so I brought it home, slapped in an ancient ide drive (this thing has sata and it pains me, that it does), installed Arch and now I have a back door into my network should the server go down. So if the server goes and my back door is not accessible it is time to call the ISP (Cox, who has been very good to me).

I had to work with the technicians today to get the IP working. I had done this a few months ago on my other server and it worked for a bit but then stopped. I chalked it up to a problem with my routing and since things were running very well for a while did not get around to fixing the problem. Well lo and behold here we are with a new machine and the same issue. I had to work with the Cox technicians to diagnose this and ultimately we could not figure out what the problem was.

The last thing we tried was plugging the modem right into the nic and that worked. Plugged the modem back into the switch and the nic into the switch and all was fine. It survived a reboot too. For some reason before doing this the modem was not even picking up the node connected to it. Weird. They are going to send out a new modem.

Well I am off now to bigger and better techie things. 2011 should be a lot more exciting and geeky for me.

My VM Server Is Giving Me the Blues – Running VMRC Outside Browser

For some time now my virtual server has been going up and done with some frequency but I cannot find anything other than a cryptic error message in the vmware logs that states I should send it to vmware for review if I have a support contract which I don’t. It only seems to affect my main server, not the asterisk or streaming workstation images. So I suspect there is a problem in the image itself, a bad block or something.

Saturday was the last straw so I decided to move the server images off the main disk onto a second disk as I heard this will also improve vmware performance. Having the hosts images on a different disk than the server seems to be the best idea. I also too the time to clean out the dust balls in there. Boy was it a mess in the vents. This cleared out any disk errors related to overheating I believe. And while it seemed to perform a lot better, the main server image was still going up and down.

For some time now Vmware web access has all but stopped working with Firefox 3.0.x. I wanted this mainly for remote console but I cannot even get in to the damn thing with firefox anymore without borking the management of the server side. It baffles me. Sometimes Chromium or Konqueror works but I cannot run the remote console.

I found some references on the web on how to run remote console outside the browser: http://www.geeklab.info/2010/02/running-vmware-remote-console-outside-the-browser/

I found the file I was looking for at: /usr/lib/vmware/webAcces/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin

I unzipped it on my workstation and fired it up with this command line:

./vmware-vmrc -h myipaddy:8333 and it worked like a charm. I was able to get in there to my main workstation, boot into single user mode and check the partitions. I hope this rectifies my problems. I think it may. I noticed the first time I ran fsck on my one partition it dumped the host instance immediately. Subsequent runs did not produce the same effect. We shall see (I keep my fingers crossed).

Kudos HP OJ 6000 Wireless – Shame on you HP

I am in no way a big fan of ink jet printers. I think they are cheap and the ink costs way to much. Not only that, but the ink invariably mucks up the print head mechanism rending the printer a paper weight over time. This was a huge problem with Epson printers (I so hated trying to clean those damn things, took hours and wasted so much ink) but not so much HP’s who put the print head mechanism on the cartridge. Still, ink jets are a far cry from laser printers. I have one of those, a trusty HP LJ 4p which has served me well since I picked it up used over 7 years ago; and it was in service for many more before that. This thing has chugged along with the same toner cart that came with it and I have a spare. What I don’t have is a parallel port on any system since my workstation took a dump. Thus it serves me no good right now.

Well this does not make the wife and kids happy that there is no printer to use, especially for homework assignments so it was with an upturned nose I met my wife’s suggestion that we pick up a cheap printer on Black Friday. She had seen a wireless HP OJ 6000 in some add for $60, about half the price. I was skeptical, said sure, and left it at that. So Friday rolled around and she was like let’s go. When I got there I read the box and there was no indication that it was compatible with Linux. Only Windows and OS X on the box, but this is to be expected. So I did a quick search on the web and found a compatibility chart on HP’s support site listing all the distros with support. Of course Ubuntu was at the top of the list stating it could print via usb and network but that setup of the printer, especially for network may not work at all. All the other distros either had printing support or no support listed. Or course my distro of choice Arch was not listed at all. Still, I knew, that if the printer worked with Ubuntu, Fedora, Slackware, and all those other distros listed it sure as heck was going to work with any other distro released at or around the same period as the distro versions compatible. I know this, but perhaps the new Linux user would. Never-the-less, I decided to go with it. I was not overly concerned about getting it to print wirelessly or through the network as I could just pop it on my System76 and share it out through cups.

Well I finally got around to setting this thing up today and man, was there a lot to put together physically. Getting all the tape and plastic off then putting in the 4 different ink cartridges took a hell of a lot longer to do then getting this working with Linux.

I fired up my web browser, typed in localhost:631 and set about working magic with the wonderful program CUPS. I selected to add a new printer and sure enough, a few seconds later it detected the HP which I had plugged in to the usb port. But wait, it was not the usb it detected, it was the newtork printer. Whoa! I could see the IP address which meant maybe there was a web interface. I popped the IP into Chromium and sure enough web administration tools at my fingertips. In a few minutes I had it set up with a static IP through the network and the wireless perfectly configured. Went back to CUPS, set it all up there and was printing out a test page in less than 2 minutes all totaled.

I went to my Meso, fired up the cups interface and was completely configured in less than 60 seconds.

HP what the hell? Setting this printer up under Linux was a hell of a lot easier than any of the directions listed in the manual that came with it and I did not need to install any extra software. None at all! No crapware mucking up my system. I want to print and that is it. I don’t need to monitor every aspect of the printer through some software system. No, I can just go to the web page of the printer and get all the info I need. So why is this not in the manual at all? Why is this hidden from the average user?

More importantly, why is this not listed anywhere on the HP site with regards to Linux? This printer works 100% with Linux and sets up so easily. I practically had to do nothing! Nothing! It’s a shame, that it is, that such ease of use is hidden from us.

Lucid is Nice

Well, it’s only a month away now, or there abouts so I figured it was time to upgrade to Lucid. Typical of my previous experiences the upgrade was not that painful. In fact, aside from my trackpad, it was flawless. After being up and running all I had to do was alter this line in my /etc/modprobe.d/options files from

options psmouse proto=imps

to

options psmouse proto=exps*

and bam I was back in business.

I like the gnome theme in Lucid and gnome seemed faster than I’ve ever experienced it before. But, I’m largely a fluxbox guy so that is where I am now. Upgrades to Thunderbird are great, I really like version 3.0. And now that Lightning is working how could it get any better? Who knows? I’m sure the will find a way.

Well I am now considering the jump on my workstation at work. I look forward to the adventure and hope, for works sake, there is little to be done.

Lucid Lynx gets two thumbs up from me! Believe it!

Gnome Keyboard Shortcuts – Mint in Particular

Last night Linc posed a question on the show about how to get his Super (“Windows”) Key to fire up a terminal when he pressed it. He had done this easily in other distros but was having a problem with Mint 8. No matter what he tried through the standard tools it just was not working. Now I am not sure what all standard tools he tried, but I have run into this problem before. I’m not a big Gnome user but I have had to solve similar issues via the gconf-editor tool and here is how I did it.

First I made sure I knew the name of the key by using xev. Sure enough, in Mint as it is in just about every other distro, the key name is Super_L. Sometimes, it may be Mod4.

Second, I fired up gconf-editor and under apps found metacity. That is the “window manager” for gnome (or is it shell now? I suspect that will be replaced soon by gnome-shell). I opened that up and went to keybinding_commands. Since Linc wanted to run a terminal I figured we would have to set a terminal command to one of the run_commands. So for run_command_1 we set gnome-terminal.

Third, I switched from the keybinding_commands to global_keybindings which is right above the former and found the key assignment for run_command_1. The values I set for that was Super_L not between < and > like you would do for or .

That was it, now Super_L was mapped to run gnome-terminal.

Is there an easier way to do this? I don’t know. Tell us, because Linc could not find it.

Week .75 with the G1

So this wonderful listener sends me this G1 he no longer uses which is hands down friggin awesome. Thanks JC. I popped my sim card in and I’m smart phoning away. This thing is great. So I see a lot of people posting their favorite apps and figured I would drop some of mine and also what did not work too well for me.

For starters, MythMote is friggin awesome. Not only to be able to control my mythbox from anywhere in the house; but to mess with the kids. Hearing them shout “Daddy! Something is wrong with the tv again!” Is priceless. Worth every penny of free I spent. Setup on the mythtv end was a snap. Thanks for the hints Pat!

Sipdroid, a softphone, connected without a problem to the Asterisk box allowing me to make calls both to the meetme room and out through Broadvoice. Setup again was pretty straight forward and the first call I made to the wife great.

I wanted a running/walking tracker so I pulled two down. GPS Walk/Run Tracker and Run GPS Trainer lite. I took the GPS Walk/Run Tracker for a spin today on a run. It showed an analog speedometer indicating whether you were walking, running or cheating and a number for how fast you were going. When finished it told me the stats but I don’t think they were accurate. For starters it told me I walked for 20 minutes when I know it was over 25. It also said I did 0.803 miles when I know for a fact a quarter of that was a .5 mile walk. So I question the accuracy. Next time I will try the Run GPS Trainer lite. I fired that up just to take a look and I really liked what I saw. It had a google map at the top and a lot of information on the screen for tracking.

Game-wise I have found Robo Defense and Dungeon Wonder very fun. I recommend trying out both.

Finally I will make mention of Phone Flix. Now I am not interested in watching movies from the phone but I am excited that I can manage my netflix queue whenever I want. This way I don’t have to worry about trying to remember this awesome movie I just have to see.

There are many more apps tickling my fancy but that is enough for now.

8yr Old Destroys Gnome, Mint to the Rescue

Last week my oldest, Paige (11), somehow tanked her Koala system to the point that it would not even boot into stage1 GRUB. I was perplexed at what she had done but figured, all right, let’s wipe and re-install. I fired up my System76, dropped in a flash card and wrote Koala netbook remix to the flash and off I went; for about 30 minutes. After repeated reboots and two more unetbootin creations, nothing I would do allowed me to boot the install.

I had a copy of the latest Mint iso on the system having ventured the idea of installing that on Paige’s eeePC last time and figured this time I would give it a go. A few minutes later I was in installing Mint and boy was she happy afterwards. She claimed this was the best distro she has used yet.

The wife’ gnome desktop borked somehow, I suspect Avery’s little fingers somehow did something; but maybe not. This is the second time something went squirrely after she was started using the system pretty heavily. I don’t think it was the configuration or anything because even a new profile would not work. Thus, I settled for installing Mint there.

The wife seems pretty happy so far. While Mint is not light years different from Ubuntu standard, it is a very polished interface and comes with a fantastic set of default packages requiring almost no additional work on my part: And that is a great thing.

Me, I am going to stick with Debian on the Meso, Arch on the Desktop, and Ubuntu on my laptop and work workstation with slackware and centos on the servers. But it is nice to have a varied collection of distros in constant use.

Next Page »