-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当我安装macos时,提示没有连接网络 #171
Comments
I am experiencing the same issue, with symptoms identical to this comment: #173 (comment). After manually configuring the network interface in the VM with the correct IP address, subnet mask, and gateway, I was able to ping 20.20.20.1 and ping 8.8.8.8 successfully. This indicates that basic network connectivity is working, and the problem seems to lie with the DHCP service. To investigate further, I manually started dnsmasq with the following command: /usr/sbin/dnsmasq --dhcp-range=20.20.20.21,20.20.20.21 --dhcp-host=00:16:CB:94:A1:60,,20.20.20.21,QEMU,infinite --dhcp-option=option:netmask,255.255.255.0 --dhcp-option=option:dns-server,20.20.20.1 --dhcp-option=option:router,20.20.20.1 --address=/host.lan/20.20.20.1 -d This produced the following logs:
Despite this, the VM still ends up with a 169.x.x.x address:
After executing these commands in the terminal on the macOS virtual machine installation screen, I was able to connect to the server and proceed with the installation. |
@puteulanus |
@puteulanus |
No, I didn't encounter it, but during system initialization after the installation, DHCP still doesn't seem to work properly. |
Do you know how to solve it #93 (comment) |
Yes, I did encounter this issue. It feels like a DNS service needs to be restarted, but I don't know how to do that in recovery mode. After writing to What I did was close the terminal after making the changes, repeatedly entering the system installation option (the first few attempts may still show network error messages). However, after a few tries, I was able to proceed to the license agreement step. At this point, if I return to the terminal, both |
@virkingz |
I followed the process: I don't know where I made a mistake |
Did you use the -v parameter to persist the disk? If you did, try deleting everything and then starting over. |
OK, I'll give it a try |
I attempted to install macOS 14 in a fresh container and encountered the same issue. This is a screenshot of the logs obtained after modifying the boot args. Since I couldn't prevent the system from rebooting upon a crash and don't understand why the VNC resolution changes during the crash, it's been very difficult to capture the complete logs. PS: |
Operating system
ubuntu:16.04
Description
当我安装macos时,提示没有连接网络
Docker compose
version: '3.8'
services:
macos:
image: dockurr/macos
container_name: macos # 容器名称
environment:
VERSION: "13"
privileged: true
volumes:
- ./osx:/storage # 磁盘映射的本地路径,我在Portainer中讲到过
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
dns:
- 8.8.8.8
- 8.8.4.4
ports:
- 8006:8006
- "5900:5900/tcp"
- "5900:5900/udp"
stop_grace_period: 2m
Docker log
Screenshots (optional)
The text was updated successfully, but these errors were encountered: