安装ubuntu之后无法搜索到wifi

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
刘泽lst
帖子: 9
注册时间: 2018-01-17 19:13
系统: ubuntu14.04

安装ubuntu之后无法搜索到wifi

#1

帖子 刘泽lst » 2018-01-17 19:22

安装ubuntu之后无法搜到wifi信号,但是电脑可以连接有线网,附加驱动中有一个broadcom 802.11的开源驱动,通过iwconfig,发现没有wlan0这一项.
sudo lshw -numeric -class network
[sudo] password for liuze:
*-network
description: Ethernet interface
product: QCA8172 Fast Ethernet [1969:10A0]
vendor: Qualcomm Atheros [1969]
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 10
serial: 20:47:47:02:a3:bc
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=49.140.197.117 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:31 memory:d8500000-d853ffff ioport:2000(size=128)
*-network UNCLAIMED
description: Network controller
product: BCM43142 802.11b/g/n [14E4:4365]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:d8400000-d8407f
以上显示 network unclaimed。是不是网卡驱动不行呀。
请大神说一下详细的解决步骤,谢谢 !
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 安装ubuntu之后无法搜索到wifi

#2

帖子 vickycq » 2018-01-17 19:35

安装附加驱动中的 broadcom 802.11 私有驱动,重新启动计算机
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
刘泽lst
帖子: 9
注册时间: 2018-01-17 19:13
系统: ubuntu14.04

Re: 安装ubuntu之后无法搜索到wifi

#3

帖子 刘泽lst » 2018-01-17 22:38

vickycq 写了:安装附加驱动中的 broadcom 802.11 私有驱动,重新启动计算机
系统自带开源驱动bcmwl-kernel-source:但是,他的信息是:
This package contains Broadcom 802.11 Linux STA wireless driver for use
with Broadcom's BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-,
BCM43224-, and BCM43225-, BCM43227- and BCM43228-based hardware.
并不支持BCM43142,请问我应该怎么下载私有驱动。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 安装ubuntu之后无法搜索到wifi

#4

帖子 vickycq » 2018-01-18 0:27

bcmwl-kernel-source 是 Broadcom 提供的私有驱动 "wl",支持 BCM43142。使用时如遇到模块无法加载的情况可尝试关闭主板的安全启动 (Secure Boot) 功能。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
刘泽lst
帖子: 9
注册时间: 2018-01-17 19:13
系统: ubuntu14.04

Re: 安装ubuntu之后无法搜索到wifi

#5

帖子 刘泽lst » 2018-01-18 10:51

vickycq 写了:bcmwl-kernel-source 是 Broadcom 提供的私有驱动 "wl",支持 BCM43142。使用时如遇到模块无法加载的情况可尝试关闭主板的安全启动 (Secure Boot) 功能。
谢谢,已经好了
刘泽lst
帖子: 9
注册时间: 2018-01-17 19:13
系统: ubuntu14.04

Re: 安装ubuntu之后无法搜索到wifi

#6

帖子 刘泽lst » 2018-01-19 14:03

刘泽lst 写了:
vickycq 写了:bcmwl-kernel-source 是 Broadcom 提供的私有驱动 "wl",支持 BCM43142。使用时如遇到模块无法加载的情况可尝试关闭主板的安全启动 (Secure Boot) 功能。
谢谢,已经好了
请问,我的wifi信号是搜到了,也能连接上,但是上不了网,是咋回事呢。看望上教程什么改一个/etc/resolv.conf,写进去一个namesever 8.8.8.8/8.8.4.4,仍然是不管用 。望指教 !
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 安装ubuntu之后无法搜索到wifi

#7

帖子 vickycq » 2018-01-19 15:22

连接无线网,在“不能上网”的情况下执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
cat /etc/issue
ifconfig -a
iwconfig
sudo lshw -C net
ls -l /etc/resolv.conf
cat /etc/resolv.conf
ping -c3 114.114.114.114
ping -c3 www.sohu.com
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
刘泽lst
帖子: 9
注册时间: 2018-01-17 19:13
系统: ubuntu14.04

Re: 安装ubuntu之后无法搜索到wifi

#8

帖子 刘泽lst » 2018-01-19 16:32

vickycq 写了:连接无线网,在“不能上网”的情况下执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
cat /etc/issue
ifconfig -a
iwconfig
sudo lshw -C net
ls -l /etc/resolv.conf
cat /etc/resolv.conf
ping -c3 114.114.114.114
ping -c3 www.sohu.com
liuze@liuze-Lenovo-G400:~$ uname -a
Linux liuze-Lenovo-G400 3.19.0-80-generic #88~14.04.1-Ubuntu SMP Fri Jan 13 14:54:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
liuze@liuze-Lenovo-G400:~$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

liuze@liuze-Lenovo-G400:~$ ifconfig -a
eth1 Link encap:以太网 硬件地址 20:47:47:02:a3:bc
inet 地址:49.140.197.117 广播:49.140.197.255 掩码:255.255.255.0
inet6 地址: 2001:da8:b000:1002:2247:47ff:fe02:a3bc/64 Scope:Global
inet6 地址: fe80::2247:47ff:fe02:a3bc/64 Scope:Link
inet6 地址: 2001:da8:b000:1002:455d:c23e:e46e:e90a/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:921238 错误:0 丢弃:255 过载:0 帧数:0
发送数据包:554345 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:1004683907 (1.0 GB) 发送字节:38916567 (38.9 MB)
中断:16

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

wlan0 Link encap:以太网 硬件地址 1c:3e:84:ea:c6:db
inet 地址:10.149.33.110 广播:10.149.63.255 掩码:255.255.192.0
inet6 地址: fe80::1e3e:84ff:feea:c6db/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:12411 错误:0 丢弃:0 过载:0 帧数:66190
发送数据包:7931 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:6806234 (6.8 MB) 发送字节:889439 (889.4 KB)
中断:17

liuze@liuze-Lenovo-G400:~$ iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11abg ESSID:"JLU.NET"
Mode:Managed Frequency:2.462 GHz Access Point: 58:66:BA:A4:9A:30
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off

eth1 no wireless extensions.

liuze@liuze-Lenovo-G400:~$ sudo lshw -C net
[sudo] password for liuze:
*-network
description: Ethernet interface
product: QCA8172 Fast Ethernet
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth1
version: 10
serial: 20:47:47:02:a3:bc
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=49.140.197.117 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:31 memory:d8500000-d853ffff ioport:2000(size=128)
*-network
description: Wireless interface
product: BCM43142 802.11b/g/n
vendor: Broadcom Limited
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: 1c:3e:84:ea:c6:db
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) ip=10.149.33.110 latency=0 multicast=yes wireless=IEEE 802.11abg
resources: irq:17 memory:d8400000-d8407fff
liuze@liuze-Lenovo-G400:~$ Is -l /etc/resolv.conf
Is:未找到命令
liuze@liuze-Lenovo-G400:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

nameserver 127.0.1.1
liuze@liuze-Lenovo-G400:~$ ping -c3 114.114.114.114
PING 114.114.114.114 (114.114.114.114) 56(84) bytes of data.
64 bytes from 114.114.114.114: icmp_seq=1 ttl=78 time=25.0 ms
64 bytes from 114.114.114.114: icmp_seq=2 ttl=83 time=25.1 ms
64 bytes from 114.114.114.114: icmp_seq=3 ttl=65 time=25.1 ms

--- 114.114.114.114 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 25.098/25.120/25.140/0.183 ms
liuze@liuze-Lenovo-G400:~$ ping -c3 www.sohu.com
PING fhbtt.a.sohu.com (122.72.87.8) 56(84) bytes of data.
64 bytes from 122.72.87.8: icmp_seq=1 ttl=50 time=38.6 ms
64 bytes from 122.72.87.8: icmp_seq=2 ttl=50 time=38.6 ms
64 bytes from 122.72.87.8: icmp_seq=3 ttl=50 time=38.6 ms

--- fhbtt.a.sohu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 38.607/38.623/38.654/0.021 ms
liuze@liuze-Lenovo-G400:~$
刘泽lst
帖子: 9
注册时间: 2018-01-17 19:13
系统: ubuntu14.04

Re: 安装ubuntu之后无法搜索到wifi

#9

帖子 刘泽lst » 2018-01-19 17:47

vickycq 写了:连接无线网,在“不能上网”的情况下执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
cat /etc/issue
ifconfig -a
iwconfig
sudo lshw -C net
ls -l /etc/resolv.conf
cat /etc/resolv.conf
ping -c3 114.114.114.114
ping -c3 www.sohu.com
liuze@liuze-Lenovo-G400:~$ uname -a
Linux liuze-Lenovo-G400 3.19.0-80-generic #88~14.04.1-Ubuntu SMP Fri Jan 13 14:54:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
liuze@liuze-Lenovo-G400:~$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

liuze@liuze-Lenovo-G400:~$ ifconfig -a
eth1 Link encap:以太网 硬件地址 20:47:47:02:a3:bc
inet6 地址: fe80::2247:47ff:fe02:a3bc/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:4290 错误:0 丢弃:31 过载:0 帧数:0
发送数据包:2409 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:756492 (756.4 KB) 发送字节:365182 (365.1 KB)
中断:16

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

wlan0 Link encap:以太网 硬件地址 1c:3e:84:ea:c6:db
inet 地址:10.149.33.110 广播:10.149.63.255 掩码:255.255.192.0
inet6 地址: fe80::1e3e:84ff:feea:c6db/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:14397 错误:0 丢弃:0 过载:0 帧数:103539
发送数据包:8506 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:7004795 (7.0 MB) 发送字节:963782 (963.7 KB)
中断:17

liuze@liuze-Lenovo-G400:~$ iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11abg ESSID:"JLU.NET"
Mode:Managed Frequency:2.412 GHz Access Point: 58:66:BA:A4:8C:F0
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off

eth1 no wireless extensions.

liuze@liuze-Lenovo-G400:~$ sudo lshw -C net
[sudo] password for liuze:
*-network
description: Ethernet interface
product: QCA8172 Fast Ethernet
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth1
version: 10
serial: 20:47:47:02:a3:bc
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
resources: irq:31 memory:d8500000-d853ffff ioport:2000(size=128)
*-network
description: Wireless interface
product: BCM43142 802.11b/g/n
vendor: Broadcom Limited
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: 1c:3e:84:ea:c6:db
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) ip=10.149.33.110 latency=0 multicast=yes wireless=IEEE 802.11abg
resources: irq:17 memory:d8400000-d8407fff
liuze@liuze-Lenovo-G400:~$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 1月 2 21:45 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
liuze@liuze-Lenovo-G400:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

nameserver 127.0.1.1
liuze@liuze-Lenovo-G400:~$ ping -c3 114.114.114.114
PING 114.114.114.114 (114.114.114.114) 56(84) bytes of data.
64 bytes from 114.114.114.114: icmp_seq=1 ttl=64 time=26.5 ms
64 bytes from 114.114.114.114: icmp_seq=2 ttl=77 time=49.4 ms
64 bytes from 114.114.114.114: icmp_seq=3 ttl=62 time=67.2 ms

--- 114.114.114.114 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 26.575/47.779/67.280/16.662 ms
liuze@liuze-Lenovo-G400:~$ ping -c3 www.sohu.com
PING fhbtt.a.sohu.com (122.72.87.8) 56(84) bytes of data.
64 bytes from 122.72.87.8: icmp_seq=1 ttl=50 time=55.2 ms
64 bytes from 122.72.87.8: icmp_seq=2 ttl=50 time=123 ms
64 bytes from 122.72.87.8: icmp_seq=3 ttl=50 time=40.9 ms

--- fhbtt.a.sohu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 40.962/73.296/123.720/36.126 ms
liuze@liuze-Lenovo-G400:~$
上边的那个是连接有线网的情况下得到的,这个是连接无线的情况下的得到的。
刘泽lst
帖子: 9
注册时间: 2018-01-17 19:13
系统: ubuntu14.04

Re: 安装ubuntu之后无法搜索到wifi

#10

帖子 刘泽lst » 2018-01-20 10:37

求大神指点呀 :em06
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 安装ubuntu之后无法搜索到wifi

#11

帖子 poloshiao » 2018-01-20 18:31

sudo lshw -C net
*-network
description: Ethernet interface
product: QCA8172 Fast Ethernet
vendor: Qualcomm Atheros
physical id: 0
*-network
description: Wireless interface
product: BCM43142 802.11b/g/n
vendor: Broadcom Limited
physical id: 0
1. 你的有線網卡跟無線網卡都是分配了 physical id: 0
通常這是啟用了不合適的網卡驅動引起的
ifconfig -a
eth1 Link encap:以太网 硬件地址 20:47:47:02:a3:bc
inet6 地址: fe80::2247:47ff:fe02:a3bc/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:4290 错误:0 丢弃:31 过载:0 帧数:0
发送数据包:2409 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:756492 (756.4 KB) 发送字节:365182 (365.1 KB)
中断:16
2. 你的有線網卡 並沒有分配 IP
但是卻有 接收字节/发送字节 的記錄 ?
通常這是啟用了不合適的網卡驅動引起的

3. 建議
3-1. 請 @vickycq
指點你 如何安裝 合適的網卡驅動
3-2. 在還沒安裝 合適的網卡驅動以前
先從 Bios 把 有線網卡硬件 關閉
確保測試無線網卡時 不會受到干擾
回复