Questions tagged [nmcli]

35 questions
0
votes
1 answer

The MACs of the device and the connection didn't match

When using nmcli connection up MyNetwork ifname wlan0 I get this error Error: device 'wlan0' not compatible with connection 'MyNetwork':The MACs of the device and the connection didn't match.. The interface used to activate the network was another…
ignacio
  • 1,181
  • 2
  • 15
  • 28
0
votes
0 answers

How to use the nmcli Python module

I'm at loss how to integrate the python-nmcli module into my Python script. I seem to be fundamentally misunderstanding something about that module. foo@bar:~ $ pip install python-nmcli Looking in indexes: https://pypi.org/simple,…
Marcel Stör
  • 22,695
  • 19
  • 92
  • 198
0
votes
1 answer

ModemManager: Signal-/cell information report functionality

I love the simplicity of mmcli but I'm missing some information that for example qmicli (--nas-get* and other commands) provides. So my question is: Does ModemManager/mmcli provide any continuous report functionality for the signal strength and…
Nickes
  • 3
  • 5
-1
votes
1 answer

Is it possible to manage a device instead of a connection with Ansible 'nmcli' module?

I have to apply the following configuration on several hosts via Ansible: nmcli device modify "device_name" ens192 ipv6.method "disabled" I wanted to use the nmcli module instead of a command as it is cleaner. But from what I found on the…
-1
votes
1 answer

How do I use I/O redirection in combination with the nmcli help option?

Consider the following command, which I am trying to execute on Red Hat Enterprise Linux 8 system. nmcli con add help | less Some of the help pages for specific COMMANDs are quite lengthy and piping to less is not working as I would expect. Normally…
shawn1874
  • 1,288
  • 1
  • 10
  • 26
1 2
3