我从来没有弄明白为什么我永远无法连接到公共WiFi网络使用Kubuntu18.04(也发生在17.04)。也就是说,直到我发现重新启动才允许我随后进行连接。
我实际上能够连接到网络通常,但门户登录失败,因为明显的域名解析失败。
我发现了以下内容:为什么我必须重新启动才能连接到wifi?,他们建议重新启动网络管理器。这没什么用。也不刷新DNS缓存。
这让我抓狂,因为否则几乎没有必要重新启动。有什么想法吗?
编辑@heynnema:
riccardo@T480:~$ ls -al /etc/resolv.conf
-rw-r--r-- 1 root root 342 mrt 21 09:04 /etc/resolv.conf
riccardo@T480:~$ cat /etc/resolv.conf
domain business.finl.fortis
nameserver 10.142.128.13
nameserver 10.142.210.10
nameserver 127.0.0.53
search *** publiek_internet
riccardo@T480:~$ resolvectl
resolvectl: command not found
riccardo@T480:~$ resolvectl
resolvectl: command not found
riccardo@T480:~$ cat /etc/netplan/*.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
riccardo@T480:~$ 发布于 2019-03-22 00:10:18
您的问题看起来像是有人修改了/etc/resolv.conf的符号链接,然后手动编辑了这个文件。让我们重新创建原始的符号链接。不要编辑/etc/resolv.conf!
cd /etc #更改目录
sudo mv resolv.conf resolv.conf.HOLD #重命名文件
sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf #重新创建符号链接
https://askubuntu.com/questions/1127504
复制相似问题