Accessing Windows shares from Linux

More experiments on the Linux front.  Today I thought I’d figure out why I can’t access my Windows shares from my SuSE 9.1 system.  Konqueror, the KDE file manager, dies unexpectedly when I attempt to access one of the shares.  I managed to get Mandrake 9.2 running on my other lab computer here, and am able to access the shares from Konqueror without trouble.  So, there’s something wrong with the SuSE configuration.  Figuring I might as well start at the beginning, I tracked down the Samba documentation and learned how to use it from the command line.  With the command:

smbclient //server/share -Userver/jmischel

I was able to connect to the Windows share from my SuSE system.  I can get a directory listing and read the files.  But even after connecting with smbclient, I’m unable to connect using Konqueror.  So that means there’s a problem with the Konqueror configuration, or with the interface between Konqueror and Samba.  I still haven’t tracked that one down.

Revising the Linux kernel submission process

Linus Torvalds and kernel maintainer Andrew Morton have adopted a revised process for Linux kernel submissions. The revised process requires that developers who submit contributions have to acknowledge their right to submit the code: in effect certifying that the code is their own work or otherwise free of legal entanglements. This acknowledgement, called the Developer’s Certificate of Origin (DCO), also ensures that developers get their due credit. See the press release for full information.

The Slashdot comments on this issue are mixed, with some saying that it’s a Good Thing, and others forecasting doom, gloom, and Linux kernel development being overwhelmed with bureaucratic process to the detriment of innovation. Conspiracy theories include “big corporations” wanting an audit trail so that they have somebody to sue when something goes wrong, malicious agents of Linux detractors “sneaking” copyrighted code into the kernel, and all manner of other nefarious plots. Seems to me that the kernel and the rest of the open source world would be better off if these people expended their creativity and time on software development rather than on thinking up new and entirely implausible ways that others could hijack or derail kernel development.

The discussion of legal liability is especially humorous. The group is about evenly divided between those who say that the GPL protects them from being sued for liability, and those who say that the GPL’s limitation of liability clauses are not recognized in some localities. What’s laughable is that most of the people worrying about this have absolutely no grounds to fear being sued, simply because they don’t have enough money to make it worthwhile. If something goes wrong and a lawsuit is filed, the lawyers will go after the money, wherever it is, not some poor slob who submitted a kernel patch. Oh, that person might be named in the suit, but the lawyers aren’t going to hit him too hard. What’s the point of trying to get a million dollar judgement from somebody who makes $50,000 per year? On the other hand, if the developer in question has money, it’s doubtful that the GPL will protect him when the big gun lawyers come calling.

Limitation of liability clauses in voluntary contracts like the GPL seem intended to deter small claims that would cost more in legal fees than one would be likely to obtain in a settlement. They’re like unlocked gates that deter honest people from walking into somebody’s back yard. When claims move up into the nosebleed multi-million dollar range, the rules change and the lawyers start mentioning “malicious intent,” “willful negligence,” and other things that render liability limitation useless. The simple fact is that if you publish any code, you’re opening yourself up to liability claims if somebody experiences problems with it. That’s the way the legal system works. Deal with it or keep your code to yourself.

I probably should stop reading comments on Slashdot.

Trying Linux once again

I’m back to torturing Linux again, this time in a real effort to move my personal email, writing, and day-to-day work from Windows. I’ve installed SuSE 9.1 Professional on my 1.2 GHz AMD machine and am slowly getting it configured. I’m a little disappointed so far by the default install, and have been adding packages as I find that I need them. I was surprised that the default installation doesn’t include the Samba client so that I can copy files from my Windows machine. Even after installing Samba I’m not able to access my Windows shares, and the error message I get is very cryptic: “client process died unexpectedly.” SuSE’s support Web site hasn’t been very helpful with this one. I find it strange that I was able to get Samba working without trouble in SuSE 7.0 and 8.0, but am having all this trouble with the newer version. The Windows computer hasn’t changed–it’s still Windows 2000 and I know that the shares work as I’m able to access them from other Windows machines and from Samba running on a Mandrake install.

