{"id":341,"date":"2011-09-30T19:39:43","date_gmt":"2011-09-30T17:39:43","guid":{"rendered":"http:\/\/www.lostmind.de\/blog\/2011\/09\/30\/wlan-unter-ubuntu-auf-dem-sony-vaio-vgn-fs415e-2\/"},"modified":"2012-10-28T06:26:11","modified_gmt":"2012-10-28T04:26:11","slug":"wlan-unter-ubuntu-auf-dem-sony-vaio-vgn-fs415e","status":"publish","type":"post","link":"https:\/\/www.lostmind.de\/blog\/en\/2011\/09\/30\/wlan-unter-ubuntu-auf-dem-sony-vaio-vgn-fs415e\/","title":{"rendered":"WiFi on Ubuntu with the Sony Vaio VGN-FS415E"},"content":{"rendered":"<p>Last week a colleague wanted to clean up and reinstall his laptop and asked me if it was possible to configure the Windows installation in a way that keeps the maintenance effort low because the system was just supposed to provide a browser and a media player. I configured the new Windows installation according to his requirements and offered him to install Ubuntu too, so he could test both operating systems.<\/p>\n<p>After the installation of\u00a0Ubuntu all hardware components were successfully initialized, but no WiFi networks did show up although the internal WiFi card was reported active. Unfortunately the solution was not that obvious.<\/p>\n<p>The Sony Vaio VGN-FS415E contains the following WiFi card manufactured by Atheros (<em>lspci<\/em> output):<\/p>\n<pre>Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)<\/pre>\n<p>The output of <em>dmesg<\/em>\u00a0provides the usual messages of the <em>cfg80211<\/em> module and concludes with:<\/p>\n<pre>ADDRCONF(NETDEV_UP):\u00a0wlan0:\u00a0link is not ready<\/pre>\n<p>That is a somewhat hidden error in the <em>ath5k<\/em>-driver, which cannot handle the Atheros chip.<\/p>\n<p>Personally, I thought that problems with Atheros chips would belong to the past since the ath5k- and ath9k-drivers have been introduced &#8211; but it seems that this specific chip falls through the cracks. So this is a case for the mawifi-driver, again.<\/p>\n<p>This driver was not sent to retirement for nothing and accordingly was never accepted into upstream kernel because it contains proprietary parts. Unfortunately there is no package <em>linux-restricted-modules-generic<\/em> included in the current Ubuntu version 11.04 &#8222;Natty Narwhal&#8220; (which was used so far to install the madwifi-driver). Building the driver yourself has the disadvantage that all problems return with the next kernel update because it is not automatically rebuilt.<br
\/>\nIn addition the madwifi driver has another flaw: if you wake up your laptop from suspend mode you will realize that WiFi is not working anymore.\u00a0The\u00a0<a
title=\"Solution to suspend problem\" href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/linux\/+bug\/267339\/comments\/13\" target=\"_blank\">solution<\/a>\u00a0can be found in a discussion on a bug report on\u00a0<a
title=\"Launchpad.net\" href=\"http:\/\/www.launchpad.net\">launchpad.net<\/a>.<\/p>\n<p>To practically resolve the issue we need a pice of software called &#8222;DKMS&#8220;.\u00a0<a
title=\"Wikipedia article on DKMS\" href=\"http:\/\/en.wikipedia.org\/wiki\/Dynamic_Kernel_Module_Support\">DKMS<\/a>\u00a0rebuilds drivers after a kernel update automatically. Ironically the last time I coped with this problem was in December 2008. A Google search for &#8222;madwifi dkms&#8220; comes up with\u00a0<a
title=\"Forum post written by me ubuntuusers.de bb about madwifi and DKMS\" href=\"http:\/\/forum.ubuntuusers.de\/topic\/atheros-ar242x-howto\/4\/#post-1748026\" target=\"_blank\">this forum post<\/a>\u00a0written by me (!) in the\u00a0<a
title=\"Ubuntuusers.de-Forum\" href=\"http:\/\/forum.ubuntuusers.de\/\">ubuntuusers.de-Forum<\/a>\u00a0as the second hit. It is a bit funny that nothing has happened\u00a0since that post.<\/p>\n<p>Since I have not found anything adequate I have a decided to provide a DKMS package for madwifi in a PPA by myself.<\/p>\n<p>At first you need to add my PPA:<\/p>\n<pre>$ sudo add-apt-repository ppa:mario-fischer\/ppa\r\n$ sudo apt-get update<\/pre>\n<p>Next you need to install the package madwifi-dkms:<\/p>\n<pre>$ sudo apt-get install madwifi-dkms<\/pre>\n<p>The package comes with the suspend problem fixed.<\/p>\n<p>Have fun with it \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week a colleague wanted to clean up and reinstall his laptop and asked me if it was possible to configure the Windows installation in a way that keeps the maintenance effort low because the system was just supposed to &hellip; <a
href=\"https:\/\/www.lostmind.de\/blog\/en\/2011\/09\/30\/wlan-unter-ubuntu-auf-dem-sony-vaio-vgn-fs415e\/\">Weiterlesen <span
class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/posts\/341"}],"collection":[{"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/comments?post=341"}],"version-history":[{"count":1,"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/posts\/341\/revisions"}],"predecessor-version":[{"id":342,"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/posts\/341\/revisions\/342"}],"wp:attachment":[{"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/media?parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/categories?post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lostmind.de\/blog\/wp-json\/wp\/v2\/tags?post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}