Wednesday, August 24, 2005

Standing on the ledge - to Office or not to Office

As you are moving from Windows to Linux on the desktop, you will have to cross the most difficult bridges of all: Office applications. Or productivity tools. In short you have to ask yourself, "To MSOffice or not to MSOffice, that is the question." It is entirely possible to keep MSOffice and use Linux, despite what purists say. I, for one, is still married to MSOffice, still and I'll explain why at the end.
Coming back to the question at hand, your options are :
  1. OpenOffice - an alternative application suite. It can read and save files into MSOffice file formats. The best part about it is that it also runs on Windows. So as you are moving people across, you can have them using OpenOffice on Windows and later on Linux. However, this endeavor is so large, it in itself is as a daunting a task as moving people into Linux. The true reason you should have people moving across is that most people do not use all of MSOffices features all the time. They simple can't. If they do clerical work, moving across is a cinch. But if they are advanced users, it will be as painful as a root canal minus the pain killers. Heck, I have some problems with alignment when moving from OpenOffice in Win to OpenOffice in Linux. If you share files out side the company, it then gets really troublesome.
  2. Cross Over office - A commercial tool that allows you to install and use MSOffice (plus some other Windows applications) on Linux. Like driving on the other lane when the road is empty. It simply works. Well, almost all. You see, what they didn't tell you is that there is a reason why MSOffice is on Windows only. It is just because it uses low-level software calls. I have heard that one of the reason the Windows on Alpha was dropped because it couldn't run MSOffice very well. Some version of Office actually replaced OS files during installation. What other application would do that? So the result is that the major MSOffice applications work fine but some fringe and not-so-fringe applications can be tripped up (e.g. Clipart Manager).
  3. Like above, Office over Wine - Wine, which is not a Windows Emulator, is designed to run Windows applications on Linux by fooling the application into thinking that it is on Windows, but not. In fact, CrossOver Office is partly Wine. So, why use CrossOver when you can get wine for free. Let's just say that I like my hair too much as this age of my life.
So to sum up, there area three questions you need to ask, the acid test:
1. Do you use Macros? Do things pop out and ask you stuff when you open a template or document? If not, then you answer is most likely no.
2. Do you use outlines or the outlining feature in MSWord? If you are asking, "Wha-?", then your answer would be no.
3. Do you have MS Access databases that you use regularly? Thing about conversion is that MSAccess files are not part of the deal.

If you answered yes to any of the above, go Crossover Office. If not, then you are a prime candidate for switching over from MSOffice to OpenOffice. You will save a ton of money later, especially as you grown and add PCs and realize you don't have to pay for another MSOffice license.
Oh, BTW, I don't use Macros but I love the outlining feature so much, it is a deal breaker.

Tuesday, August 23, 2005

Standing on the ledge - Part 1

If you are thinking about making the transition from whatever to Linux, read on.

A lot of people asked me two questions since I made the switch, 'Is it hard?' and 'Can you do everything you want to in Windows?'
The answer to the last one is a resounding yes. In fact, after switching from Windows, whenever I have to use a Windows machine, I find it very restrictive and most of my tools are gone. Linux give you so many choices and options, you can't just make up your mind and stick to one set. I find myself switching from KDE to GNOME and back every few months. Without losing access to the core programs I use.
The answer to the first one is 'Hell, yes. It was very hard.' But I was on my own and in retrospect, could have avoided a lot of heartache if there were someone to tell me what to do or what to avoid. This series is dedicated to those thinking about making the switch or the jump. Something to think about and do before making the leap. Most of it will sound like me talking to you as a network administrator but even if you are switching alone, everything still applies. Think of yourself as your own administrator.

First, Why are you making the jump or at least thinking about it. The reasons have to be sound because you have to do it for the right reasons. If not, you will be disappointed or you will find it not suited for you and you switch back. Time lost once will never be regained.
If you are switching for idealogical reasons (i.e. not wanting to pay Microsoft Tax), then you are a Believer. Nothing I say will discourage you and all pain is worth suffering. Just make sure other people involved believe it too. Note to Believer: All proponents of idealogies (prophets, do-gooders) face lynch mobs. Sort of a Darwinian thing about idealogies, those that survive lynch mobs are most likely superior.
Remember, it has to get worse before it gets better.

