Aquest document també està en Català : WifiDocs/Acer5021WLMi_Amd64/Catala

También hay este documento en Castellano : WifiDocs/Acer5021WLMi_Amd64/Castellano

1. Configuring the ACER 5021WLMi / Aspire 5020 wireless Broadcom card in Ubuntu 64 bits

(i) I installed the network card just after install Ubuntu, if it doesn't work maybe is because you have another configuration over this one, just be sure that your system is clean.

1.1. Be the root user

1.2. Install the headers and the essentials

(i) you understand -... is some variable text. I'm not sure if the last one is really necessary

1.3. Install GCC-3.4

Info <!> To install these packages use the next commands in the directory where you downloaded them :

1.4. Install 'ndiswrapper'

(i) I recommend to install from Ubuntu repository directly because the official 'ndiswrapper' release doesn't work for me

  1. Go to: 'System>Administration>Synaptic'

  2. Search : ndiswraper, and install the package ndiswrapper-utils'
    • (i) (This document has been tested with the version 'ndiswrapper 1.1-4ubuntu2')

  3. Download the drivers from Acer, use these links :
  4. In one terminal go to the unzipped directory where the files are
  5. Execute the next commands into the terminal to install the drivers :
      ndiswrapper -i bcmwl5.inf
    Check if driver loaded ok with this command:
      ndiswrapper -l

IconsPage/example.png

(i) If you have the Acer 5021WLMi the result now will be : wlan0     No scan results

1.5. Install 'acer_acpi'

(i) You won't see any error if GCC-3.4 and Linux headers are installed properly

(i) If you see this line: [ 2211.470445] acer_acpi: Wireless value 1, then every thing is all right.

(i) This time you will see the wireless information of local ap's, and your card is working !

1.6. Make your wireless work

  • To make your wireless connection work every time you open your computer, execute these commands in a terminal:
      modprobe acer_acpi
      chmod 777 /proc/acpi/acer/wireless
      echo "enabled: 1" >/proc/acpi/acer/wireless
  • Go to 'System>Administration>Networking' and 'deactivate' all the interfaces:

  • Choose your wireless connection with these properties:
    • Enable option must be activated
    • ESSID must have the name of your wireless network
    • Key type (for me only works in hexadecimal mode with the hexadecimal value)
    • WEP key (in my case the hexadecimal value of the key, I got it from my router)
    • Configuration : DHCP (Maybe you don't use DHCP, who knows?)
  • Push OK
  • Activate the 'Wireless connection'
  • Set 'Default gateway device' to 'wlan0'
  • Check your connection
      ping -c 3 www.ubuntulinux.org

(i) You must receive packets in return.

IconsPage/example.png

  • Example of good output:
      PING www.ubuntulinux.org (82.211.81.166) 56(84) bytes of data.
      64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=1 ttl=46 time=139 ms
      64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=2 ttl=46 time=106 ms
      64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=3 ttl=46 time=95.4 ms
      --- www.ubuntulinux.org ping statistics ---
      3 packets transmitted, 3 received, 0% packet loss, time 2000ms
      rtt min/avg/max/mdev = 95.463/113.655/139.475/18.761 ms

1.7. Create one init script

  • If you don't want to activate the acer_acpi module every time you turn on your computer, you can create one script :
      cd /etc/init.d
      gedit wirelessAcerAcpi
    Add the following text into the file, save it in /etc/init.d/ and close gedit :
      #!/bin/sh
    
      case "$1" in
    
            start|"")
    
                    modprobe ndiswrapper
    
                    modprobe acer_acpi
    
                    chmod 777 /proc/acpi/acer/wireless
    
                    echo "enabled: 1" >/proc/acpi/acer/wireless
    
                    ;;
    
            stop)
    
                    echo "enabled: 0" >/proc/acpi/acer/wireless
    
                    ;;
    
      esac
    Execute the next commands :
      chmod 755 /etc/init.d/wirelessAcpi
      cd /etc/rc2.d

(i) This is the default starting commands in Ubuntu Breezy

  • This command will create a link to the acer_acpi starting script:
      ln -s ../init.d/wirelessAcerAcpi S99wirelessAcerAcpi

(i) In the wiki S99wirelessAcerAcpi text is a link, I don't know why, just write the line in the terminal

1.8. Every time you want to connect to one network

  • Next time you turn on your computer, you only have to set the data in 'System>Administration>Networking'

(i) I suggest you create different profiles for every network you are going to use, this way it will be easier to turn on the wireless network.

1.9. Sop being Root

  • At the begininng we set up the terminal to be root user, it's a good idea to exit this and become a normal user again if you don't close down the terminal. You can exit root user by this command;
      exit

If you want to contact the author : <kurushi at mixmail dot com>


CategoryNetworking

WifiDocs/Acer5021WLMi_Amd64 (last edited 2013-12-14 00:21:49 by knome)