![安装 connman 后已连接但没有互联网](https://linux22.com/image/133992/%E5%AE%89%E8%A3%85%20connman%20%E5%90%8E%E5%B7%B2%E8%BF%9E%E6%8E%A5%E4%BD%86%E6%B2%A1%E6%9C%89%E4%BA%92%E8%81%94%E7%BD%91%20.png)
在 Arch Linux 上。管理我的连接,可以netctl
访问互联网,切换到connman
(已安装connman
,禁用netctl
服务)。
已关注维基百科上的说明,连接到 wifi 网络,提供密码,connman
报告已连接。但是,我仍然无法访问互联网。
$ ping google.com
[...] Temporary failure in name resolution
$ ping 8.8.8.8
[...] Destination Host Unreachable
[...] Destination Host Unreachable
$ connmanctl state
State = ready
OfflineMode = False
SessionMode = False
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 0c:54:a5:09:7e:fb brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 48:d2:24:06:33:0b brd ff:ff:ff:ff:ff:ff
inet 169.254.169.37/16 brd 169.254.255.255 scope global wlp2s0
valid_lft forever preferred_lft forever
inet6 fe80::4ad2:24ff:fe06:330b/64 scope link
valid_lft forever preferred_lft forever
$ ip route
default dev wlp2s0 scope link
169.254.0.0/16 dev wlp2s0 proto kernel scope link src 169.254.169.37