Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nmcli]

Nmcli (Network Manager Client) is a command-line tool for controlling NetworkManager.

3
votes
2answers
54 views

Get connected Wi-Fi network signal strength with nmcli

I'm able to get the signal strength of all Wi-Fi networks with the following command: $ nmcli -t -f SIGNAL device wifi list $ 77 67 60 59 55 45 44 39 39 37 I would like to reduce ...
2
votes
0answers
107 views

Cannot connect to WiFi with nmcli, although secrets are provided

I am using nmcli on ArchLinux (version 1.14.5dev+17+gba83251bb-1 from the official package repository) to connect to wifi. This works perfectly for all wireless networks apart from this one Vodafone ...
0
votes
1answer
58 views

nmcli - save wifi connection

I used command-line tool for controlling NetworkManager (nmcli) to "Turn On Wi-Fi Hotspot", like following: # nmcli device wifi hotspot ssid X password X ifname wlan1 Device 'wlan1' successfully ...
1
vote
0answers
17 views

Realtek Wifi interface is not stable in Kali linux [duplicate]

I have a kali linux system(VM) and I added realtek wireless adapter to it and same is detecting as a wireless interface ip address [...] 3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 ...
0
votes
1answer
31 views

Limit `nmcli dev wifi` to display one entry per unique SSID

When I use the graphical interface to NetworkManager (via the tray icon), it displays around 10 SSIDs (for my current location). However, when I use nmcli dev wifi it returns around 55 entries. The ...
0
votes
0answers
50 views

How to use nmcli to remove 802.1x security via command-line

How can I use nmcli to remove the 802.1x security completely from the connection? I need the equivalent of selecting "Off" for 802.1x Security option on the Security tab of the Wired connection. I ...
0
votes
0answers
529 views

Use nmcli to display the status of a connection

I'm wondering how to display a connection status using nmcli. I understand that the following will display a list of configured connections: nmcli con show And I also understand that the following ...
1
vote
0answers
93 views

nmcli lists connection profile, but does not show in nmcli con show

When I run nmcli con show it returns NAME UUID TYPE DEVICE bond0 a8489b17-71bc-441d-981c-f3fe3184fdd7 bond bond0 ...
0
votes
0answers
262 views

What options are available for nmcli vpn.secrets?

I know that I can use nmcli to set my OpenVPN password and store it in /etc/NetworkManager/system-connections/myvpn as follows: nmcli connection modify "myvpn" vpn.secrets "password=mypassword" ......
1
vote
0answers
275 views

Edit hotspot settings with nmcli [closed]

Using this command, I created a wifi hotspot on my Debian server. However, I set the password to a 7-digit one, so I couldn't connect with my Debian laptop. I did the command again, setting the ...
2
votes
0answers
105 views

nmcli turning on wifi interface

Recently I founded some problems with connecting to wifi with my bcm4312 card. It works with nmcli tool, which sets up the device with 'nmcli radio wifi on' Then I need to make 'dhclient wlan0' to ...
0
votes
1answer
1k views

need to configure a static ip using nmcli but couldn´t dont know why

Iḿ trying to create a static ip using nmcli in centos 6.9 but couldn´t do so, as the man nmcli is not showing enough options like the online examples. To make you all to understand iĺl paste the man ...
0
votes
1answer
968 views

How can I find out what plugin is missing in nmcli?

I'm trying to reuse an old Asus EEE "a-la-RaspberryPi", as a small, single task unit. Since I am familiar with Fedora, I have installed Fedora 27 on it via VNC (the default graphical installer is too ...
0
votes
2answers
902 views

Unable to delete “Wired connection 1” using ncmli

Log: NAME UUID TYPE DEVICE Wired connection 1 d1b2ff35-4d72-3bd5-a8e2-d3d9fefce205 802-3-ethernet eth2 admin 6186afb2-7253-...
1
vote
1answer
508 views

Can't disconnect with nmcli

In the past this command has worked well for me, when disconnecting from a network without turning off my wifi interface: nmcli con down id MyWifiName When I run it now I'm getting: Error: '...
1
vote
2answers
553 views

Connect to WEP/WPA without nmcli?

I'm facing an issue where nmcli stops working on a custom rockchip controller. When running nmcli dev wifi, I get no results so I had to start using iwlist scan. Is there something similar for nmcli ...
0
votes
1answer
228 views

Advice for debugging a network interface?

