Questions tagged [nmcli]
Nmcli (Network Manager Client) is a command-line tool for controlling NetworkManager.
200 questions
4
votes
3
answers
158
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
60
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
33
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
35
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
394
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
497
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
93
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
203
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
79
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
36
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
261
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
77
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
93
views
NetworkManager and /etc/nsswitch.conf
I'm looking to use SSSD to connect to Wifi WPA2 Enterprise (on Ubuntu 22.04).
Can nmcli (NetworkManager) use /etc/nsswitch.conf to authenticate to Wifi without user action for on-site mode ?
Thanks ...
0
votes
0
answers
149
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 ...
0
votes
0
answers
261
views
NetworkManager only connects to WiFi when I pass --ask (but it already has the password)
I have a wifi connection defined by NetworkManager on a Raspberry Pi 4, using the latest Rasbian OS (bookworm):
me@hostname:~ $ sudo cat /etc/NetworkManager/system-connections/my_wifi_ssid....