-
Notifications
You must be signed in to change notification settings - Fork 269
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
dnsmasq failure when running make boot #241
Comments
Adding --tftp-no-fail to the dnsmasq command in create_net.sh fixes it for now as it lets dnsmasq start,i do not known,could you tell me it |
I'm encountering the same problem running Fedora 36. I worked around it by using the QEMU networking helper scripts. Ensure $ ip link
[snip]
virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc <snip>
link/ether 52:54:00:c1:6c:b4 brd ff:ff:ff:ff:ff:ff Next, modify the - -netdev tap,id=tap0,ifname=tap0,script=no,downscript=no -net nic,netdev=tap0,model=virtio \
- -netdev tap,id=tap1,ifname=tap1,script=no,downscript=no -net nic,netdev=tap1,model=i82559er \
+ -nic bridge,br=virbr0,model=virtio-net-pci \ If ssh root@qemu-guest-hostname
Unable to negotiate with qemu-guest-hostname port 22: no matching host key type found. Their offer: ssh-rsa Either fix the ssh server set-up on the guest, or ignore the warning: ssh -oHostKeyAlgorithms=+ssh-rsa root@qemu-guest-hostname I realize this issue is really old, but I suspect it affects more Fedora users. A more recent similar issue was opened in #300. |
In order to get
Example:
|
When running make boot dnsmasq fails to start and the guest gets assigned a random ip, not in the same subnet as tap0.
Here's the output of
make boot
:ifconfig
on the guest:ifconfig
on the host:Adding
--tftp-no-fail
to the dnsmasq command increate_net.sh
fixes it for now as it lets dnsmasq start, but I don't know what is the usage of tftp and if it will be needed in the future.Aditional info
dnsmasq version: 2.84rc2
qemu version: 5.2.0
The text was updated successfully, but these errors were encountered: