Home Blog Page 1226

How to Install Firmware in Debian to Enable Wireless, Video, or Sound

 You’ve decided it’s time to give one of the most stable and reliable Linux distributions a try. So you download the latest version of Debian, burn the ISO image, fire up your computer, slide the CD into your drive, and begin the installation process. Once the install is complete, you find out your wireless isn’t working! What do you do?

This has been a problem that once plagued Linux for a very long time. But recent years have seen massive improvement in the way of hardware support. But with Debian, you will find that the standard release doesn’t include non-free software (including drivers). Before we get too far into this, know that there is a Debian non-free release that does, in fact, contain the firmware necessary to run most hardware. If you don’t care that the release includes all the non-free software, I highly recommend you use the non-free release. If, however, you want a distribution as free of non-free software as possible ─ yet you still want your wireless to work ─ I have a very easy method for making this a reality.

This process can work for just about any hardware on your system. I will, however, explain the process using a wireless adapter as an example. These steps will also assume you have yet to install Debian on your machine (you’ll understand why in a moment).

With that said, let’s get on with the how to.

During Debian Installation

The first thing you need to do is start the Debian installation. The installer is incredibly simple to use ─ just answer a few questions and click your mouse button a few times and you’re on your way. However, there is one very important step you need to catch (and not just immediately click through the page). At some point, before the installation starts, a screen will appear warning you that some of your hardware needs non-free firmware files to operate (Figure 1).

Debian firmware

If, however, you do not see the hardware listed, continue on with the installation. When the installation completes, it will be necessary to do a bit of digging to find out what hardware your machine has. The best route would be to run a live distribution, such as Ubuntu, that does work with the wireless card. Once that is running (and you’ve connected to a wireless network), issue the command lspci | grep Wireless and you should be greeted with the necessary information regarding your chipset. With that information in hand, reboot into Debian and continue on.

There are two routes to success at this point. If you already have the correct firmware files, you can save them to a thumbdrive (FAT32 format) and plug it into the machine so the installer can find the files and apply them. This is not always the most reliable method. If, however, you want to try that method, here’s what you need to do:

  1. First, download the tar file of the full firmware package from here (make sure to navigate through to the release you are using).

  2. Unpack the .tar file onto a thumbdrive (all files should remain within the firmware folder).

  3. Start the installation and, when you are greeted with the firmware warning, insert the thumbdrive.

  4. Select Yes and click Continue.

  5. Continue on with the installation as per normal.

As I mentioned, this method is hit and miss. In my case, it worked flawlessly. If, however, this process does not work for your setup, fear not, there’s another method that will most likely deliver success.

NOTE: For a laptop that requires non-free firmware to make use of wireless, you will want to connect that device via ethernet so the installer can download updates (if applicable).

During the installation, write down the information presented to you on the non-free firmware warning. In my case, the important bit was:

iwlwifi-4965-2.ucode

Once you have that information jotted down (you can also take a screenshot that will be saved in /var/log/installer/), select No and click Continue. Finish up the installation per normal and then allow the machine to reboot. Log into the machine and (while the machine is connected via ethernet), open up the web browser and use Google to search for the necessary firmware file. In my case, the wireless firmware was found here (this is why it’s important to write down the information presented during the installation ─ it will make finding the firmware incredibly simple).

Install the firmware package

The downloaded file will be in the .deb format. That should key you in on the next step. That’s right, we’re going to use the command line to install this package. It’s quite simple.

  1. Open up a terminal window.

  2. Change to the Downloads directory with the command cd Downloads.

  3. Change to the root user with the command su.

  4. Type your root password and hit the Enter key.

  5. Assuming the firmware deb package is the only file in your Downloads folder, issue the command dpkg -i *.deb.

  6. Allow the installation to complete.

At this point, the firmware is in place, but the kernel isn’t aware. The easiest resolution for this is to simply reboot the machine. Once the machine has rebooted, the firmware will be available to use and you should now be able to configure the wireless network device.

Debian is a choice many take very seriously. If you desire the best in free software, and want as little non-free apps and files on your machine as possible, yet you still want to enjoy the convenience of properly working wireless, sound, or video you might need to break down and add a little non-free firmware. Of course, if you want to enjoy the stability and reliability of Debian, but don’t care if the firmware is free or not, don’t hesitate to download the non-free version of Debian, burn the ISO, and enjoy.  

Multitasking in the Linux Kernel: Interrupts and Tasklets

In the previous article I mentioned about multithreading. The article covered such basic notions as types of multitasking, the scheduler, scheduling strategies, the state machine, and other.