If you are thinking about saving costs, I will tell you right now it will be some time before you see significant cost savings. Unless, of course you include licence costs for a large number of people. The is where the most savings will be. But for every cost factor you take away, you will be replacing it with another one. Training or retraining will cost. Reinstallation or upgrades of older PCs will cost. Sure the PCs won't crash as often but people who switch to Linux forget that Linux may not be hard on CPU speed but it does require some amount of memory before things really fly. My suggestion is that hit 256MB as soon as you can. If you are looking at older PCs, 128MB will work. While on this issue, sometimes it's not even the RAM. Getting a new video card with more memory works wonders too. Coming back to cost factors, live with the fact that cost factors are just going to be replaced not eliminated. But if you are smart about it, it just won't cost as much. That is, each cost factor replaced, will likely be less in value.
That said, hunker down for some productivity loss and doubts (or doubting people) nagging you. Remember, it has to get worse before it gets better.

Update: Part 2 and Part 3

Wednesday, August 17, 2005

Buying reality

You reality is your own perception. If it walks like a duck, quacks like a duck then.. you know. But what if all you see are ducks. Do you think you'd know a chicken if it walked by?
There is a point to this. I make a living from computers (big surprise). And I work with a people out from colleges who are making their first career jobs and people whose businesses are starting to break out from the local market. They all need computers and they all want to use the best at the least possible cost. Recommendations are big thing for me and my clients (and lately, even my suppliers) bring in people they know who can use my expertise. I use my own office setup to demonstrate some of the uses you can get from using open source solutions and Linux in particular. The thing I am getting used to is the response, "You can do that with a computer?" or "It can work like that?"
Thats what bothers me. It used to be the whiz bang stuff that gets them, then the free but high quality stuff (Mozilla, Gimp). But now the stuff that draw theses responses are down right trivial.
I pointed out to a potential client that he could set up a print queue and log all print jobs and the information of each job. He looked at me and point out that wasn't everybody just printing directly to the printer. If everyone could see the printer, couldn't they just bypass the queue? I walked to the printer and turned off SMB-based sharing via the control panel. The printer disappered from the network but I demonstrated that I could still print via the queue. He was bowled over. Seems that he has a problem with his workers printing on the expensive color laser printer after hours. At first he would disconnect the printer at about 5 but stopped that after salespeople complained of not being able to get color brochures printed for clients after hours. The growth in his company was directly the result of his sales staff being able to come in at odd hours and do work, so he couldn't deny their request. The notion of a print queue and the ability to turn off access to the printer (selectively by network protocol) never crossed his mind.
Do you see that? The solution had little to do with open source or Linux or anything new for that matter. Print queues have been around for ages. But what surprised me more was that when I mentioned this to a younger co-worker, he said that compared to what he saw at college (local community college), the stuff at the office was downright revolutionary. The free-flow mess of network and services on Windows networks at college was a stark contrast to the controlled environment at the office where everything just worked or that if it failed something else was waiting to back that up.
Which brings me back to the ducks. One of the problems with computing right now is the dominance of Windows and MS. All people see are Windows. Their sheer ubiquity has blinded a lot of people. They simply don't know any other way. And it if means having to live with unoptimised working environments that often is not productive, so be it. A recent report said that Gartner research says that desktop Linux won't be taking off (I have issues with that but to a certain degree agree that Linux has problems on office desktops). Maybe the case with that is that people don't know better. Maybe it's time to look over and think, "Fried chicked sounds good."

Thursday, July 21, 2005

Linux Mobile: Running wirelessly

