I tried to connect a Linux HVM to the network by setting up the IPv4 addresses manually. I entered the IP address, netmask, gateway, and the virtual DNS addresses as shown in the NetVM settings of the Qube. The settings in the HVM match the addresses of the NetVM, but I still get no network connection.
It worked in Qubes 4.2.4 with the same HVM, but it doesn’t work anymore since Qubes 4.3.
Hey.
Your Linux HVM based on qube template or it installation from ISO?
Can you share which distro run within this Qube?
IP you use match to one provided by Qubes?
net mask is /8 or /32?
I installed the HVM using the latest Kali ISO and tried it with /8, /16, /24 and /32 netmasks, but none of them worked. The NetVM address in the Qube settings shows 255.255.255.255, which I tried first and I assume is /32 (also according to ‘ip addr show’).
Set mask as /32, after that turnoff and on network adapter within kali to solve the issue. (by gui or cli, both will work)
Best way to get Kali in Qubes is via unman repo and templates.
Yeah, it seems to work after I changed the NetVM to sys-firewall, but unfortunately it doesn’t work with sys-whonix.
And how does the Kali template work? I haven’t seen a Kali template in the Templates article of Qubes, only the official ones like Debian and Fedora and the community ones like Whonix, Ubuntu, Arch, Gentoo, and CentOS. Also, on the download page for Kali, there was nothing directly for Xen/Qubes.
I have set up a bunch of Standalone Qubes in my time.
While I did not use Kali,
I would use the numbers for the manual settings from the
—Kali-Qube (whatever you named it) "Settings’ that is the Settings right below Kali-Qubes.
First Tab. Numbers are visible. I would not use the numbers from sys-net or the sys-firewall.
That might be correct, but I have never used those.
Just what I have discovered works.
To change the size of the screen, change the Screen Resolution.
- Try to configure as in network part from Windows documentation:
How to install Windows qubes in Qubes OS — Qubes OS Documentation
In case you switch from sys-firewall to sys-whonix, you’ll need a static IP network configuration; DHCP won’t work for sys-whonix. Sometimes this may also happen if you keep using sys-firewall. In both cases, proceed as follows:
Check the IP address allocated to the qube - either from GUI Manager, or via qvm-ls -n WindowsNew from a dom0 terminal (e.g., 10.137.0.x with gateway 10.138.y.z).
In the Windows qube, open the Network Manager and change the IPv4 configuration of the network interface from “Automatic” to “Manual”.
Enter the Address: 10.137.0.x in our example.
Enter the Netmask: 255.255.255.0
Enter the Gateway: 10.138.y.z in our example.
Enter DNS: 10.139.1.1,10.139.1.2 (the Virtual DNS addresses used by Qubes.
Click “Apply”. You should now see “Connected”.
-
You can connect it as next?
Kali ↔ sys-firewall ↔ sys-whonix ↔ sys-firewall2 ↔ sys-net
Look like he replace it with ParrotOS, so last option is to build Kali with template builder:
(But I have no idea which issues you may face during it)