Ubuntu 11.04 (Natty) + WiFi working on EEE

When Ubuntu 11.04 released, things went backwards for the EEE. If the wireless adapter was enabled, Natty would hang soon after login – it turns out this was due to a kernel issue similar to that experienced in its predecessor.

But, as per many things in the open software world, the community has come up with a solution which I’ve summarised below.

  1. From here, download the latest kernel files which should be named as follows:
    • linux-headers-2.6.39-999_2.6.39-999.[LatestDateTimeStamp]_all.deb
    • linux-headers-2.6.39-999-generic_2.6.39-999. [LatestDateTimeStamp]_i386.deb
    • linux-image-2.6.39-999-generic_2.6.39-999. [LatestDateTimeStamp]_i386.deb
  2. Then, from a terminal window, install them in the SAME order they were downloaded i.e.:
    • sudo dpkg -i linux-headers-2.6.39-999_2.6.39-999.[LatestDateTimeStamp]_all.deb
    • sudo dpkg -i linux-headers-2.6.39-999-generic_2.6.39-999. [LatestDateTimeStamp]_i386.deb
    • sudo dpkg -i linux-image-2.6.39-999-generic_2.6.39-999. [LatestDateTimeStamp]_i386.deb
  3. Restart your EEE (with WiFi enabled) and login.

Good luck! (YMMV)

Skype Beta for Linux – Webcam WORKING!

Skype for LinuxUgh – finally, after much backward and forward (even to the point I dragged out a Windows laptop) I’ve tracked down the issue which was stopping my embedded webcams (which otherwise works in all other applications) from working with the latest beta of Skype for Linux.

The solution is this (thanks Ubuntu Forums):

for 32-bit Linux / Skype

sudo mv /usr/bin/skype /usr/bin/skype.original
sudo echo -e "#!/bin/bash \nLD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype.original" > /usr/bin/skype

for 64-bit  Linux / Skype

sudo mv /usr/bin/skype /usr/bin/skype.original
sudo echo -e "#!/bin/bash \nLD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype.original" > /usr/bin/skype

I found the command to build the script didn’t work out for me

$ sudo echo -e "#!/bin/bash \nLD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype.original" > /usr/bin/skype
bash: !/bin/bash: event not found

So, I built my own script

sudo nano /usr/bin/skype

and pasted in the lines to build the script

LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype.original

Of course, the script needs to be made executable

sudo chmod +x /usr/bin/skype

Then all that remained was to make sure no instances of skype were running, and re-launch skype from the menu.

For me, the video came up once Skype had loaded, from other discussions, some people may need to restart their machines.