I got the Mandrake-powered notebook to work over the wireless network with AP at home. But no luck at office. This vexed me more than normal because I had a hand in setting up the office wireless AP and was pretty sure of what the settings were. Normally when you build two things that are like, you'd get better the second time, not worse. But since the first time worked flawlessly, I learned nothing from the experience. That is why I don't see problems as obstacles. They are opportunities to learn.
Basically my problem boiled down to the fact my notebook's wireless card can't connect to the office AP using WEP encryption. Without it, no problem. But the kicker was that I was using WEP at home AP and it worked out-of-the-box. No option I tried could get it done. This is the time to take a step back. The thing to do at a time like this is to not go through the things I got wrong. But rather the things I thought I got right. What was it that I did differently at the office than at home?
And there the solution was. The wireless card needed the WEP key to be in hex. It would not use the ASCII key. That I found that out at home but it was fixed easily because the home AP showed the ASCII key I entered as hex and vice versa when I switched between ASCII and hex input. The office AP didn't have that feature. You either entered it in ASCII or Hex and switching between both just blanks out any key previously entered. So I used an ASCII to hex converter at the command line. Apparently these things are case-sensitive. No wonder it wouldn't work. It was just the wrong key! I found that out because I finally decided to change the WEP key at the office AP. I just entered it in hex and did the same on the notebook. It worked straight away. I didn't do this earlier because other people were also using the AP. After changing back the key and more fiddling around I learned that the office AP apparently automatically makes the ASCII key entered into UPPER CASE before converting it to hex value and then using it . The AP vendor committed one of Great Sins of Equipment Manufacturers: Not telling the user of the assumption you made for them (and in a way, about them). I was thankful though they didn't do something boneheaded like configuring the AP to use two keys for every ASCII key entered (that is convert the ASCII key into both upper and lower case and converting each into hex and using them both). It would have made my setup work immediately but it would be Not The Right Way.

Linux Mobile: An out-of-the-box experience

Recap on the installation
  • LAN network card: ok. Didn't expect any problems but who knows.
  • Graphics display = Vesa only. It bombed using the i910 drivers for XFree. I heard Intel is posting it's driver. Will try that. But not really bad Vesa.
  • Power Management = ACPI ok, APIC crashes the system for some reason.
I mucked up the NTFS XP partition. It went from ok to just gone. I have backup for the XP but not since the major updates. I think the partition was corrupted as I trying to resize the ext partitions. However, using a Resuce CD, I managed to repair it using parted. Or Parted managed to repair it. All I did was made sure it showed up and pressed a few key. It is amazing what is autoamted nowadays. My wireless network card loaded ok but it still required the ipw2200 firmware package. It only detected it after a urpmi makeover. I made sure all of the other repositiories were visible before I tried again. After the nail biting wait for the dependancy resolution and downloading and installing, it worked like a charm.

Linux Mobile: Introduction

Finally, I got a new notebook at work. I was a bit apprehensive about what distro to put. SuSe Pro is a big pull. Ubuntu even crossed my mind. But realising that this was a notebook that would not have all the pieces working with Linux, I needed most of my experience to make it up and running. And an unfamiliar distribution would make me grope in the dark. Mandrake/Mandriva it was.
In the next course of blogs, I try to document as much as possible what I did right and what I did wrong with the hope it'll help someone out there.
First things first, the notebook is a MSI Megabook, rebranded as a local brand here. Centrino chips, 512MB RAM, DVD-CDRW, 40GB HDD, 3 USB, 1 Firewire, 1 VGA, 1 PCMCIA with integrated card reader (Ricoh), built in Wifi, network and modem. All in a nice 1.8 kg package costing slightly under 1k dollars.
The good news is that I am writing this on the notebook

Friday, July 08, 2005

Waiting for nothing

I looking at the Mandriva CD that came with Linux Format, the best Linux magazine for the less uppity or the pocket-protector-less. I wonder when I will get to install it. To be truthful, I had the downloaded CDs longer but if you have read the past few posts, upgrades are something I dread.
It's that I also use the PC so much, I am aprehensive of all the lost time to install most of what I had already installed on the upgraded mahine.

Shouting obscenities and Error Messages

Mandriva is greatly enhanced by urmpi and more so when combined with the repositories listed on EasyUrpmi. If you haven't got plf repositories listed, you are definitely missing a lot. A side feature of using EasyUrpmi is that you can set the main repository, thereby eliminating the need to have the CDs or DVD around when ever you install stuff. As a desktop OS, you will install a lot of stuff.
Suddenly, things got slower during installs, often failing. There are no clues other than messages saying that some packages cannot be installed due to missing keys and that some packages are corrupted. Checked the name of the package. Correct. Checked rpm.pbone. Correct. Tried restoring missing keys. Trouble is, they weren't missing to begin with.
And it goes on for some time. Sometimes I get to install. Other times I don't. So I tried updating the repository indexes. Some are successful, other times, it just hangs, requiring a kill.
Fortunately, I have another desktop at home. Faster. I am the only one using the Internet connection. Everything I tried installing, worked. Even stuff that didn't work.. at work. Then I realised that the PC at work kept hanging when I tried updating the indexes. So I do what I normally do when trying to figure stuff out. I break it down.
Tried a few indexes at first. But ultimately it all worked. All indexes from repositories that have their contents updated, that is. So I tried updating the index from the repository that is not supposed to change, main. It failed spectacularly. So that was the problem. The repository was no longer where it was. A quick visit to EasyUrpmi fixed that. Deleted the main repository, found another one and added it back with the command generated by EasyUrpmi.
Which says a lot about error messages. Error messages are a must. It tells us when things are wrong. More importantly, it tells us what is wrong so that it can be fixed. When errors messages don't tell me what it wrong, it might as well be shouting obscenities alone.