I'm working on an embedded device running Ubuntu 14.04. When I first logged in I had no problem using nmcli dev wifi and it would return 3 results. (Though the wifi card must be weak as my laptop ...
0
votes
1answer
3k views

nmcli disconnect without turning wifi card off?

My wifi card keeps connecting to a wifi network which is on a channel that prevents me from making a hotspot. I'm trying to turn the connection off from command line. I have tried a few things: ...
0
votes
0answers
289 views

Find out password incorrect in nmcli

I use bash script for connect to wireless network with nmcli . I can do it but when i want to connect to network with wrong password the output of command does not return error that say this and i ...
1
vote
1answer
709 views

A command to switch airplane mode in gnome?

I am looking for a single command that switches airplane mode on/off. Actually I want to manipulate my fn+f10 key to switch airplane mode. I tried to add custom shortcut from gnome settings but it ...
0
votes
1answer
1k views

How to connect to Wi-Fi through wpa_supplicant, dhcpcd or nmcli?

I use Funtoo Linux, clone of Gentoo with git instead of rsync and some bug-fixes (as I read). I've installed LXDE desktop, NetworkManager but the applet does not connect when I type Wi-Fi password. ...
3
votes
1answer
124 views

Where is the list of access points stored?

Where does nmcli and iwlist stored the cached list seen access points: in a common file or in volatile memory?
2
votes
1answer
1k views

Setting up a wireless connection from the command line on Debian

I have a laptop with a proprietary Intel wifi card that I am trying to use to connect to a WPA/WPA2 network (called simply "Network") I've installed iwlwifi, net-tools, and network-manager I ran ...
0
votes
1answer
1k views

CentOS 7.3 interface name changes every reboot