I’m a little confused by the problems that Fedora is having with my video hardware (see my March 16 entry for full information). According to this bug report the problem lies in the S3 video driver and the workaround is to use the VESA driver, although that’s not an optimum solution. The RedHat team kicks the problem back to the XFree86 team. All well and good, I guess, for free software, but I’d be pretty upset if I paid for the software and it didn’t work with such common hardware. It’s still a mystery to me why Mandrake and SuSE work but Fedora doesn’t. Perhaps the working ones have decided to use the VESA driver by default because the S3 driver is broken. I guess I should look into that.

Of all the distributions I’ve used lately I’m most impressed with Mandrake’s install, but even that one has some odd problems. I installed it on an older machine the other day. It correctly identified my video hardware, but then configured XFree86 to use a video mode that the card doesn’t support. As a result, X fails to start and reports that the video mode isn’t supported. It seems to me that the installation program should be able to determine the valid video modes and act accordingly. Very odd.

I’ve settled on SuSE 9.1 Professional for my production machine and will continue configuring it to meet my needs. I have a lab machine that I’ll be using to evaluate other distributions and perform some experiments. I’ll keep you posted here.

Red Hat’s Fedora versus my video card

I’ve not had much luck with Linux systems lately.  The Mandrake install on my lab machine seems to be working well, but I’ve been unable to install Red Hat 9.0 or the Fedora Linux test that I downloaded.  Both get past the video detection phase and then the screen goes blank.  I’ve tried installing with the “noprobe” and other switches, all to no avail.  Both systems correctly report my video card, and Fedora even gets the monitor right.  I’m not sure what it’s doing (probably starting the XWindow system), but the monitor goes dark and the light blinks like it does if I unplug the video cable.

I know I could install in text mode and manually configure X–I’ve done it before–but I’m trying to install like an average (if there is such a thing) desktop user.  And I think that most users who see the screen go dark one minute into the install process won’t be favorably impressed, nor will they be inclined to install in text mode and go poking around in the X configuration file.  I’m disappointed, because I really want to try out Ximian Desktop, but it doesn’t run on Mandrake.  I guess it’s time to try out Lindows or Xandros.

Come to think of it, I’ve installed both Red Hat 9 and Fedora on my laptop at work (in Virtual PC images), so I guess I could install Ximian there.  But there again I have video problems.  I’m not sure if it’s Virtual PC not quite virtualizing the screen correctly or if it’s X not understanding, but the best resolution I can get is 800×600, and that’s just not enough screen real estate to be productive.

Linux going mainstream?

Slashdot ran a story today about Linux Going Mainstream.  The story links the BBC article Linux steps into the limelight about the growing use of Linux in many different environments.  The Slashdot discussion raises some interesting points, among them the very real possibility that this isn’t necessarily “The Year of the Linux Desktop,” but rather “The Year of Articles About Linux on the Desktop.”  There’s no doubt that Linux has grown into a very useful desktop operating system for some people, but the evidence that it’s being adopted in large numbers is still shaky at best.  I think its use in the mainstream will grow, but not quite as fast as the media is making it sound or its proponents would have us believe.

Linus on desktop Linux

In an interview with LinuxWorld Australia, Linux Torvalds talks a little about his expectations for Linux on the desktop in 2004.  He makes a few points that I think bode well for Linux in the near future:

  • With the release of the 2.6 kernel, Linux has some direct desktop rendering support, which will help stability and performance for desktop systems.
  • Having a major player like IBM behind Linux, even though their focus (right now) is on big iron rather than desktops is a Good Thing.
  • Commercial software support for Linux is increasing, but more in the “software and services” space than in software only.  This isn’t necessarily a bad thing, just quite different from the way that software first appeared for desktop personal computers.

What we don’t know right now is whether there’s a market for proprietary shrink-wrap software on the Linux desktop.  I think there is room for personal finance packages and some vertical market applications, but I’m not expecting a huge surge in the number of successful Linux-focused software companies.

Mandrake Linux 9.2

I installed Mandrake Linux 9.2 on my Shuttle test machine here.  I had originally planned to test Ximian Desktop 2 on it, but when I went to download Ximian I noticed that they don’t support Mandrake.  I’ll need to install Red Hat 9 or SuSE 9.0 in order to put Ximian through its paces.

