All in the <head>

– Ponderings & code by Drew McLellan –

– Live from The Internets since 2003 –

About

Tigers and Penguins

18 May 2005

Upgrading my Powerbook to Tiger was about as smooth as it gets. I took the opportunity to perform a full reformat (in an attempt to clean some disc errors I’ve been getting) and the whole process was pretty pleasurable. Things went slightly awry last night, however, when I performed a routine upgrade on our local Debian Sarge file server and was blessed with a new version of Samba.

It would appear that there’s some incompatibility between Tiger and this new version of samba (which I think is 3.0.14), and I can no longer connect to the server from a mac. From my old iMac running Panther, and from various Windows machines the new version of samba is fine. sigh.

So I’ve installed netatalk on the server to get us up and running again, but I really don’t want to maintain two different types of share records for different clients. Samba was fine, and I want it back. Any ideas out there?

Anyway, this got me thinking about how running mac clients and linux servers should be a trivially easy combination to get working nicely, and how for a lot of folk should be a good solution for a simple home or office file/print/web server setup. I’d love to be able to splash the cash and buy an Xserve and run OS X Server here at home, but frankly it’s overkill. I’m sure it’s overkill for most home or small office setups.

And I can do this for free with linux. Linux has solutions for netatalk, Rendezvous Bonjour and insanely well trodden paths for shared printing with CUPS and so on. Running linux on an old PC as a straightforward file or media server should be an easy, cheap solution. Getting all this stuff working right is one thing. Getting it configured with the correct settings and package versions to happily talk with the latest version of OS X is quite another. On the whole it requires far more effort than can be expect of most, even technically competent, users.

What I’d like to see is a specialized linux distro, dedicated to working more or less as an alternative to OS X Server for small networks. It would be based on god’s own debian, and out of the box would run netatalk, Bonjour zeroconf networking, webdav support for syncing and iCal publishing and all the services that make sense to OS X-based client machines.

Day-to-day configuration would need to be done via a web interface (perhaps a skinned webmin would do, at a push). More adventurous users could fall back to ssh. I see no need for a visual environment if the install is easy and the web interface strong.

In the course of a rainy Saturday afternoon, a reasonably competent user should be able to install themselves a fully functioning file and media server and have it running smoothly with their macs – without the loss of hair – and still be able to make it down the pub in time for The Big Game.

That’s the vision. Anyone out there got the skills to help make it happen?

- Drew McLellan

Comments

  1. § Small Paul: Not in the slightest. But I have heard that the just-released 10.4.1 update solves some “networking issues”.

    Any chance you haven’t already upgraded?
  2. § Jesse: What about webDAV over SSL? and ya try X.4.1 – I dropped samba for webDAV a while back but I just tried with our newer server/samba and no problems (problems before .1 update where noted).

    Not sure what you need a dedicated distro though… you just need a check list and a ubuntu install (Debian for humans really). Should be able to only install what you want.

    What I want is that FW 800 port on the back of my G5 to be 400 so my dual ACD’s will have working firewire ports…. stupid design flaw in a nearly perfect machine ;)
  3. § Mike Jones: Trust me, you don’t want an XServe in your home. Its like a jet plane sitting on the runway! If you look at the newer Xserves they have 3 drives not 4 and some little channels for circulation, this is because aparently they got a little hot, even with the noisy phat fans. Personally I think its more about getting people to switch to the XRAID because we stripped one of our clients disk caddies and stuck in 400Gb drives into the four slots giving a “rather large amount of storage” (though we’re now moving them to XRAID/XSAN, joy).
  4. § Drew: It seems to be a problem for both 10.4.1 (on my Powerbook) and 10.4.0 (on Rachel’s Mac Mini) – so it looks like the updater made no difference.

    Jesse – the point of a separated dedicated distro is that you can nicely bundle compatible versions and make the whole process much easier. It’s like the firewall distros that are available – you can of course do all that with anything else, but the dedicated distro makes it easier.

    Mike – you’re right, I don’t want an Xserve in my home. I want a working linux server ;) That said, we have to duck as the planes come into Heathrow, so I’m not sure the noise would be too much of an issue.
  5. § Jesse: Drew – Got it ;) so you are talking a nixServe distro? Would be a fun project. I am going to ask the Linux/Mac geeks around here about it.
  6. § Philip Bragg: This was on eweek.com a while ago. As for nixServe, FreeBSD is probably a better choice as the filesystem ACLs work with the port of Samba, making the whole thing a lot simpler. And it’s not Linux.
  7. § Jon: You are overpaying for a Mac with all the bells and the whistles, and then you realize you need an old PC running Linux…
  8. § Drew: I didn’t overpay for my Mac … YMMV. Besides, that’s a choice of client. When it comes to a choice of server, for me linux is a better option (if I can get it working right!)
  9. § Kalle: Enable encrypted passwords on your samba servern and you’ll be fine with Tiger!
  10. § Tarus: I just upgraded my Samba server running on Debian Sarge to 3.0.14a and my ability to connect from Tiger went away (i.e. I was connected, apt-get upgrade dropped the connection, and I couldn’t get back).

    Figured out that you now need the full path to the volume – I can’t browse like I used to. However, that does work.

    In other words:

    smb://myserver.mycompany.com

    bad

    smb://myserver.mycompany.com/myfileshare

    good.
  11. § Drew: Brilliant – that works. Thanks Tarus!
  12. § Fred: I agree with you, Drew. If one of those really slick system guys would make a clean way to make a simple stable/testing/unstable debian install do the groovy things that can be leveraged from all the goodness of osx/linux/windows server for the home user…

Photographs

CSS Training Course: 18th July

We're running another CSS course aimed at beginners (or those wanting to freshen up!) on 18th July. Places are limited, so book soon to be sure of a place.

Work With Me

edgeofmyseat.com logo

At edgeofmyseat.com we build custom content management systems, ecommerce solutions and develop web apps.

Recent Links

Affiliation

  • Web Standards Project
  • Britpack
  • 24 ways

About Drew McLellan

Photo of Drew McLellan

Drew McLellan has been hacking on the web since around 1996 following an unfortunate incident with a margarine tub. Since then he’s spread himself between both front- and back-end development projects, and now is Director and Senior Web Developer at edgeofmyseat.com in Maidenhead, UK (GEO: 51.5217, -0.7177). Prior to this, Drew was a Web Developer for Yahoo!, and before that primarily worked as a technical lead within design and branding agencies for clients such as Nissan, Goodyear Dunlop, Siemens/Bosch, Caburys, ICI Dulux and Virgin.net. Somewhere along the way, Drew managed to get himself embroiled with Dreamweaver and was made an early Macromedia Evangelist for that product. This lead to book deals, public appearances, fame, glory, and his eventual downfall.

Picking himself up again, Drew is now a strong advocate for best practises, and stood as Group Lead for The Web Standards Project 2006-08. He has had articles published by A List Apart, Adobe, and O’Reilly Media’s XML.com, mostly due to mistaken identity. Drew is a proponent of the lower-case semantic web, and is currently expending energies in the direction of the microformats movement, with particular interests in making parsers an off-the-shelf commodity and developing simple UI conventions. He writes here at all in the head and, with a little help from his friends, at 24 ways.