我使用的是 Ubuntu 17.10,在顶部主栏中看到一个问号代替了无线符号。我无法连接到互联网,但是我可以连接到路由器。我的 Windows 笔记本电脑上的互联网连接正常。
我试过了:
sudo service network-manager restart
sudo rfkill unblock all
这是 lshw:
sudo lshw -class network
*-network
description: Ethernet interface
product: 82579LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 04
serial: 3c:97:0e:c1:3b:29
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:31 memory:f2500000-f251ffff memory:f253b000-f253bfff ioport:6080(size=32)
*-network
description: Wireless interface
product: Centrino Advanced-N 6205 [Taylor Peak]
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 34
serial: a4:4e:31:48:ff:18
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.13.0-21-generic firmware=18.168.6.1 ip=192.168.0.100 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:32 memory:f1c00000-f1c01fff
*-network DISABLED
description: Ethernet interface
physical id: 2
logical name: wwp0s20u4i6
serial: ae:99:db:a9:c7:96
capabilities: ethernet physical
configuration: broadcast=yes driver=cdc_mbim driverversion=22-Aug-2005 firmware=CDC MBIM link=no multicast=yes
任何帮助都将不胜感激。
答案1
可能是您没有将默认网关设置为路由器。尝试查看 的输出route -n
并查看目标 列出的内容0.0.0.0
。
也可能是您没有获取 DNS。您可以尝试nslookup
对某个已知 URL 执行此操作,看看是否能获取任何信息。