How does Ubuntu do it?

June 15, 2010

I have an old PC that serves as a file and print server (see what I did there?). It holds a 120 GB disk drive, divided in an NTFS partion, and two others for root and swap.

It used to run Ubuntu 9.04. I had tried to install Arch and a lightweight DE (my boy sometimes likes to use the PC for games), but I couldn’t figure out the Samba settings back then, so I just slapped Ubuntu on it, mounted the ntfs partition, rightclick, share, be advised that a change to smb.conf is needed (in the [global] section), adjusting smb.conf,¬†done. It worked very well, but the OS was aging a bit, and of course a full GNOME desktop was overkill for something that essentially just needed Samba, a browser and some games.

Because of my recent infatuation with Fedora, I tried using that, with XFCE. The experience was frustrating, to say the least. Installing Samba is no problem. Neither is adding a share via the Samba config tool. Nor opening the firewall to allow Samba traffic. However, although the share could be seen on the client PCs (one Fedora, one Windows 7), it could not be mounted. It failed in Nautilus, using the fstab, mounting it manually…nothing worked. The error was something along the lines of “share doesn’t exist”. Trying to edit smb.conf manually didn’t work. Using Ubuntu’s smb.conf, which I had backed up, didn’t work.

Sharing the printer worked beautifully though.

Trying Fedora GNOME didn’t do it either. Then I tried Ubuntu server, and installed ubuntu-desktop on top of it.

Which is an insane thing to do if you just need a file server.

I’m again stuck with a full-blown Ubuntu desktop, full of goodies I don’t need and running much slower than I could make it run. But here’s the maddening part, it works. Right-click folder, share, adjusting smb.conf, done. Even worse, I can’t find any reference to my share in smb.conf ! If I knew where the right config is saved, I could simply copy/paste it to a leaner system, but now I can’t.

Curse you Ubuntu! Curse you for making my life so easy and so difficult at the same time!

San

PS: Obviously, any help would be appreciated…

Advertisements