Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, January 31, 2011

Linux and Hardware - For Beginners


As I have mentioned in previous posts, the Linux kernel (the very heart of Ubuntu) comes with support for a wide range of hardware devices ranging from mice/keyboards through to graphics cards and TV tuners. However there are always going to be manufacturers who don't offer Linux support or devices that simply aren't supported by the kernel – if this was the Windows world your interest in an unsupported device would end there. But with Linux there are nearly always ways to get things to work if you don't mind spending a few minutes working on it.

Lets run with a  factual example (personal experience here); a shiny new Acer laptop I bought came with Windows 7, nice but after a month I realised I didn't really need Windows and decided to install Linux as per usual. Being the thoughtful user that I am I elected to try Live versions of a couple of distributions before re-formatting and installing, and sure enough my patience paid off. My wireless card was a prototype only used in this particular laptop and my video card required proprietary drivers from the manufacturer, Nvidia.

Now the video card was no problem (except under OpenSUSE which simply refused to install the Nvidia drivers...), but the network card was a whole other ball game; even the Windows drivers for this card are a bit dodgy and naturally Linux drivers are non-existent. This is part one of how to solve hardware problems – Google it. Yes Google is a verb these days.

After approximately 5 minutes and 33 seconds I discovered someone in Indonesia had purchased the exact same laptop as me and purely by chance found that drivers for a similar network card worked more or less 100% with the problem-child in this laptop. A few minutes later I had installed these drivers, rebooted and was back to not-procrastinating on the 'Net.

//End example

So lets make a quick list of how YOU can get problematic hardware to work with Ubuntu and Linux in general;

  1. Check your distribution's driver management package, for Ubuntu this is 'Hardware Drivers' under System → Administration. A lot of common problems can be fixed by installing third party drivers.
  2. Google it, the answer to everything that rebooting doesn't fix. Hell I bet most of you found this blog via Google.
  3. Check out https://wiki.ubuntu.com/HardwareSupport/ before buying anything you intend on installing Ubuntu on. It is probably the single biggest repository of information on hardware available to Ubuntu users.
  4. Check out http://hardware4linux.info/ similar to the above but for all distributions.
  5. Ask! Head on over to your distribution's forum and do a quick search to see if anyone has your problem, if not make a thread about it in the relevant category – the people who help out on these forums are topical experts in most cases and are more than happy to help new comers. Also pay heed to the rules and posting guidelines of the forum; not abiding by them will generally get your thread deleted and therefore you won't be getting any help!
*Note, do the above in order of appearance if you run into problems AFTER purchasing, but use steps 3 & 4 BEFORE buying to avoid problems in the first place.

Following these steps may not fix all problems and indeed there exists hardware for which nothing can be done; this is why it pays to do a bit of research before buying any new hardware and pay special attention to what is inside a laptop before buying it!

Sunday, January 30, 2011

Why Linux?


What is it that makes people leave the safe confines of the Windows/Mac world in order to use a comparatively obscure and allegedly 'Hard to use' operating system?

Coming from someone who has never used Linux before or has little knowledge of it, this is indeed a very valid question to which there are equally valid answers;

  1. It's free. Not a cent needs to be paid unless you feel like donating a bit of money to Linux developers or your favourite distribution team (trust me, they really do appreciate any and all donations!). Even after-market support is free, Linux users (myself included) are more than happy to offer assistance to new users on chat channels, forums, blogs etc etc.
  2. Linux isn't hard to use, especially distributions such as Ubuntu and OpenSUSE. The only reason many believe it to be 'Hard to use' is because it initially appears different to Windows/MacOS. As of the 10.04 release of Ubuntu, Linux can be said to have the same level of 'out-of-the-box' functionality as Mac OSX with built-in music store and a collection of software pre-installed that allows the user to immediately get stuck into whatever takes their fancy.
  3. Hardware support. Despite what Microsoft tells you, Windows is not compatible with much hardware at all, in fact it only supports very very basic devices without having to install additional drivers. The Linux kernel has built-in support for a huge variety of hardware ranging from mice/keyboards through to video cards and audio devices. As always though it never hurts to do a bit of research before buying a new Linux computer just to be certain!
  4. Money is not an issue for developers. Very rarely will you see an unfinished piece of software (*cough* Vista *cough*) being produced because its developers had a deadline to meet. Despite this, the Ubuntu team still keeps to a self-imposed deadline of 6 months between major updates...
  5. Regular updates. Leading in from what I mentioned 5 seconds ago, Ubuntu is updated twice a year – once in April (hence the 10.04) and once in October (hence 10.10). This means that the entire OS gets a major update twice a year plus regular little updates between then, and as I mentioned in earlier posts these updates are more or less automated and cause very little discomfort to users. Contrary to this, Microsoft releases a new 'Windows' approximately once every 3 years with infrequent updates between versions. Needless to say you need to pay for new versions of Windows as well...
  6. Control. Like driving a manual car, this isn't a huge deal for everyday users, but power users who want to get their teeth stuck into Linux can really make good use of the total control they have over their computer and customise it specifically to their liking.
  7. Viruses. They pretty well don't exist. Thats not to say a Linux computer is 100% secure, but without any extra 'Anti-virus' software having been installed, your average Linux computer is very unlikely to ever run into virus related troubles. Still that doesn't mean you shouldn't be careful on the 'Net – once information has left your computer it ends up on other computers which may or may not be as safe as yours. So when doing online banking or buying stuff online, make sure the website your using has some form of security, usually denoted by a padlock icon in the address bar of your browser.
  8. Software is available not only for free, but (in most cases) has to be approved by the distribution developers before it can find its way onto the official 'repositories'. On this note, all the software you could ever need (again, in most cases) can be found in big lists (aka. 'repositories') that are provided by developers. This allows you to browse through these lists at your leisure and tick boxes next to what you want installed.
  9. Lightweight. Lets compare the minimum specifications of Windows 7 and a lightweight distribution called 'Slitaz' shall we?

Windows 7;

1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit processor
1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
16 GB available hard disk space (32-bit) or 20 GB (64-bit)
DirectX 9 graphics device with WDDM 1.0 or higher driver
Slitaz;
To be honest no one can say for sure, but people have succesfully installed and ran this on 14 year-old computers that have specifications inferior to most current mobile phones.

Of course to use a full graphical version of Ubuntu with desktop effects and the like enabled, you will probably *want* similar specifications to what is required for Windows 7. The differences being is the *minimum* requirements for Windows 7 and about the same as the *optimal* requirements for Ubuntu 10.10.

These are just a few of the reasons why people choose to use Linux, but I encourage everyone reading this to try different versions of Linux and compare them to their experiences on Windows/Mac.