Floating Sun » ubuntu http://floatingsun.net Mon, 07 Jan 2013 02:53:26 +0000 en-US hourly 1 http://wordpress.org/?v=3.5.1 Startup Infrastructure: Where Linux Fails http://floatingsun.net/2011/01/09/startup-infrastructure-where-linux-fails/?utm_source=rss&utm_medium=rss&utm_campaign=startup-infrastructure-where-linux-fails http://floatingsun.net/2011/01/09/startup-infrastructure-where-linux-fails/#comments Sun, 09 Jan 2011 20:31:46 +0000 Diwaker Gupta http://floatingsun.net/?p=1699 Related posts:
  1. Skype adds video for Linux
  2. Linux and Closed Source Software
  3. Year of the Linux Desktop
]]>
Category:WikiProject Cryptography participants
Image via Wikipedia

It is no secret that I’m an open source evangelist and so when it was time to set up internal infrastructure at work, naturally the first order of business was to evaluate the various OSS projects out there — everything from wikis, bug trackers, source control, code review and project management. Running Ubuntu LTS (10.04) on all of our servers was a no-brainer and there were plenty of excellent options for most everything else as well (a follow-up post on our final choices later). The Linux ecosystem is fabulous for most of the infrastructure needs of a startup, but I learnt the hard way that there are still some areas where Linux needs a lot of work before it can become competitive with proprietary, non-Linux solutions.

Authentication

Centralized account management (users and groups) and authentication is critical component in any IT deployment, no matter the size. Even for a small startup, creating users/groups repeatedly for each new server, separate authentication mechanisms for each new service is simply not scalable. That is precisely why Active Directory is so ubiquitous at enterprises.

LDAP was the obvious solution in Linux-land and I figured it would be trivial to setup an OpenLDAP server that can manage user/group information for us. It would also be the single authentication source for all servers and services. I was so wrong.

After struggling with OpenLDAP for several painful hours, I gave up — the documentation is fragmented, Google doesn’t help much and personally I think the LDAP creators had never heard of “usability” when designing it. The seemingly simple task of creating some new users and groups involved several black-magic incantations of the LDAP command line tools. Getting servers to authenticate against the resulting directory was even harder.

Just as I was about to throw in the towel and setup an AD instance in-house, I stumbled upon the 389 Directory Server (now known as the Fedora Directory Server). With a new found hope, I set about installing it on Ubuntu and hit another roadblock — there are no up-to-date packages of FDS for Ubuntu. Reluctantly, I setup a Fedora instance (the only one so far) and installed FDS. Thankfully, Red Hat has put together really comprehensive documentation and guides for the Directory Server, which was invaluable.

From there on, it was mostly downhill (only a few minor hiccups). Finally we have a nice GUI to manage users and groups, and all servers/services authenticate against a single Directory Server. But the journey was unnecessarily painful. Here’s what I’d like to see:

  • Up-to-date packages of FDS for Ubuntu. Sane defaults and functionality out-of-the-box
  • Ready to consume documentation on how to integrate LDAP with various web applications, Linux distros etc (I’ll put together some of this soon)
  • More awareness — I should have found FDS a lot sooner than I did, but it is certainly not very well marketed
  • Single sign on: This is a whole different beast

Remote Access

At my previous company, we had a Cisco VPN solution. There were plenty of Cisco compatible VPN clients on Windows and Mac. In fairness, it was relatively easy to get vpnc working on Ubuntu as well. In fact, with Network Manager, you can manage your VPN connections using a simple and intuitive UI. But the setup was not very reliable and my connections would get dropped relatively frequently. It was impossible to have a long-running VPN session without disruption. I’m not sure if the problem was with the Cisco hardware or the Ubuntu vpnc client; I did see similar issues with the built-in VPN client on Mac OS X.

But at least VPN on Linux works. I can’t say the same about other remote access mechanisms, in particular IPSec and L2TP over IPSec. It took me some time to figure out which package to use (Strongswan, Openswan, iked etc etc); another couple of hours to get the Openswan configuration just right; several hours of struggling to automatically setup DNS lookups when using the IPSec connection (gave up and ended up using entries in /etc/hosts!). There is no UI in Network Manager to manage IPSec connections either. Strongswan does have a NM plugin, but that only works for IKEv2 (certificate based authentication), while I had to use IKEv1 (shared key based authentication).