Tuesday, June 28, 2005

Do not be afraid

I don't understand people fearing choice. Maybe it is the fear to choose. Or at least the fear of being wrong. Is that our problem. Is that why Linux on the desktop is slow starting, because the technical people a fearful? Fear of call center-overload?

I carry Knoppix around in my bag. Recently, I enquired around for a new laptop. I fell in love with these low-cost 12" monitor basic laptops. But the smaller it is, the more customised components it'll have. Which is bad news for Linux. But I wasn't deterred. I asked the sales guy about it and popped in the Knoppix CD. He was making a comment on how RedHat still requires command-line installation. But when Knoppix came on, he was blown away. So much so, he asked for a copy of the CD to kick around. I was tempted in giving away my outdated version but I still had a few shops to go to and their laptops to test. So I waited while he copied my Knoppix 3.7.
The moral of the story is always keep 2 copies of Knoppix around.

Friday, May 27, 2005

Moving On Part 2

The last time, I was apprehensive about upgrading. In the past when I've done it, there were several things I didn't like happen.

1. Old settings were carried over literally. There was no way to use the new settings if you use the previous home directories. This happened during an upgrade. I am quit surprised that the newer version of the software, especially for something as important as GNOME, did not notice that the config file was from a previous version and at least offered to replace it with a new version. I understand the concern to keep all the user's settings but should there be an updater program for that.
2. Certain software that were there previously, were not replaced but simply disappeared. This happens especially for software that is not in the vogue or part of the core distribution. I understand that leaving the program there is risking a certain incompatibility but at least if it was there before and there is no replacement during the upgrade, please offer me to leave it there. It happened to Nagios, a network monitoring software I use. It just disappeared. I had to reinstall and reconfigure it every time I upgraded. It is only on the contrib section.

An upgrade is an upgrade, not re-installation and certainly not a fresh installation. Distribution packagers should respect that or loose their user base.

Saturday, April 30, 2005

Surviving Mandrake (and NVidia Drivers)

One of the most easiest thing to do on Mandrake is updates. Even kernel updates. But as my previous experience has shown kernel updates with Nvidia drivers are not to be taken lightly. So the first step is to plan.
Do not enter a room without knowing how to get out.

Or something like that.. DeNiro's character in the movie Ronin said at the beginning of the movie. I have to do something similar. In order to compile Nvidia drivers, you need the kernel source. So, if you update the kernel, you need the related kernel-source at the same time. Problem is, if you update with urpmi or Mandrake update, you lose the kernel source.
What we want to avoid.
We update the kernel and the kernel source. Then either we fail to complie the nvidia driver or the nvidia driver fails to work. Need to undo. Mandrake has kept the previous version of the kernel but not the source. If you failed to complie the nvidia driver, then the old one is probably there. But if the driver was a dud, you have to recompile. If you don't have the previous version of the kernel source, you are screwed because most sites don't keep older versions of the kernel source. Or you can use the non-Nvidia nvidia drivers (just change the XF86Config or equivalent file). Yep, drive your Ferrari only in the first gear.
Moral of story. Download the kernel-source rpm and then install it by hand after you have updated the kernel but before you recompile the Nvidia driver.
Before I get feedbacks on "how stupid it is for the need to recompile in this day and age" or "Run for the hills! Recompilin's here!", let me point out that the Nvidia driver recompile process is menu driven. Push button.
I am so anxious I haven't updated my kernel for so long. But I need to. Sigh. Wish me luck.

Tuesday, April 05, 2005

Surviving Mandrake 2 - Post-installation blues

