Kali Linux network issue: No default route was set
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**Describe the issue**
When trying to install Kali linux, I am unable to connect to the network. I get the following message
The network autoconfiguration was successful. However, no default route was set: the
system does not know how to communicate with hosts on the Internet. This will make it
impossible to continue with the installation unless you have the first image from a set
of installation media, a 'Netinst' image, or packages available on the local network.
If you are unsure, you should not continue without a default route: contact your local
network administrator about this problem.
Continue without a default route?
I have tried using all network cards. Currently, the default, virtio-net-pci. system QEMU 6.1 ARM Virtual Machine (alias of virt 6.1) (virt). i have also tried 6.0 , 5.2.
**Configuration**
* UTM Version: Version 2.4.1 (40)
* OS Version: kali-linux-2021.4a-installer-arm64.iso
* Apple Silicon
**Debug log**
Running: -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:127.0.0.1:4001,server,nowait -nodefaults -vga none -spice "unix=on,addr=/Users/dilan/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/80E6BCE4-11E4-4E11-932D-78360596B260.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=on" -device virtio-ramfb-gl -cpu cortex-a72 -smp cpus=8,sockets=1,cores=8,threads=1 -machine virt,highmem=off -accel hvf -accel tcg,tb-size=1024 -boot menu=on -m 4096 -device intel-hda -device hda-duplex -name "Kali Linux" -device qemu-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device virtio-blk-pci,drive=drive0,bootindex=0 -drive "if=none,media=disk,id=drive0,file=/Users/dilan/Library/Containers/com.utmapp.UTM/Data/Documents/Kali Linux.utm/Images/disk-0.qcow2,cache=writethrough" -device usb-storage,drive=drive1,removable=true,bootindex=1,bus=usb-bus.0 -drive if=none,media=cdrom,id=drive1 -drive "if=pflash,media=disk,id=drive2,file=/Users/dilan/Library/Containers/com.utmapp.UTM/Data/Documents/Kali Linux.utm/Images/EFI_Code-AARCH64.img,cache=writethrough" -drive "if=pflash,media=disk,id=drive3,file=/Users/dilan/Library/Containers/com.utmapp.UTM/Data/Documents/Kali Linux.utm/Images/EFI_VARS.img,cache=writethrough" -device virtio-net-pci,mac=4A:EA:BC:36:28:8C,netdev=net0 -netdev vmnet-macos,mode=shared,id=net0 -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -uuid 80E6BCE4-11E4-4E11-932D-78360596B260 -rtc base=localtime
WARNING: Image format was not specified for '/Users/dilan/Library/Containers/com.utmapp.UTM/Data/Documents/Kali Linux.utm/Images/EFI_Code-AARCH64.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
WARNING: Image format was not specified for '/Users/dilan/Library/Containers/com.utmapp.UTM/Data/Documents/Kali Linux.utm/Images/EFI_VARS.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: Started vmnet interface with configuration:
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: MTU: 1500
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: Max packet size: 1514
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: MAC: 5a:c1:e9:87:93:55
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: DHCP IPv4 start: 192.168.64.1
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: DHCP IPv4 end: 192.168.64.254
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: IPv4 subnet mask: 255.255.255.0
qemu-aarch64-softmmu: -netdev vmnet-macos,mode=shared,id=net0: info: UUID: DE333BDC-F5EA-4F70-8E89-9CCEBB4156EA
qemu-aarch64-softmmu: warning: Spice: playback:0 (0x14d8d0120): setsockopt failed, Operation not supported on socket
qemu-aarch64-softmmu: warning: Spice: record:0 (0x14d8d01d0): setsockopt failed, Operation not supported on socket
gl_version 30 - es profile enabled
WARNING: running without ARB/KHR robustness in place may crash
Contributor guide
Assessment
This issue has not been assessed yet.