首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >WiFi连接,但没有互联网- MacBookPro

WiFi连接,但没有互联网- MacBookPro
EN

Ask Ubuntu用户
提问于 2020-11-23 07:06:40
回答 2查看 90关注 0票数 0

由于我对Linux缺乏经验,所以我只能基于我在互联网上寻找的东西。

基本上我的苹果机连接到家里的WiFi,得到IP和它需要的所有东西.没有互联网作为奖励。右上角的图标显示为wifi标志?在里面。我在终端机得到的信息表明如果慢一点就行了。但是任何通过gui或终端、浏览器进行的更新都只是说没有互联网连接(我认为请求超时了)。

不过,通过电缆可以工作得很好。和我的手机连接到同一个WiFi没有问题,并与互联网有正常的连接。

lspci -knn \ grep网-A3

代码语言:javascript
复制
0b:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4321 802.11a/b/g/n [14e4:4328] (rev 05)
    Subsystem: Apple Inc. AirPort Extreme [106b:008c]
    Kernel driver in use: wl
    Kernel modules: ssb, wl

ifconfig

代码语言:javascript
复制
ens5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.17  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::222:41ff:fe3a:2a39  prefixlen 64  scopeid 0x20<link>
        ether 00:22:41:3a:2a:39  txqueuelen 1000  (Ethernet)
        RX packets 1366  bytes 655344 (655.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1639  bytes 180794 (180.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1841  bytes 184586 (184.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1841  bytes 184586 (184.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wls4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.18  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::223:12ff:fe22:7ee0  prefixlen 64  scopeid 0x20<link>
        ether 00:23:12:22:7e:e0  txqueuelen 1000  (Ethernet)
        RX packets 104  bytes 9306 (9.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 158113
        TX packets 498  bytes 46487 (46.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16

ping 192.168.2.1路由器

代码语言:javascript
复制
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
64 bytes from 192.168.2.1: icmp_seq=7 ttl=255 time=11.3 ms
64 bytes from 192.168.2.1: icmp_seq=8 ttl=255 time=4.78 ms
64 bytes from 192.168.2.1: icmp_seq=9 ttl=255 time=316 ms
64 bytes from 192.168.2.1: icmp_seq=14 ttl=255 time=212 ms
64 bytes from 192.168.2.1: icmp_seq=19 ttl=255 time=212 ms
64 bytes from 192.168.2.1: icmp_seq=29 ttl=255 time=220 ms
From 192.168.2.18 icmp_seq=30 Destination Host Unreachable
From 192.168.2.18 icmp_seq=31 Destination Host Unreachable
From 192.168.2.18 icmp_seq=32 Destination Host Unreachable
^C
--- 192.168.2.1 ping statistics ---
34 packets transmitted, 6 received, +3 errors, 82,3529% packet loss, time 33626ms
rtt min/avg/max/mdev = 4.782/162.751/316.144/115.161 ms, pipe 4

ping google.com测试DNS是否有效

代码语言:javascript
复制
PING google.com (172.217.16.46) 56(84) bytes of data.
64 bytes from 172.217.16.46: icmp_seq=1 ttl=118 time=336 ms
From 192.168.2.18 icmp_seq=2 Destination Host Unreachable
64 bytes from 172.217.16.46: icmp_seq=11 ttl=118 time=228 ms
^C
--- google.com ping statistics ---
18 packets transmitted, 2 received, +1 errors, 88,8889% packet loss, time 45744ms
rtt min/avg/max/mdev = 227.951/282.041/336.132/54.090 ms
EN

回答 2

Ask Ubuntu用户

发布于 2020-11-23 07:17:12

听起来您需要重新配置resolvconf

代码语言:javascript
复制
sudo dpkg-reconfigure resolvconf

同意“为动态更新做好/etc/准备?”然后重新启动。

票数 0
EN

Ask Ubuntu用户

发布于 2020-11-25 07:23:30

看来你找错司机了。连接到互联网并运行

代码语言:javascript
复制
sudo apt install firmware-b43-installer
sudo apt purge bcmwl-kernel-source

然后重新启动。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1294568

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档