networkmanager

How does NetworkManager get external devices?

How does NetworkManager get external devices? Using Debian 12.2 with KDE Plasma 5.27.5 Where does nmcli device acquire the information about the external devices docker0, virbr0 ? # nmcli device console output DEVICE TYPE STATE CONNECTION eno1 ethernet connected Wired_eno1 lo loopback connected (externally) lo docker0 bridge connected (externally) docker0 virbr0 bridge connected (externally) virbr0 …

Total answers: 1

Host is getting an IP from a bridged device but a virt-manager VM is not

Host is getting an IP from a bridged device but a virt-manager VM is not First, my question is similar to How to set up bridged network with virtual machine and host with KVM (Virt-Manager)? but the marked answer does not work for me, and since the question is marked as solved, I thought it …

Total answers: 1

My DNS changes on its own but its changes can't be observed through /etc/resolv.conf

My DNS changes on its own but its changes can't be observed through /etc/resolv.conf I made a script to print /etc/resolv.conf and ping result of www.reddit.com for every second. I used Cloudflare’s DNS (1.1.1.1) because reddit is blocked in my country but bypassable using DNS. It seems that after around 10 seconds of logging into …

Total answers: 1

Linux using wrong default gateway

Linux using wrong default gateway I have two internet connections connected over two different network interfaces (ethernet and wifi). The ip addresses configured are 192.168.1.10 and 192.168.2.5 respectively. When I use ip route get 8.8.8.8 the system uses the default gateway with the lowest metric (the ethernet route). But when I do ip route get …

Total answers: 2

Why does my network interface's name change when I plug a different PCIe device?

Why does my network interface's name change when I plug a different PCIe device? My integrated RJ45 network card has an interface called enp5s0, if I plug a graphics card, it becomes enp6s0 messing all the configurations I’ve done. I’m often plugging unplugging PCIe devices and it’s becoming seriously annoying to manually change all the …

Total answers: 1

How are routes getting set on RockyLinux 8 VM?

How are routes getting set on RockyLinux 8 VM? I’ve got a RockyLinux 8-based VM which is correctly picking up the static routes set on its network (an OpenStack subnet with host_routes set). I don’t understand how though. Here’s the routes: [cloud-user@login-0 ~]$ ip r default via 10.29.107.254 dev ens5 proto dhcp src 10.29.107.20 metric …

Total answers: 1

Both systemd-networkd and NetworkManager starts by itself

Both systemd-networkd and NetworkManager starts by itself This is ubuntu 20.04. I stopped and disabled systemd-networkd. Then enabled NetworkManager. But after reboot both services come up. Keeps happening like that. I want to manage my server using nmcli, but not sure how to get it to work (and stop networkd) 349 systemctl stop systemd-networkd 350 …

Total answers: 3

Debian Testing: Network manager GUI not managing ethernet device

Debian Testing: Network manager GUI not managing ethernet device > nmcli device: DEVICE TYPE STATE CONNECTION eno1 ethernet unmanaged — lo loopback unmanaged — Then I run sudo nmcli dev set eno1 managed yes. But still it’s in unmanaged state?? How do I change it to manage? Also Note: cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile [ifupdown] managed=false …

Total answers: 1

How does my LTE modem show up as an unknown type "modem"

How does my LTE modem show up as an unknown type "modem" I have a Sierra Wireless RC7611 LTE module. I’ve put what I think are the relevant software versions below: # uname -r 5.4.215 # nmcli –version nmcli tool, version 1.22.10 # mmcli –version mmcli 1.18.12 # qmicli –version qmicli 1.30.8 Normally when the …

Total answers: 1

How to assign physical USB modem to NetworkManager connection

How to assign physical USB modem to NetworkManager connection I work on dual independent modem device (yocto based). I would like to assign each to a different NM connection. I register them using cmd: nmcli c add type gsm ifname cdc-wdm[0|1] con-name mdm1orange apn internet It works. The problem is, cdc-wdm suffix comes from device …

Total answers: 2

ModemManager + NetworkManager APN switching would kill modem flash?

ModemManager + NetworkManager APN switching would kill modem flash? I am working on a device with Quectel EG25G modem with multiplexed SIM card slot (poor man’s dual sim:)). Such configuration will require often APN changing. I am afraid that it is possible to wear modem’s flash memory in case when ModemManager+NetworkManager overwrites APN config on …

Total answers: 1

Define permanent static ip at fedora server 36 without nmcli command

Define permanent static ip at fedora server 36 without nmcli command Working with VirtualBox 6.1.38 and Fedora Server 36 as the guest, about to define a static ip address, I am reading many tutorials about how to do this, the nmcli command is involved. Something cumbersome is that the UUID shown through the sudo nmcli …

Total answers: 2

How can hostnames vary without having to add another name?

How can hostnames vary without having to add another name? i want acces all subdomain name without add manualy i tried with but doesn’t work 127.0.0.6 *.azka.dev 127.0.0.1 localhost 127.0.1.1 noob-Modern-14-B5M # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters # custom domain …

Total answers: 1

Why does Network Manager report no statistics for my networks?

Why does Network Manager report no statistics for my networks? I’m looking through the D-Bus API for Network Manager, on Centos Stream 8, and for the entire org.freedesktop.NetworkManager.Device.Statistics interface all the properties are showing 0 including RxBytes and TxBytes. This is for all network interfaces including the active ethernet port being used to log into …

Total answers: 1

Interface name in /etc/network/interfaces replaced with another interface name after reboot

Interface name in /etc/network/interfaces replaced with another interface name after reboot So I might have a rare corner case here, the thing is after rebooting my Debian 11 node the weirdest thing happened and that is the content of /etc/network/interfaces file has been altered, I have several actual interfaces and several virtual interfaces and tuns …

Total answers: 1

How To Change DNS Server?

How To Change DNS Server? I tether Internet to my PC from my phone via USB cable, so I get this in my /etc/resolv.conf: # Generated by NetworkManager nameserver 192.168.114.150 I guess that 192.168.114.150 just points to my phone. If NM overrides this file, how can I change it to my preferred DNS server? Asked …

Total answers: 2

Wi-Fi on fedora keeps reconnecting

Wi-Fi on fedora keeps reconnecting Here are logs of sudo journalctl -fu NetworkManager and sudo journalctl -b -g wlo1 Video Screenshot Additional info: wifi.scan-rand-mac-address is set to no Sometimes nmcli dev wifi list prints empty list, and i have to restart it so it will show my wifis again Asked By: Alice || Source According …

Total answers: 1

NetworkManager not auto creating profiles for wired connections

NetworkManager not auto creating profiles for wired connections I am running debian 11.3 x64 inside a vmware workstation 16.2. Initially the vm has only one network interface [NAT Switch of vmware] assigned. And it is working pretty well. I tried to add another network adapter to the VM [Bridged Switch]. And the device got added …

Total answers: 2

nmcli get actual name of interface (e.g. tun0) from connection name

nmcli get actual name of interface (e.g. tun0) from connection name 1.) I would like to get the actual name of an interface from the connection name used by nmcli. In my case, I have several VPN-connections, let’s call one of them my-vpn. Now, I do nmcli con up id my-vpn and the VPN-connection is …

Total answers: 2