無法連線到網路:macOS Catalina

無法連線到網路:macOS Catalina

我使用的是配備 macOS 10.15.4 Beta (19E258a) 的 MacBook Pro(15 英寸,2017 年)。我無法連接到任何無線網路。

我使用防毒程式“Virus Scanner Plus”對磁碟進行了全面掃描,並刪除了所有惡意軟體。然後我嘗試以安全模式和命令啟動ping,結果如下:

tommy@MACBP-5 ~ % ping google.com
ping: cannot resolve google.com: Unknown host

請幫我連接到我的 Wi-Fi。

編輯1:我嘗試了@ParthShah建議的所有方法:1.更新我的筆記型電腦的軟體:無法檢查更新。 2. 停用 Wi-Fi 然後再啟用它: 不起作用。 3. 重新啟動我的數據機和路由器: 不起作用。 4. 重新啟動我的筆記型電腦並啟動到安全模式: 無法運作。 5. 建立新的網路位置: 不起作用。另外,我ping再次嘗試了該命令,並得到了與上面相同的結果。

EDIT2:我可以透過系統偏好設定(即連接到Apple軟體更新伺服器(swscan.apple.com))檢查軟體更新,但除此之外什麼都沒有。

EDIT3:@GordonDavisson,我可以連接到 Wi-Fi 網絡,但無法連接到互聯網。 (我已經根據這個編輯了問題的標題。)系統介面顯示網路訊息,如下所示: Wi-Fi網路系統訊息 「iStat Menus 6」也顯示了該資訊: iStat 選單 6:網絡 iStat 選單 6:網路訊息

但是,我無法連接到網路。這個問題出在我的 MacBook Pro 上僅有的;我的 Surface Laptop i7 可以完美地連接到網路。

編輯4:@GordonDavisson

tommy@MACBP-5 ~ % cat /etc/resolv.conf
#
# macOS Notice
#
# This file is not consulted for DNS hostname resolution, address
# resolution, or the DNS query routing mechanism used by most
# processes on this system.
#
# To view the DNS configuration used by this system, use:
#   scutil --dns
#
# SEE ALSO
#   dns-sd(1), scutil(8)
#
# This file is automatically generated.
#
nameserver 10.100.0.1

編輯5:@GordonDavisson

tommy@MACBP-5 ~ % scutil --dns
DNS configuration

resolver #1
  nameserver[0] : 10.100.0.1
  if_index : 15 (utun1)
  flags    : Supplemental, Request A records
  reach    : 0x00000027 (Reachable,Transient Connection,Connection Required,Automatic Connection On Demand)
  order    : 101600

resolver #2
  nameserver[0] : 10.100.0.1
  if_index : 15 (utun1)
  flags    : Request A records
  reach    : 0x00000027 (Reachable,Transient Connection,Connection Required,Automatic Connection On Demand)
  order    : 200000

resolver #3
  domain   : local
  options  : mdns
  timeout  : 5
  flags    : Request A records
  reach    : 0x00000000 (Not Reachable)
  order    : 300000

resolver #4
  domain   : 254.169.in-addr.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records
  reach    : 0x00000000 (Not Reachable)
  order    : 300200

resolver #5
  domain   : 8.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records
  reach    : 0x00000000 (Not Reachable)
  order    : 300400

resolver #6
  domain   : 9.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records
  reach    : 0x00000000 (Not Reachable)
  order    : 300600

resolver #7
  domain   : a.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records
  reach    : 0x00000000 (Not Reachable)
  order    : 300800

resolver #8
  domain   : b.e.f.ip6.arpa
  options  : mdns
  timeout  : 5
  flags    : Request A records
  reach    : 0x00000000 (Not Reachable)
  order    : 301000

DNS configuration (for scoped queries)

resolver #1
  search domain[0] : kornet
  nameserver[0] : 192.168.1.1
  if_index : 5 (en0)
  flags    : Scoped, Request A records
  reach    : 0x00020002 (Reachable,Directly Reachable Address)

resolver #2
  nameserver[0] : 10.100.0.1
  if_index : 15 (utun1)
  flags    : Scoped, Request A records
  reach    : 0x00000027 (Reachable,Transient Connection,Connection Required,Automatic Connection On Demand)

編輯6:@GordonDavisson 系統偏好設定中的網路窗格

編輯7:@GordonDavisson 找到答案!是 VPN 造成的。 (服務“VPN Unlimited”)

答案1

  1. 如果有可用更新,請更新您的 Mac。您可以透過前往 Apple 選單 > 關於本機 > 軟體更新來進行檢查。

  2. 停用 Wi-Fi(您可以透過點擊 Wi-Fi 圖示並選擇功能表列中的「關閉 Wi-Fi」來執行此操作)並等待幾秒鐘,然後重新啟用它。

  3. 重新啟動一切:

    • 透過前往 Apple 選單並重新啟動來重新啟動 Mac
      重新啟動數據機和路由器
  4. 建立新的網路位置

    • 在 Mac 上,按一下 Apple 選單
    • 點選系統偏好設定
    • 點擊網路
    • 點擊“位置”下拉式選單(這表示“自動”,除非您之前已更改過)
    • 點擊編輯位置
    • 點選加號 (+) 新增位置
    • 如果需要,可以重新命名新位置
    • 按一下“完成”,然後按一下“應用”(網頁窗格)。

    現在嘗試測試您的網路問題是否已解決。

檢查連結以了解更多詳情:https://macreports.com/mac-catalina-wi-fi-problems-fix/

相關內容