Sorry, a stupid question.
If the bridge is the primary interface on host, and the homeassistant KVM also uses this bridge, will this cause them to get the same IP again?
Thank you for your patience.
Sorry, a stupid question.
If the bridge is the primary interface on host, and the homeassistant KVM also uses this bridge, will this cause them to get the same IP again?
Thank you for your patience.
Thank you for the configuration. I wonder, because you have turn dhcp off for the host, will this prevent the host from getting an ip address?
Two of the same MAC address can’t exist in the same IP space, else the router can’t route packets to them.
Yes, this seems to be my problem, both the host and the vm got the same IP, and I think I cannot send any traffic to either my host or vm. So my router is probably confused, as you suggested.
Is there an issue with using Docker for this?
I forgot to mention this, docker indeed work. However, ha requires a privileged docker running as root, which means ha essentially runs as root on the host.
This is fine on dedicated hardware, but as my server have other infrastructure on there, running ha as root can be a security risk.
Hi, thank you for your reply.
Did you make sure that eno2 is enslaved by br0? When br0 is created, it indeed have a unique MAC, but once it enslaves the hardware, it inherits the hardware address.
I have not tried to get the bridge going with virsh, but I was unsuccessful with the virt-manager ui. And I assume they use the same system?
It is possible I have accidentally disabled some network virtualization kernel component during setup, as I have implemented some mods from secureblue. I will try to reset everything to default, and try again.
Do you have a tutorial for making bridge via virsh that you can share.
This is why you buy laptop from companies that officially support linux.
I use a laptop to run home console, and its display can turn off just fine.
I was intentionally vague in my response, since I don’t want to confuse the reader. Specifically, the improvement I was referring to is when you run two monitor with different refresh rate or different scaling factor.
Yes, on wayland you will need to run a particular program as root to be able to read all keyboard input. See xremap or mouseless (unmaintained).
Since you already give the program plenty of trust to let it read all your inputs, I think running it as root is not outrages.
That being said, in an ideal scenario, we would be able to set fine-grained permissions like, allow to read keyboard input but deny communication with other app, networks, and storage etc. But I don’t know any OS that can do this.
A more straightforward way to remap key is to get a keyboard with QMK firmware, that doesn’t cover all the use case of ahk, xremap, or mouseless, but that don’t require you to trust another program to run as root.
It is the same on Windows, people can put a ahk script in your autostart, logs your password and send it to anyone on the internet, all without even invoking UAC.
So yeah, wayland is kind of important…
Basically, you should try it, if it works, keep using it; if it doesn’t, switch to xorg to see if that fixes your problem.
Wayland is newer, have better support for multi-monitor, and application cannot see what you are typing in other app (so they cannot log your key and send your password to someone else).
Python is great for scripting, but the advantages of nu and powershell are the ease of interacting with system utilities and the availability of common commands like ls
etc.
of course, you can always do subprocess.run
or os.listdir()
, but that is not as simple as scripting in nu or powershell.
At some point we all need to move away from insecure bash scripts.
I think you can install nvidia driver by clicking on “third party driver and codecs” check box during install? It should even register the secureboot key automatically.
Ubuntu installer is pretty good IMO, at least much better than the current fedora installer.
I haven’t used ubuntu for a while, maybe these are outdated impressions.
You just uninstall and reinstall no?
LOL, this is a joke, on most popular distro it is quite easy, on ubuntu and mint, it is just clicking a check box and set a password for secureboot.
On fedora is clicking a button, and run a single line of command.
Many distro has nvidia images that don’t need any configuration, like popOS, ublue derivates, and vanilla OS etc.
I have been using my old GTX1060 on ublue for couple years now.
I think the complains are most about distro developers needs to do extra work, just because nvidia refuse to play nicely with open source, like everyone else did.
I don’t think most desktop OS has a consistent back button that the OS can hook into?
On the other hand, fragmentation makes software hard to support all of them. It seems like a dilemma.
The safest way to install update is via offline updates, which don’t need sudo on the user side, but requires a restart. See https://fedoramagazine.org/offline-updates-and-fedora-35/ for a good explanation.
I believe offline upgrade is also the default on every OS out there, for example gnome software only installs updates offline.
Even if you have to use sudo to upgrade (or journalctl
, dmesg
, both are sysadmin tasks and not typically done by a normal user), you are still only giving root privileges to these trusted programs distributed by your distro, not some random installers on the internet, unless you are using AUR.
I am genuinely curious what other commands with sudo that you need to run on a daily bases, for tasks that is unrelated to system administration?
You don’t need to use sudo command that much on linux. I personally only need to use it to edit two config files when setting up my system, that is it.
One for pre-connection mac randomization, one to enable a kernel module I need, because my distro disable many of them by default. I am very conscious of the changes I am making. However on Windows, I have no idea what the app installers are doing.
Not to mention, most users don’t even need to make these changes. Per-network randomization is likely good enough for most user, and they probably not on a security-hardened distro which disables tons of kernel modules.
For a office work and entertainments, flatpak apps are more than enough. And developers can choose to get their sdk via flatpak or podman dev containers. None of them requires sudo.
Is there a good reason for a everyday user (not a tinker nor a system admin) to use sudo in linux?
I have figured out the problem. Turns out although in
ip a
, the MAC is the same, yet in the vm, the MAC is different.As for being assigned the same IP, it is just my stupid router… Getting a new MAC (creating a new VM) fixes the issue.