電腦GE60,NIC:
$ lshw -c network
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: Atheros Communications Inc.
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 13
serial: 8c:89:a5:07:12:36
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full firmware=alx ip=192.168.108.216 latency=0 multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:47 memory:f7d00000-f7d3ffff ioport:c000(size=128)
原理: basically 'stolen' the driver of a related card with existing linux drivers.
1.首先下載所需包:sudo apt-get install build-essential linux-headers
然后下載相關無線網卡的linux版驅動compat-wireless-2012-05-10-p.tar.bz2:
http://linuxwireless.org/download/co...5-10-p.tar.bz2
並下載patch文件compat-patch.txt和tty.c.patch.txt(tty文件不是必須的,但我的電腦需要了){兩文件已在文件欄上傳了}
將以上兩文件復制的compat-wireless-2012-05-10-p目錄下,執行以下命令:
/path/to/我設置位了compat-wireless-2010-05-10-p當前目錄:
tar -xvf /path/to/compat-wireless-2012-05-10-p.tar.bz2cd ./compat-wireless-2012-05-10-p
patch --dry-run -p2 < /path/to/compat-patch.txt
patch -p2 < /path/to/compat-patch.txt
patch --dry-run -p2 < /path/to/tty.c.patch.txt
patch -p2 < /path/to/tty.c.patch.txt
sudo make
sudo make install 然后運行ifconfig -a 看看有沒有eth0了,正常情況應該是沒問題的,要是有問題,請將問題粘貼出來,一起研究以下
2, 也可以直接修改patch文件總指定的文件,同樣可以解決問題
原文出自:http://ubuntuforums.org/showthread.php?t=2008332