Ubuntu on Acer Aspire ZG5 : Scripts to fix Wifi And Microphone issues

11 01 2010

I lately had to set up a couple of Acer Aspire ZG5 laptops with ubuntu 8.10.
(later on this solution turned out to work also for 9.04 and 9.10).
After the installation that went on without a glitch i came to realize that the wifi card was recognized but not configured.
Also the audio input was not working. That being both the front mic and the jack input.

This : https://help.ubuntu.com/community/AspireOne is a extremely detailed and useful page where i could find the solutions to both my problems.
For entirely different purposes , days after i had to reinstall ubuntu , so i though i need to automatize these procedures.

Th following two scripts are just a collage of instructions found in that page.
Since they spared me loads of repetitive effort in the following installations of other machines i thought i’d share:

Microphone Issue :
Downloads and installs the latest alsa driver : link

Wifi Issue :
Downloads and installs the latest madwifi driver : here