At the end of the day, I do have a working IPSec tunnel and it is definitely more reliable than the Cisco VPN (been up for more than 2 days without disruption). But all this can and should become a lot more seamless.

These are a few areas where Linux failed me in setting up the infrastructure for a startup; it shines most everywhere else. Hopefully these last few kinks will get ironed out soon.

]]>
http://floatingsun.net/2011/01/09/startup-infrastructure-where-linux-fails/feed/ 8
And just like that, I’m a GNOME user http://floatingsun.net/2010/09/09/and-just-like-that-im-a-gnome-user/?utm_source=rss&utm_medium=rss&utm_campaign=and-just-like-that-im-a-gnome-user http://floatingsun.net/2010/09/09/and-just-like-that-im-a-gnome-user/#comments Fri, 10 Sep 2010 06:21:59 +0000 Diwaker Gupta http://floatingsun.net/?p=1614 Related posts:
  1. Inconsistent font rendering in GNOME and KDE
  2. Priceless quote from Linus
  3. Why KDE?
]]>
When I first started using Linux (more than a decade ago), I did my share of playing around with various desktop environments: the classic FVWM, GNOME, KDE, Enlightenment etc. I settled down with KDE. Over the years, I kept coming back to GNOME to check it out but somehow KDE always felt home to me.

Well guess what, not any more. As of a few days ago, I’m (mostly) a GNOME user.

I still love KDE (the desktop) and KDE based applications (KMail, Amarok etc). It is still infinitely more configurable than anything comparable in GNOME (Evolution and Thunderbird are still fairly limited in comparison) and over the years I’ve tweaked it to just the way I like it. But GNOME has something the KDE project does not: Canonical.

Thats right, I switched to GNOME because of Canonical, the company that drives Ubuntu development. Sure, there is a lot of effort behind the various Ubuntu variants such as Kubuntu, Xubuntu etc. But make no mistake, none of these variants are first-class citizens in the Ubuntu ecosystem.

The switch was a result of my recent experience setting up Ubuntu on my home theater PC. The effort Canonical has put into making the Ubuntu experience more seamless and pleasant is clearly visible. Pretty much everything works out of the box: folders that I share show up on other computers in my home network, bluetooth/webcam etc all work just fine, setting up remote desktop is a breeze and so on, Avahi/bonjour works like a charm; I can setup a DAAP server to share my music and it shows up on iTunes just like that.

Note that all of these things are obviously not limited to Ubuntu in any way. But the user experience in Ubuntu is unparalleled in comparison with Kubuntu etc. Subtle niceties like the notifications (the Ayatana project), the Me menu,  the messaging menu, the “light” themes etc. come together in a very cohesive way to deliver an experience that rivals that of Mac OS. But beyond the subtleties, Canonical is shaping the future of Linux on the desktop, laptop and mobile devices: the Unity interface, multi-touch support for mobile devices and more. Bottomline: having a company put its weight behind a desktop has ramifications.

So as much as I love thy, KDE, for now we shall part ways. I’m still using some KDE apps (like digiKam), but until Canonical decides to officially adopt Kubuntu, GNOME it is.

]]>
http://floatingsun.net/2010/09/09/and-just-like-that-im-a-gnome-user/feed/ 3
HP Pavilion a1640n USB support in Ubuntu http://floatingsun.net/2007/08/28/hp-pavilion-a1640n-usb-support-in-ubuntu/?utm_source=rss&utm_medium=rss&utm_campaign=hp-pavilion-a1640n-usb-support-in-ubuntu http://floatingsun.net/2007/08/28/hp-pavilion-a1640n-usb-support-in-ubuntu/#comments Tue, 28 Aug 2007 18:07:06 +0000 Diwaker Gupta http://floatingsun.net/2007/08/28/hp-pavilion-a1640n-usb-support-in-ubuntu/ Related posts:
  1. HOWTO: Ubuntu on IBM Thinkpad T42
  2. Dealaajtak stealing Ubuntu logo?
  3. HOWTO: Ubuntu on IBM Thinkpad T42
]]>