This time, I want to look at the problem of scheduling from another perspective. Namely, I’m going to tell you about scheduling not threads, but their “younger brothersâ€. Since the article turned out to be quite long, at the last moment I decided to break it up into several parts:

  1. Multitasking in the Linux Kernel. Interrupts and Tasklets
  2. Multitasking in the Linux Kernel. Workqueue
  3. Protothread and Cooperative Multitasking

In the third part, I will also try to compare all of these seemingly different entities and extract some useful ideas. After a little while, I will tell you about the way we managed to apply these ideas in practice in the Embox project, and about how we started our operating system on a small board with almost full multitasking.

Read more at Vita Loginova’s blog.

Docker Project Gets an Org Overhaul

Without a doubt, container technology was one of the hottest stories of last year, and if you mention the container arena to most people, Docker is what comes to mind. As impressive as Docker is, as recently as June of last year, OStatic highlighted some of its instabilities. And, we’ve also chronicled new competition in the container space. Google has set its sights squarely on Docker by transforming its Kubernetes platform into a full-fledged part of Google Cloud Platform with Google Container Engine. Meanwhile Canonical is leaping into the into the virtualization arena with a new hypervisor called LXD  that uses the same Linux container tools that have allowed Docker to isolate instances from one another.

Also on the competition front, we reported on how the CoreOS team is developing a Docker competitor dubbed Rocket.  Now, the leadership behind the open source Docker project has unveiled a new organizational structure that could optimize Docker’s competitive strengths.

Read more at Ostatic

Manjaro Xfce 0.9.0 Pre2 Arrives with Lots of Fixes, Already Looks Promising

Manjaro Xfce 0.9.0 Pre2, a Linux distribution based on well-tested snapshots of the Arch Linux repositories and 100% compatible with Arch, has been released. The devs have made quite a few improvements to it and users have been asked to test it.

The 0.9.0 branch of Manjaro is highly anticipated by the community and many users are itching to try all the new stuff that’s being implemented right now. It’s still a pre-Alpha release and it will take a while to get into shape, but it’s already show… (read more)

Read more at Softpedia News

Good Guy NVIDIA Releases New Linux Legacy Driver for Users with Old Cards

NVIDIA has released a new branch of Legacy drivers for the Linux platform and they are the most advanced versions you can get right now for old video cards.

People are usually concerned about new drivers for their video cards, but the truth of the matter is that there are also a lot of older cards out there, maybe more than we can imagine. If the developers don’t provide regular updates for the drivers, those cards won’t be usable with new kernel versions or new X.org releases.

Users might n… (read more)

Read more at Softpedia News

This Huge Coffee Table Can Switch Between Android and Windows, No Joke

If you follow the oddities in the tech industry, you’re probably familiar with the Ideum name. These folks will bring you huge coffee tables that are built for entertainment.

Don’t expect to see these tables ship out with any society games or anything of the sort. No, Ideum relies on the advancement of technology to bring you the fun you deserve, while having cookies and caffeine all at the same time.

Ideum tables are actually huge tablets that work like any other tablet would. Except they m… (read more)

Read more at Softpedia News

Witcher 2 for Linux Gets New Update That Really Makes a Difference

The Witcher 2: Assassins of Kings is still being improved on for the Linux platform and a new major patch has been released for the games, although it’s still in the Beta stage.

The Witcher 2: Assassins of Kings was released in May 2014 for the Linux platform and it immediately turned into a failure for the publisher, at least from a PR standpoint. The problems was that the developers didn’t port the game to Linux, they used a special kind of wrapper, similar to Wine, that would enable Linux … (read more)

Read more at Softpedia News

Netflix on How to Build Services That Scale Beyond Millions of Users

How Netflix plans to use microservices as it redesigns its cloud-based systems to cope with exponential growth in its userbase.

Read more at TechRepublic Cloud

Linux Kernel 3.18.4 Is Now the Most Advanced and Stable Version Available

A fresh version of the Linux kernel, 3.18.4, has been released by Greg Kroah-Hartman and is now available for download. This is now the most advanced version you can find and it will remain like this at least for the next couple of weeks.

Each Linux kernel that gets released usually receives a number of updates. This number varies from one version to another and it all has to do with the LTS status. If a kernel branch is declared LTS, then the developers will continue to issue updates for a l… (read more)

Read more at Softpedia News

No Fix in Sight for ​Android Wi-Fi Direct Vulnerability

Google and a security company don’t see eye to eye over a bug that can cause some Android devices to reboot under a remote attacker’s orders.

Read more at ZDNet News