Acer (ACER) Aspire e1-472g ubuntu-12.04 install wireless card driver

Source: Internet
Author: User
Tags acer

I bought a more affordable laptop in the previous phase Acer (ACER) Aspire e1-472g, with the Linux operating system, due to work needs to replace the operating system ubuntu12.04, but has been plagued by no wireless network card driver. This problem has finally been solved today, the method is as follows:

1. Check the wireless adapter model:

~$ LSPCI-VNN | grep Wireless

My wireless network card is:

02:00.0 network Controller [0280]: Qualcomm Atheros qca9565/ar9565 Wireless Network Adapter [168c:0036] (rev 01)

2. Install linux-headers-generic andbuild-essential

~$ sudo apt-get install linux-headers-generic build-essential

3. Download the driver file and install:

~$ Sudo-i wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.9-rc4/compat-drivers-3.9-rc4-2-s.tar.bz2
~$ Tar xvf compat-drivers-3.9-rc4-2-s.tar.bz2
~$ CD compat-drivers-3.9-rc4-2-s/
~$ ./scripts/driver-select ath9k
~$ Make then found an error:./scripts/gen-compat-autoconf.sh/home/renjie/downloads/compat-drivers-3.9-rc4-2-s/.config/home/ Renjie/downloads/compat-drivers-3.9-rc4-2-s/config.mk > Include/linux/compat_autoconf.hmake-c/lib/modules/ 3.2.0-77-generic/build m=/home/renjie/downloads/compat-drivers-3.9-rc4-2-s modulesmake[1]: Entering directory '/usr/src/ Linux-headers-3.2.0-77-generic '   CC [m] /home/renjie/downloads/compat-drivers-3.9-rc4-2-s/compat/ Main.oin file included from/home/renjie/downloads/compat-drivers-3.9-rc4-2-s/include/linux/compat-2.6.h:71:0,                  from < command line &GT;:0:/HOME/RENJIE/DOWNLOADS/COMPAT-DRIVERS-3.9-RC4-2-S/INCLUDE/LINUX/COMPAT-3.8.H:49:32: Error: ' Kref_get_unless_ Zero ' redefine include/linux/kref.h:47:32: note: The previous definition of ' Kref_get_unless_zero ' in this make[3]: * * * [/home/renjie/downloads/ COMPAT-DRIVERS-3.9-RC4-2-S/COMPAT/MAIN.O] Error 1MAKE[2]: * * * [/home/renjie/downloads/compat-drivers-3.9-rc4-2-s/ COMPAT] Error 2make[1]: * * [_module_/home/renjie/downloads/compat-drivers-3.9-rc4-2-s] Error 2make[1]: Leaving directory '/usr/src/ Linux-headers-3.2.0-77-generic ' Make: * * * [modules] Error 2 Error resolved: Open
Include/linux/compat-3.8.h, find line 49th: static inline int __must_check Kref_get_unless_zero (struct kref *kref) {return Atomic_add_unless (&kref->refcount, 1, 0);} Comment out this function:
/*static Inline int __must_check kref_get_unless_zero (struct kref *kref) {return atomic_add_unless (&kref-> ; refcount, 1, 0);} */
Then continue,

Make
Make install
modprobe ath9k





Acer (ACER) Aspire e1-472g ubuntu-12.04 install wireless card driver

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.