You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Parallels Desktop下Linux Mint虚拟机可Ping但无法上网,无法安装Parallels Tools求助

Hey Chris, let’s work through this problem together—since you can ping IP addresses but can’t load web pages, the root cause is almost certainly DNS resolution or proxy interference, which is also blocking your Parallels Tools installation. Here’s a step-by-step breakdown to fix this:

1. Fix DNS Resolution (The Most Likely Culprit)

Being able to ping addresses means your basic network connection is working, but failing to browse the web points to a DNS issue (your VM can’t translate domain names like google.com into IPs). Here’s how to fix it:

  • Open Linux Mint’s Network Settings: Click the network icon in the system tray, then select "Network Settings".
  • Select your active network connection (labeled something like "Shared Network" from Parallels), go to the IPv4 tab.
  • Switch the DNS setting from "Automatic" to "Manual". Add these DNS servers:
    • 8.8.8.8 (Google’s public DNS)
    • 8.8.4.4 (Google’s secondary DNS)
  • Click "Apply" and restart your network connection (toggle it off and back on via the system tray).
  • Verify it works: Open a terminal and run nslookup google.com—if it returns an IP address, your DNS is fixed.
2. Check for Unintended Proxy Settings

Sometimes your VM might inherit a proxy setting from your host or have one enabled by default, which blocks web traffic:

  • Open Mint’s System Settings > Network Proxy.
  • Set the mode to "None" (if your Mac isn’t using a proxy) or "Automatic" if you rely on a corporate proxy.
  • For terminal checks: Run echo $http_proxy and echo $https_proxy. If either returns a URL, unset them temporarily with:
    unset http_proxy
    unset https_proxy
    
  • To make this permanent, edit your ~/.bashrc file and remove any lines that set http_proxy or https_proxy.
3. Install Parallels Tools Without Needing Web Access

You don’t actually need an internet connection to install Parallels Tools—Parallels includes the installer directly in the VM:

  • In the Parallels Desktop window, click the Actions menu at the top, then select "Install Parallels Tools".
  • A CD-ROM image will mount in your Mint VM. Open the mounted drive (you’ll see it on your desktop or in the file manager).
  • Right-click inside the folder and select "Open in Terminal".
  • Run the installer with:
    sudo ./install
    
  • Follow the on-screen prompts to complete the installation, then restart your VM when asked.
4. Try a Different Parallels Network Mode

If the Shared Network mode is still giving you trouble, switch to Bridged Network temporarily:

  • In Parallels Desktop, shut down your Mint VM.
  • Go to VM Settings > Network.
  • Change the network mode from "Shared Network" to "Bridged Network", then select your host’s active network interface (e.g., Wi-Fi or Ethernet).
  • Start the VM again, check if you can browse the web, and try installing Parallels Tools if you haven’t already.

Once you get the network sorted, Parallels Tools should install smoothly, and that’ll also improve things like drag-and-drop between your Mac and VM, and better display resolution. Let me know if any of these steps hit a snag—I can help troubleshoot further!

内容的提问来源于stack exchange,提问作者Chris

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.08 23:52:40