Archive for the ‘Wi-Fi’ Tag

Easier offline install on Ubuntu…

In the course of a Google Buzz conversation, my friend Edgar D’Souza shared a less circuitous way of downloading Ubuntu packages on Windows than I had suggested in this blog post. Download scripts!

Here are the precise steps that he shared:

  1. Boot Ubuntu and run the Synaptic Package Manager.
  2. Search for the packages that you have determined you need (they will most likely already be in the main repositories). Mark the packages for installation.
  3. Accept the Also install prompts to mark their dependencies as well.
  4. Once you have marked all the required packages, select File > Generate download script. Save the download script to your USB thumb drive.
  5. Boot Windows.
  6. Install wget for Windows.
  7. Run the saved download script. If necessary, edit the file to make it more palatable to Windows.
  8. Copy the downloaded packages to the USB drive.
  9. Reboot into Ubuntu and go back to the Synaptic Package Manager.
  10. Select File > Add downloaded packages. Navigate to the USB drive and select the downloaded packages.
  11. Click Apply (to install).

Troubleshooting Wi-Fi issues with Ubuntu

Wi-Fi connectivity is not yet Ubuntu’s area of strength. My laptop running Karmic Koala offered very unstable access to the Internet until I installed some additional required packages. Figuring out what packages to install, however, was not as easy as I had hoped.

The Karmic Koala living in my dual-booting Acer 5542g laptop had been giving me strange connectivity problems. Although Ubuntu would show some Wi-Fi signal strength immediately after I logged in, the connection would die on its own within a few seconds and not come up again. Not even when I moved the laptop right next to the Wi-Fi router! All this while, whenever I used the Windows 7 that shipped with my laptop, I’d get excellent Wi-Fi connectivity.

A quick search on Ubuntu forums convinced me that this issue was pretty common. apt-getting a few missing packages would apparently solve it, but how? apt-get is useful on systems that have a live Internet connection. However, with the window of connectivity down to 15 seconds, there was hardly an easy way to sych repositories, download the packages, figure out their dependencies, and then put everything together.

So, I decided to tread the way that all Linux users dread—offline install. I downloaded the packages on Windows 7, tried to install them on Ubuntu, and when dependency issues arose, booted back into Windows 7 to download the missing packages. After seven restarts, I was finally able to access FaceBook using Ubuntu and share my success story!

Here’s the deal…

To fix Wi-Fi connectivity issues on Ubuntu, you need the following packages installed on your system:

  • linux-backports-modules-karmic-generic (3.4 KB)
  • linux-backports-modules-wireless-karmic-generic (3.3 KB)

However, as you try to install these packages, you will realize that they have sequential dependencies on the following packages:

  1. linux-backports-modules-2.6.31-19-generic (1.5 MB)
  2. linux-image-2.6.31-19-generic (27.5 MB)

Downloading and installing the packages

To download the required packages, go to Ubuntu Packages, and search for the package name in the Search Package Directories section.

Once the search hits are displayed, navigate to the karmic branch and download the .deb package for your architecture (i386 in most cases).

When you have all the required .deb files available, copy them to a storage location accessible from within Ubuntu (a USB drive, for example). Now, install the packages in the following order by double-clicking the corresponding .deb file and supplying the administrative password:

  1. linux-image-2.6.31-19-generic
  2. linux-backports-modules-2.6.31-19-generic
  3. linux-backports-modules-karmic-generic
  4. linux-backports-modules-wireless-karmic-generic

Once all the packages have been installed, restart your computer Windows-style and enjoy the much-improved Wi-Fi connectivity.

That’s all for a night spent troubleshooting! I hope you find this tutorial useful.