Questions tagged [nmcli]
Nmcli (Network Manager Client) is a command-line tool for controlling NetworkManager.
199 questions
0 votes
1 answer
65 views
cannot assign static ip to ubuntu machine using nmcli
I am assigning a static IP 4 address to ens33 interface on Ubuntu 24.04 using nmcli. But I'm getting the error. Error. unknown connection 'ens33' The commmand I am exceuting on terminal: sudo nmcli ...
4 votes
3 answers
243 views
Are there any options for the nmcli command that outputs the SSID of a wifi including, if present, trailing spaces?
I have to do a discover the available wifi networks by command line. I know the followed command nmcli to list the wifi: > nmcli dev wifi list | less which, on my Linux system, gives an output of ...
0 votes
1 answer
122 views
Debian 12 (Beelink mini-PC, Intel AX200) shows Wi-Fi as “unavailable” in nmcli — solved by enabling NetworkManager and installing wpasupplicant
Question (the problem statement) I’m running Debian 12 on a Beelink mini-PC with an Intel AX200 Wi-Fi adapter. However, I could not connect to Wi-Fi. Running nmcli device always showed: wlo1 wifi ...
0 votes
0 answers
44 views
Wifi disconnects automatically when its being used for around 30 seconds
I am using GNOME 46 desktop environment and Network Manager for handling network (at least I think I am). After trying to fix WiFi not connecting automatically, I stumbled upon another issue: When I ...
0 votes
0 answers
48 views
nmcli or nmtui for Access point on the same subet as my wired connection (trying to emulate a wifi-eth router box)
I manged to create connections that issue a Wifi access point using nmcli. I did nmcli device wifi hotspot con-name Wifi_AP_pcie ifname wlan0 ssid MirrorNET password superstrongpassword This is ...
1 vote
1 answer
453 views
On my Ubuntu-based distro (Linux Lite), how to auto delete all network connections, disable Wi-Fi and networking as part of booting process?
My end goal here is to have no saved network connections, no enabled Wi-Fi or networking each time I boot up my computer, so that I have to go through a sequence of steps in order to access internet. ...
1 vote
0 answers
743 views
Error: Connection activation failed: IP configuration could not be reserved
I am provisioning RHEL 9 machines via an Ansible playbook that contains this task: - name: Set DNS server community.general.nmcli: conn_name: "{{ conn_name | default('ens192') }}" ...
0 votes
1 answer
111 views
Ethernet connection "unavailable"
I've searched all related questions to this topic, to no avail. I've got an ethernet card on my laptop, but the connection will not work. I checked in the BIOS, and the card is enabled. I can't ...
0 votes
1 answer
279 views
How to make ip link settings persistent on ubuntu 22.04
I'm trying to make persistent some ip links settings on ubuntu 22.04 desktop. Commands below works fine but are not persistent: ip link add mynet-shim link eno1 type macvlan mode bridge ip addr add ...
0 votes
0 answers
91 views
Show encryption used by WiFi stations connected to my hotspot
I'm hosting a hotspot from my PC, which has a wired internet connection and a wifi adapter. The OS is Fedora 40, using Network Manager and wpa_supplicant. I have 3 wifi devices which are able to ...
0 votes
0 answers
49 views
Kali rtl18723be unable to view list available ssid
I have installed Kali like usual OS, in the process of installation didn't get any problems, I've connected to my wifi. But after install Kali, I can't to view list of the SSIDs by command nmcli ...
0 votes
1 answer
310 views
nmcli g gives the wrong status because there is no wifi hardware on the machine
My machine is a VM with no wifi hardware. It is connected with eth0 and everything works as it should, except for nmcli g status, which shows the "CONNECTIVITY" as "unknown" and &...
0 votes
1 answer
99 views
why nmcli got multi same ssid and null ssid access point
I tried using nmcli to get the access_point list, but I got multiple entries with the same SSID and some with a null SSID. I'm not sure whether this is a problem. My system info: Linux Raiden 6.10.10-...
0 votes
0 answers
168 views
NetworkManger to set the device's hostname
We have a dhcp server (linux) to serve a few printers Nuc devices. It is configured to assign IPv4 address, gateway, dns1, dns2, dns3, dns4, ntp1, ntp2, dns-search domains, domain suffix and hostname ...
2 votes
0 answers
599 views
setup vpn connection using nmcli - Connection activation failed: No valid secrets
I'm trying to configure an openconnect VPN connection in nmcli on a Debian 12 running SwayWM. I manage to connect to the vpn using nmcli with the --ask flag but it cannot read vpn secrets provided ...