I have this annoying problem that every time I restart my CentOS7.3, my interface name changes (all of them). Here is how I use my CentOS7.3: Host Machine: CentOS7.0 VM: CentOS7.3 (recently updated, ...
1
vote
0answers
99 views

Unable to list available access points through `nmcli device wifi list` command on Debian and Pointlinux

Pointlinux recognizes some wireless networks, but does not recognize certain one that has same Security as other recognized network (WPA1).I proved this with Fedora and Pointlinux writing in Terminal: ...
0
votes
0answers
636 views

Wifi through terminal connected but no internet (Ubuntu Server)

I'm running Ubuntu server 16.04 LTS and I'm trying to use internet through WiFi I already have a working internet connection with an ethernet cable on the same machine. I'm running into a weird issue ...
3
votes
2answers
75 views

Possible to use keyboard instead of mouse to reconnect wifi in fedora 26?

Periodically my wifi connection stops working, e.g. pinging the station drops all packets, but the interface still has it's ip address, routes are ok, etc. This is very easy to fix with a mouse: I ...
1
vote
0answers
124 views

Add ipv6 static route without subnet nmcli

What is nmcli command to implement the following: ip -6 r add 2a00:xxxx:xxxx::1 dev eth0 RedHat documentation insists on using network specification but I can't produce another working ip -6 r add ...
2
votes
0answers
99 views

nmcli centos with wrong general.type

I am trying to configure a centos machine to use wifi via a usb wifi dongle. I have plugged the thing in and got the drivers working # iwconfig ra0 Ralink STA ESSID:"" Nickname:"MT7610U_STA"...
3
votes
1answer
1k views

NetworkManager: Set current connection of device as metered

With NetworkManager, how do I set the currently connected connection on my device (say wlp2s0) as metered? How do I unset it in such a way that guessing of the metered/unmetered state will still ...
2
votes
1answer
262 views

nmcli command takes only first string of ssid? [closed]

The below nmcli command to connect to WiFi doesn't connect if it has more than one word as ssid name? nmcli device wifi connect my homewifi password mypass NOTE: SSID name: my homewifi (bad since ...
1
vote
1answer
3k views

dracut-initqueue[588]: RTNETLINK answers: Network is unreachable

A CentOS 7 host needs to install a CentOS 7 guest operating system using virt-install and a kickstart file. Then BOTH the HOST and the GUEST need to be accessible via ssh using separate public static ...
1
vote
0answers
297 views

Use nmcli without X interface

I have a xubuntu virtual machine, when it's booted to xfce4, I connect to it via SSH. When I try to use nmcli, it complains: %> nmcli con up myvpn Error: Connection activation failed: Not ...
2
votes
0answers
281 views

Modify vpn-secrets with nmcli [duplicate]

I'm trying to modify [vpn-secrets], as mentioned here: https://askubuntu.com/questions/198136/error-when-trying-to-connect-to-vpn-on-startup However, nmcli complains about it, %> sudo nmcli con ...
3
votes
1answer
2k views

Use nmcli to modify VPN password?

With nmcli, I can modify VPN data like this: nmcli con modify myvpn vpn.data 'refuse-pap = yes, user = xxx' So I'm wondering if I can set password this way as well?
6
votes
1answer
812 views

Can I connect to a hidden wifi without knowing the ESSID?

Is it theorically possible to connect to a hidden wifi without giving the ESSID? The way I connect to a hidden wifi requires to give an SSID (nmcli refuses to have a blank 802-11-wireless.ssid field)....
1
vote
1answer
68 views

What is the purpose of olpc-mesh connection in nmcli

nmcli proposes a connection type olpc-mesh. How does it differ from ad hoc networking and in which situation is this connection type used? From man nmcli: type olpc-mesh ssid SSID [channel 1-13] [...
2
votes
1answer
1k views

How to connect to a hidden network with nmcli?

I can connect to a hidden network knowing the SSID that the router/hotspot has set: CONNECTION_NAME=hidden-wifi INTERFACE=wlp0s20u1 nmcli con add type wifi ifname $INTERFACE con-name $CONNECTION_NAME ...
0
votes
1answer
620 views

Wpa_supplicant configuration file for open hidden network [duplicate]

I am unable to connect to a open hidden network (without password) The network is the following (from iwlist wlan0 scan) Cell 0 - Address: 11:22:33:44:55:66 Channel:5 ...
3
votes
1answer
859 views

nmcli shows nothing

I have a strange scenario over here: If I run nmcli dev wifi list it shows me a list of all networks which is fine. As soon as I add the device (wlan0 in my case) to the /etc/network/interfaces file ...
5
votes
1answer
250 views

How to generate a hotspot that does not requires password?

Is there a way to create a hotspot that doesn't have a password? The "hotspot command" of nmcli : wifi hotspot [ifname ifname] [con-name name] [ssid SSID] [band {a | bg}] [channel channel] [...
2
votes
4answers
4k views

Remove secondary IP with NetworkManager / nmcli

I tried to assign a static IP to my Ubuntu 16.04 server using nmcli, which worked but it still has the original IP reserved as a "secondary" IP. I'm not sure how to get rid of it. 10.163.148.36 is ...
1
vote
1answer
2k views

Connect to hidden wireless network on nmtui

I'm running fish shell on TTY in Fedora. I have nmtui (Network Manager with text user interface) installed. I can activate connections. I want to connect to a hidden wireless network with WPA2 ...
1
vote
2answers
829 views

Add default route without gateway nmcli

I'm trying to configure NetworkManager to perform the following action for an interface ip route add ::/0 dev he-ipv6 he-ipv6 is a point-to-point ipv4 sit mode tunnel and running the above command ...
1
vote
0answers
248 views

nmcli do not show wlan card in user scope

I am using NetworkManager Applet 0.8.1, centos 6.4 x86_64. nmcli version 0.8.1-107.el6. This is seems the latest version for this system release edition. I am using edup ep-n1572 wifi card with chip ...
0
votes
1answer
935 views

Purpose of ipv4.dns-option in nmcli

dns-options can be changed for connection name myname to the value value using nmcli con modify myname ipv4.dns-options value Using interactive mode, I get a short description of what dns-options ...
2
votes
1answer
264 views

Nmcli different on Linux Mint 17 than Ubuntu 16.04

I use to connect to add a connection with nmcli on Ubuntu with nmcli con add It appears that those options have disappeared on the Linux Mint 17 nmcli version: # nmcli con help Usage: nmcli ...
3
votes
1answer
120 views

How to set wireless key with nmcli interactively and securely without entering it in the command

I can set my wifi key of the connection my_connection to my_password by running nmcli con modify my_connection wifi-sec.psk my_password How can I have a secured interactive password reading from ...
1
vote
2answers
4k views

How to disconnect from network via wpa_cli?

Is there a way to disconnect from a network via wpa_cli? I'm reading the man page and I've been able to use wpa_cli to connect to my router via push-button connect (WPS); however I'm trying to write ...
1
vote
0answers
667 views

Wifi dongle unavailble in nmcli

I have a realtek usb dongle plugged in to my Intel Compute Stick that's running fedora 24. I see it in lsusb: Bus 001 Device 010 ID 0bda:8175 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN ...