从 17.04 升级到 17.10 后,Open wifi DNS 不起作用

从 17.04 升级到 17.10 后,Open wifi DNS 不起作用

我的房间有这个开放的 wifi 热点,您可以公开连接,然后询问密码(由大楼管理部门提供)。

升级到 17.10 后,我可以连接到 wifi 网络,但加载一段时间后(我可以从建筑物中看到这个“正在加载”的站点),出现 DNS 错误,我无法登录或加载任何其他站点:

加载错误

昨天添加了 google DNS 并在某个时候开始工作(需要多次重新加载和尝试),但今天我无法让它再次工作(没有改变任何东西)。

我一直在尝试找到解决此问题的不同方法,但直到现在还没有解决方案。

从我的手机(通过 wifi)创建和共享网络似乎可行,但这个热点却无济于事。

我注意到的一件事是,每次我启动计算机或重新启动网络管理器时,ubuntu 都会创建一个热点,因此每次我都需要停止它并选择我的网络。

网络管理器配置文件

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

[device]
wifi.scan-rand-mac-address=no

解析配置

jack@jack-vision:~$ systemctl status resolvconf
● resolvconf.service - Nameserver information manager
   Loaded: loaded (/lib/systemd/system/resolvconf.service; enabled; vendor preset: enabled)
   Active: active (exited) since Wed 2017-10-25 11:48:42 CEST; 11min ago
     Docs: man:resolvconf(8)
  Process: 764 ExecStart=/sbin/resolvconf --enable-updates (code=exited, status=0/SUCCESS)
  Process: 763 ExecStartPre=/bin/touch /run/resolvconf/postponed-update (code=exited, status=0/SUCCESS)
  Process: 759 ExecStartPre=/bin/mkdir -p /run/resolvconf/interface (code=exited, status=0/SUCCESS)
 Main PID: 764 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/resolvconf.service

Oct 25 11:48:42 jack-vision systemd[1]: Starting Nameserver information manager...
Oct 25 11:48:42 jack-vision systemd[1]: Started Nameserver information manager.
Oct 25 11:48:42 jack-vision resolvconf[764]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run
lines 1-16/16 (END)

ping 8.8.8.8 不起作用

jack@jack-vision:~$ sudo lshw -class network  
  *-network                 
       description: Wireless interface
       product: Wireless 7265
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 48
       serial: 60:57:18:82:87:7d
       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-16-lowlatency firmware=17.459231.0 ip=192.168.49.173 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:34 memory:f7900000-f7901fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.1
       bus info: pci@0000:04:00.1
       logical name: enp4s0f1
       version: 12
       serial: 80:fa:5b:14:df:71
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:28 ioport:d000(size=256) memory:f7814000-f7814fff memory:f7810000-f7813fff
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: docker0
       serial: 02:42:41:e4:a1:d3
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes

如果调试需要更多信息,请告诉我。

相关内容