I have a lot to bitch about: An OpenOffice bug keeps me from saving my files correctly. Firefox still not 1.0 in repositories. And from the comments in the forums, it won't be for sometime. I downloaded the latest version and it had me install itself within the user's directories structure. All the shortcuts would use to old version still but instead created one on the desktop and used that instead.

Wednesday, March 30, 2005

Surviving Mandrake 1 - After the install..

After running out of excuses, I upgraded my home PC to Mandrake 10.1. I took advantage of the fact that my memory burnt out and needed to be replaced. I took out the 80GB hard disk that was gathering dust and plugged it in. I had bought it a couple of weeks ago with the intention of using it is as an excuse to upgrade. Well, good intentions don't always pan out. It wasn't that I was afraid of Mandrake 10.1. I have been using it on the office PC for some time now and have worked out most of the kinks out. But at home, it had grown so comfortable that I felt no great need to move up. It was doing what I wanted it to do. And it was doing it well. The agony of using Linux. Once things work, they just keep working.
But what can you do? You have to move up. For whatever reason. Mine was that eventually most of the new stuff will require libraries no longer compiled for Mandrake 10. Ok, not entirely true. I still could hunt down those libraries but Mandrake Update has been spoilling me silly. If they don't have it, I usualy don't get it. Bizzarely, this could be the great conundrums of Linux on the desktop. While shelf life or stability or longevity or whatever it is that makes it great for building systems and locking them down for use in the server room is great for the server room, it isn't so for the desktop. Desktop or end-user software moves much faster and change more often on the desktop. So the distributions have to keep up.
But can it do so at the expense of the stability needed in the server rooms?

Now there is an argument for desktop-centric distributions. New or stable? Do you want to drive the latest or the one with the best mileage? Or do you have both?

Back to the story.

The installation was Mandrake-standard: quick, simple and clean. At the end of 20 minutes, I had a newly installed Mandrake 10.1 system, all ready to go and be productive. But of course, it was still a long way to. A couple of pointers.
  • Don't worry if the system doesn't detect the Internet during installation. It has never done that for my broadband setup. And I have plain vanilla ADSL (PPPoE to be exact). Just configure it and it'll get it after a reboot.
  • Long ago, actually a few distributions ago, I would restart the system immediatly after it started Linux after the installation. Just to make sure everything will come or or come up just like after a normal startup. Nowadays, it no longer is needed. When Mandrake comes up after installation, it really starts afresh, not just continuing from the installation session
  • If you do have the time, when partitioning the hard disk, go into expert mode and have it run the extended test on the hard disk. It checks the hard disk thouroughly for bad sectors and the like. You'd think that we'd have left that behind by now. It is optional but if you have the time, might as well find the errors now rather than finding them while you are working. Linux does a fairly good job of this but on the off chance that it could be fatal, it doesn't hurt. Especially if you are not the type that makes back ups.
  • Don't run update immediately during installation. Run after you boot up the first time, once it has run all those post-installation and run-once-on-first-time scripts. Those scripts might not get updated during the the update or will fail to work with the updated packages. Besides, most of the time, you can't get the Internet up anyway.
Mandrake has this policy of including only things that won't get them sued on their respositories. So first stop is EasyUrpmi. Add the plf repositories (both of them) and the contrib repository. I like not swapping CDs from the dive so I add the main repository. Then go to System --> Configuration --> Packaging --> Software Media Manager and uncheck the Installation CDs to avoid swapping them in when you need packages from the CD. From now on, it'll just download them.

The trick to MandrakeUpdate is to find a site that not only has a fast line but not that many users. It is the equivalent of gazing into a crystal ball. Short of those you who actually have the statistics for the usage of these sites and their bandwidth usage, it is trial and error. If the site you choose is too slow, just go back to the Software Media Manage and remove the update_souce repository. The next time you start MandrakeUpdate it'll give a list and you can choose another one.

Other stuff you have to install.
  • Flash player - because the internet would be less pretty without it. Get here.
  • Java - It's getting prettier and more useful. The best part is that developers are finally understanding that you can use it just in the background. Get it here.
  • mplayer - because kaffeine is great but the audio it a bit too soft. Get it on plf.
  • decss - hmmm? like above
Later

Friday, January 14, 2005

Still Alive

Just in case anyone is reading this, just dropping a note to say I am still here and back from the holiday season. I have some things I wrote but they never reached a point where I'd want to post them. So, if you like my blog, thanks and I'll be starting back up soon.

Recently Popular