At work I have a fairly new box, the HP Pavilion a1640n. I’m running Ubuntu Feisty Fawn on it with all the latest updates. Unfortunately, none of the USB ports work, so I can’t use my USB mouse, or any external drives or any of the other countless USB devices. Clearly not a great situation to be in.

I’ve filed a [[https://bugs.launchpad.net/ubuntu/+bug/135342|bug report]] on [[http://launchpad.net|Launchpad]]. If you’re facing this same problem, please go vote on the bug and/or give additional information. If you know a fix, that would be even better.

]]>
http://floatingsun.net/2007/08/28/hp-pavilion-a1640n-usb-support-in-ubuntu/feed/ 1
Finally ATI learns! http://floatingsun.net/2005/11/14/finally-ati-learns/?utm_source=rss&utm_medium=rss&utm_campaign=finally-ati-learns http://floatingsun.net/2005/11/14/finally-ati-learns/#comments Tue, 15 Nov 2005 04:41:04 +0000 Diwaker Gupta http://floatingsun.net/blog/2005/11/14/413/ Related posts:
  1. HOWTO: Ubuntu on IBM Thinkpad T42
  2. Finally, a real web IM
  3. Finally, stable groupware!
]]>

It has finally happened. ATI [[https://support.ati.com/ics/support/KBAnswer.asp?questionID=1176|has released]] (still proprietary though) drivers for Linux with initial suspend/resume support. There’s a [[http://ubuntuforums.org/showpost.php?p=423584|howto for Ubuntu]] available. It works perfectly on my machine — now I have suspend-to-ram working with 3D acceleration! Yippeee!

But it still needs some more testing. I haven’t tested suspend-to-disk yet, but its usually less problematic than suspend to ram so should work. Now that ATI has found the right road, hopefully they will quickly make good progress.

]]>
http://floatingsun.net/2005/11/14/finally-ati-learns/feed/ 0
HOWTO: Ubuntu on IBM Thinkpad T42 http://floatingsun.net/2005/07/31/howto-t42-ubuntu/?utm_source=rss&utm_medium=rss&utm_campaign=howto-t42-ubuntu http://floatingsun.net/2005/07/31/howto-t42-ubuntu/#comments Sun, 31 Jul 2005 23:32:46 +0000 Diwaker Gupta http://floatingsun.net/blog/2005/07/31/howto-t42-ubuntu/ Related posts:
  1. HOWTO: Ubuntu on IBM Thinkpad T42
  2. Writing
  3. HOWTO: Install awstats on Textdrive
]]>

I’ve updated my [[http://floatingsun.net/articles/ubuntu-t42|HowTo: Ubuntu on Thinkpad T42]]. If you have some suggestions/feedback, please leave them as comments to this entry.

**Update**

This HowTo is now listed on [[http://tuxmobil.org/ibm.html|TuxMobil.org]]

]]>
http://floatingsun.net/2005/07/31/howto-t42-ubuntu/feed/ 2
Useful (k)ubuntu repositories http://floatingsun.net/2005/07/27/useful-kubuntu-repositories/?utm_source=rss&utm_medium=rss&utm_campaign=useful-kubuntu-repositories http://floatingsun.net/2005/07/27/useful-kubuntu-repositories/#comments Wed, 27 Jul 2005 21:12:49 +0000 Diwaker Gupta http://floatingsun.net/blog/2005/07/27/useful-kubuntu-repositories/ Related posts:
  1. HOWTO: Ubuntu on IBM Thinkpad T42
  2. HP Pavilion a1640n USB support in Ubuntu
  3. HOWTO: Ubuntu on IBM Thinkpad T42
]]>


# KDE 3.4.1
deb http://kubuntu.org/hoary-kde341 hoary-updates main


# KDE 3.4.2
deb http://kubuntu.org/hoary-kde342 hoary-updates main
# KOffice 1.4.1
deb http://kubuntu.org/hoary-koffice141 hoary-updates main
# Misc packages (qcomicbook, kftpgrabber, klibido, krename etc)
deb http://dinton.no-ip.org/ kubuntu main

]]>
http://floatingsun.net/2005/07/27/useful-kubuntu-repositories/feed/ 2