Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
kdplus
帖子: 10
注册时间: 2014-11-12 21:06
系统: ubuntu

Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#1

帖子 kdplus » 2014-11-12 21:37

第一次安装ubuntu,对linux的操作不熟,楼主是小白一个T-T。
然后遇到了wifi的问题。wifi开关打不开,似乎是驱动的问题。
型号如下。
yusn@Yusn-Wang:~$ lspci|grep -i net
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
04:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)

查了很多之后然后发现了这个网址
http://www.linuxfoundation.org/collabor ... orking/alx

The alx driver provide support for:

1969:1091 - AR8161 Gigabit Ethernet
1969:1090 - AR8162 Fast Ethernet
1969:10A1 - QCA8171 Gigabit Ethernet
1969:10A0 - QCA8172 Fast Ethernet

atl1c provides support for these chipsets:

1969:1063 - AR8131 Gigabit Ethernet
1969:1062 - AR8132 Fast Ethernet
1969:2062 - AR8152 v2.0 Fast Ethernet
1969:2060 - AR8152 v1.1 Fast Ethernet
1969:1073 - AR8151 v1.0 Gigabit Ethernet
1969:1083 - AR8151 v2.0 Gigabit Ethernet

欣喜万分是支持我的网卡的意思么。
然后下载之后解压按照上面的说法作:
./scripts/driver-select alx

make

sudo make install

接着在make 这步里面出现了这样的错误
yusn@Yusn-Wang:~/下载$ cd compat-drivers-2013-03-04-u/
yusn@Yusn-Wang:~/下载/compat-drivers-2013-03-04-u$ ./scripts/driver-select alxProcessing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
Backup exists: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
yusn@Yusn-Wang:~/下载/compat-drivers-2013-03-04-u$ make
make -C /lib/modules/3.13.0-39-generic/build M=/home/yusn/下载/compat-drivers-2013-03-04-u modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.13.0-39-generic'
rm: 无法删除"/home/yusn/下载/compat-drivers-2013-03-04-u/.tmp_versions/compat.mod": 权限不够
make[1]: *** [crmodverdir] 错误 1
make[1]:正在离开目录 `/usr/src/linux-headers-3.13.0-39-generic'
make: *** [modules] 错误 2
yusn@Yusn-Wang:~/下载/compat-drivers-2013-03-04-u$

同时在sudo m ake install 又出现了错误
yusn@Yusn-Wang:~/下载/compat-drivers-2013-03-04-u$ sudo make install
[sudo] password for yusn:

Warning:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against ./scripts/update-initramfs. If your distribution does not require this
send a patch against the '/usr/bin/lsb_release -i -s': "Ubuntu"
tag for your distribution to avoid this warning.

make -C /lib/modules/3.13.0-39-generic/build M=/home/yusn/下载/compat-drivers-2013-03-04-u modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.13.0-39-generic'
scripts/Makefile.build:44: /home/yusn/下载/compat-drivers-2013-03-04-u/alx/Makefile: 没有那个文件或目录
make[3]: *** 没有规则可以创建目标“/home/yusn/下载/compat-drivers-2013-03-04-u/alx/Makefile”。 停止。
make[2]: *** [/home/yusn/下载/compat-drivers-2013-03-04-u/alx] 错误 2
make[1]: *** [_module_/home/yusn/下载/compat-drivers-2013-03-04-u] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.13.0-39-generic'
make: *** [modules] 错误 2
yusn@Yusn-Wang:~/下载/compat-drivers-2013-03-04-u$
yusn@Yusn-Wang:~/下载/compat-drivers-2013-03-04-u$

总之就是不知道怎么办了

然后继续谷歌然后发现似乎是内核版本的问题?
表示完全不懂了...只好向站里的大大们求助。
指个明路T-T谢谢!
头像
xcjzhd
帖子: 203
注册时间: 2009-06-12 20:20
系统: The Great ArchLinux

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#2

帖子 xcjzhd » 2014-11-12 22:05

sudo rfkill list <= 给看看这句命令的执行结果.
负责解决各种UEFI问题
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#3

帖子 poloshiao » 2014-11-13 7:35

請先參閱
https://help.ubuntu.com/stable/ubuntu-h ... nnect.html
如果還未解決
把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo rfkill list all
把結果直接複製 貼上來
头像
xcjzhd
帖子: 203
注册时间: 2009-06-12 20:20
系统: The Great ArchLinux

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#4

帖子 xcjzhd » 2014-11-13 9:01

所以, 很可能不是驱动的问题. 只是softlock, 执行下面的命令:
sudo rfkill unblock
负责解决各种UEFI问题
kdplus
帖子: 10
注册时间: 2014-11-12 21:06
系统: ubuntu

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#5

帖子 kdplus » 2014-11-13 10:15

xcjzhd 写了:所以, 很可能不是驱动的问题. 只是softlock, 执行下面的命令:
sudo rfkill unblock
今天网络似乎好点了,这里应该能回复了。
yusn@Yusn-Wang:~$ sudo rfkill unblock 0
[sudo] password for yusn:
yusn@Yusn-Wang:~$ sudo rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
yusn@Yusn-Wang:~$

执行之后也是锁住的。不知道怎么办呢。这个一开始也试过的
kdplus
帖子: 10
注册时间: 2014-11-12 21:06
系统: ubuntu

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#6

帖子 kdplus » 2014-11-13 10:19

poloshiao 写了:請先參閱
https://help.ubuntu.com/stable/ubuntu-h ... nnect.html
如果還未解決
把下面指令 複製 貼進終端機 執行
0. uname -r
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo rfkill list all
把結果直接複製 貼上來
谢谢~下面是执行结果
yusn@Yusn-Wang:~$ uname -r
3.13.0-39-generic
yusn@Yusn-Wang:~$ sudo lshw -numeric -class network
*-network DISABLED
description: Wireless interface
product: AR9485 Wireless Network Adapter [168C:32]
vendor: Qualcomm Atheros [168C]
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: 2c:d0:5a:6d:8c:e0
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.13.0-39-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:18 memory:f7900000-f797ffff memory:f7980000-f798ffff
*-network
description: Ethernet interface
product: QCA8171 Gigabit Ethernet [1969:10A1]
vendor: Qualcomm Atheros [1969]
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 10
serial: 74:d0:2b:8c:5b:58
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix 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 ip=192.168.1.103 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:50 memory:f7800000-f783ffff ioport:d000(size=128)
yusn@Yusn-Wang:~$ sudo ifconfig -a
eth0 Link encap:以太网 硬件地址 74:d0:2b:8c:5b:58
inet 地址:192.168.1.103 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::76d0:2bff:fe8c:5b58/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
中断:19

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:1801 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:1801 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:281588 (281.5 KB) 发送字节:281588 (281.5 KB)

wlan0 Link encap:以太网 硬件地址 2c:d0:5a:6d:8c:e0
BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)

yusn@Yusn-Wang:~$ sudo route -nv
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
yusn@Yusn-Wang:~$ sudo rfkill list all
0: acer-wireless: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
yusn@Yusn-Wang:~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#7

帖子 poloshiao » 2014-11-13 11:27

*-network DISABLED
product: AR9485 Wireless Network Adapter [168C:32]
configuration: broadcast=yes driver=ath9k driverversion=3.13.0-39-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
1. 無線網卡 AR9485
2. 作用中 驅動 ath9k

3. AR9485 在 ath9k 支援名單
http://wireless.kernel.org/en/users/Drivers/ath9k
Supported chipsets
AR9485 1x1 SB 11n PCIe
3-1. http://wireless.kernel.org/en/users/Drivers/ath9k
uname -r
3.13.0-39-generic
4. 需要配合 3.13.0-39-generic 下載/安裝 合適的 Backports driver
Backports provide drivers released on newer kernels backported for usage on older kernels. Always use the latest stable release!
4-1. https://backports.wiki.kernel.org/index.php/Main_Page
4-2. https://backports.wiki.kernel.org/index ... umentation

5. 額外參閱
5-1. http://askubuntu.com/questions/461417/w ... 512#547512
5-2. viewtopic.php?f=116&t=465602
kdplus
帖子: 10
注册时间: 2014-11-12 21:06
系统: ubuntu

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#8

帖子 kdplus » 2014-11-13 20:03

poloshiao 写了:
*-network DISABLED
product: AR9485 Wireless Network Adapter [168C:32]
configuration: broadcast=yes driver=ath9k driverversion=3.13.0-39-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
1. 無線網卡 AR9485
2. 作用中 驅動 ath9k

3. AR9485 在 ath9k 支援名單
http://wireless.kernel.org/en/users/Drivers/ath9k
Supported chipsets
AR9485 1x1 SB 11n PCIe
3-1. http://wireless.kernel.org/en/users/Drivers/ath9k
uname -r
3.13.0-39-generic
4. 需要配合 3.13.0-39-generic 下載/安裝 合適的 Backports driver
Backports provide drivers released on newer kernels backported for usage on older kernels. Always use the latest stable release!
4-1. https://backports.wiki.kernel.org/index.php/Main_Page
4-2. https://backports.wiki.kernel.org/index ... umentation

5. 額外參閱
5-1. http://askubuntu.com/questions/461417/w ... 512#547512
5-2. viewtopic.php?f=116&t=465602
谢谢~~请问是按照每个各自的readme来操作么。不太会T-T
kdplus
帖子: 10
注册时间: 2014-11-12 21:06
系统: ubuntu

Re: Qualcomm Atheros QCA8171 Gigabit Ethernet 驱动安装问题【小白求助】

#9

帖子 kdplus » 2014-11-13 22:07

谢谢各位~
已经解决了。尝试了很多以上的方法
最后是成功安装了wicd 第一次装的时候不能装。
现在折腾了这么久之后总算能装了!谢谢各位~
回复