Mandrake 9.2 really is simple to install.  Easier (and faster) than a Windows install, especially when you consider that once you’re done with the Mandrake install, you have a full office suite (OpenOffice.org) and many other applications including Ximian Evolution for email, news, contacts, and scheduling.  Evolution is a bit too Outlook-like for my tastes, but I’m going to give it a shot.  My main beef with Outlook XP (I haven’t tried the latest version) is the user interface.  It’s cluttered, the defaults are mostly opposite of  my preferences, and finding anything in that mess of an Options dialog is damned near impossible.  At first look, Evolution suffers somewhat from a cluttered UI, but their Options dialog is a little less confusing.  Other than looking at Evolution and poking around here and there, I haven’t really put the system through its paces.

In my November 2, 2002 entry, I wondered here if I could go Windows-free at home.  Shortly after that I got sidetracked with some major .NET stuff and had to put those plans on hold.  I’ll have to maintain a Windows machine so I can continue my .NET Guide writing, and maybe for a few other applications, but this time I’m seriously looking to move most of my work to the Linux platform.  The hard part is deciding on a distribution, and making sure I get all my data across.  As I said before, it’s going to be an interesting ride.

Linux on the desktop progress

Linux on the desktop continues to move forward rapidly.

  • The biggest news recently is that IBM is pushing to convert their internal desktops to Linux by the end of next year.  ZDNet reports the story here.  A follow-up article today has IBM confirming the authenticity of the memo referenced in the original article, but stating that the memo was “taken out of context.”  Whether or not IBM is going all-Linux, that they’re considering it at all is a huge step forward.
  • If you’re interested in the state of Linux on the desktop, you should bookmark the DesktopLinux.com site.
  • I downloaded PCLinuxOS from the PCLinuxOnline site and burned it to CD.  I was hoping to play with it over the weekend, but the way things are going it’ll probably be sometime next week.

Lots of other things are happening in this space.  I’ll try to get to them in the next couple of weeks.

TCO is more than up-front cost

The Gartner Group released a report this week saying that, although Linux has lower up-front costs, it may end up costing more to integrate with existing applications.  An article describing the report is here. Say it with me, now … “Duh!”  I suspect that the Slashdot crowd had a field day with this article, but I’m too lazy to go search it out.  One would hope that IT directors who make these types of decisions (i.e. to “go Linux”) would take these things into account.

Sometimes I think I’ve been in this business too long.  Every few years, some system or another is identified that will magically reduce complexity, increase efficiency, and save millions or billions of dollars in IT expenses.  Do people ever learn?  Of course there are hidden costs associated with changing over to a totally new operating system.

If an IT department wants to move to Linux, they’ll need to do it slowly.  Install Linux on new servers to support new systems.  Learn how to configure and administer it.  Migrate some non-critical or low-use systems.  Keep track of the learning curve and unexpected migration problems.  Take your time!  Linux has a lot to offer, but it’s not child’s play by itself, and converting major applications from Windows or any other system to Linux is a process that’s full of unexpected problems.

Pondering a Windows-free workstation

At the beginning of September, about the same time I started working with Linux From Scratch, I began wondering if I could become Windows free at home.  Not for any activist purpose, mind you.  I have no great dislike of Microsoft or proprietary software, nor any great love for Linux or open source software.  Since then, I’ve installed Linux on a test server here, and also on my Celeron 666 machine, and am in the process of learning enough about it so that I can move all of my critical home applications to Linux.  That’s right, I’ll be writing this web site, answering my mail, and surfing the Web with a Linux box as my primary machine.  I haven’t set a time frame, and I’m in no great hurry, but I’m moving that way.

There are several reasons.  After 20 years of MS-DOS and multiple versions of Windows, I’m looking for something new and different.  I’ve been tinkering with Linux for a few years now, and I’ve been having fun learning new things.  If MS-DOS and Windows kept me amused for 20 years, I guess Linux can give me something to think about for at least 5.  More importantly, I’ve been saying for a few years that Linux isn’t yet polished enough for everyday use as a desktop system, but I wonder how much of that is just fear of something new.  I can afford to spend a little time experimenting with the system.  I’ll either prove myself right, or end up with a more useful desktop computer.  Either way, I can’t lose.

As I said, I’m in no big hurry to do this.  As it stands now, I’m still just tinkering with the Linux system, and even after I get my major applications transferred I’ll keep the Windows box around for a while.  Perhaps indefinitely.  However it shakes out, it’s going to be an interesting ride.  Stay tuned.