All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
49 views

Static route added with nmcli not showing up

root@Andromeda:~# nmcli con show "Wired connection 1" | grep -i routes ipv4.routes: -- then ... root@Andromeda:~# nmcli con modify "Wired connection 1" +ipv4.routes "188....
0
votes
1answer
119 views

How to use nmcli to always connect to vpn when using certain wifi?

So using nm-applet its quite easy to save vpn connection and username+password of the connection and then automatically connect to it when using certain wi-fi connection. So it will always ...
0
votes
0answers
13 views

Networkmanager: apply property to ALL wireless connections for a particular interface

I'm trying to bond the ethernet and wifi on my laptop. A bond can be setup with nmcli con add type wifi ifname wlps3s0 master bond0 ssid $YOURSSID (see Bonding wired and wireless while using ...
0
votes
1answer
75 views

The *correct* way to require root for changes via nmcli to NetworkManager

What is the correct way, with a single command or a small polkit addition, to limit all unprivileged users to read-only usage of nmcli? Edit: Allowing only a privileged unix group, in addition to ...
1
vote
1answer
51 views

Adding / Removing addresses to connections via network manager cli (nmcli)

I am going through some official Linux Foundation exercises / documentation. In a lecture about adding / removing an ip address to an existing connection, the following example is cited: sudo nmcli ...
1
vote
0answers
21 views

Network Manager not controlling any connections

I have created a vagrant machine and ssh-ed into it. network-manager was not installed, therefore I proceeded with apt update && apt install -y network-manager However, there seem to be no ...
0
votes
0answers
12 views

How to detect when NetworkManager loses Wi-Fi connection?

What is the best approach to monitor NetworkManger connections and detect when the Wi-Fi connection has dropped? My goal is to attempt reconnecting after a certain number amount of time disconnected, ...
0
votes
2answers
262 views

nmcli won't let me remove DNS entry from /etc/resolv.conf

Centos 7.5, nmcli version 1.20.2 Whenever I try to remove entries from /etc/resolv.conf I get the following errors. [root@client ~]# cat /etc/resolv.conf # Generated by NetworkManager search home ...
5
votes
0answers
1k 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
751 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 ...
0
votes
1answer
193 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 ...
1
vote
0answers
2k 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
1answer
3k views

need to configure a static ip using nmcli but can't see how

I'm 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'll paste the man ...
0
votes
2answers
2k 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
1answer
2k 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, ...
5
votes
1answer
2k 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 ...
1
vote
0answers
410 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
389 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 ...
4
votes
1answer
3k 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?
1
vote
1answer
94 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
2k 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 ...
5
votes
1answer
398 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
6k 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
3k 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
1k 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
326 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
1k 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 ...
1
vote
0answers
777 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 ...
3
votes
1answer
2k views

Setting interface NM_CONTROLLED to yes using nmcli in CentOS 7?

I'm writing some documentation on configuring the network interfaces for a new CentOS 7 server. The specific section walks through setting the interface to a static IP address. The steps thus far are:...
5
votes
3answers
15k views

How to update the gateway with nmcli

I'm using CentOS 7 and I setup a new connection with nmcli. I set the gateway but it doesn't seem it took. When I check the connection with nmcli con show conn-name the gateway is listed as: gw = 0....
1
vote
1answer
2k views

nmcli ipv4.manual

I'm having trouble getting Network Manager Command Line Interface to set the IP address method to manual. Here is the command that I expect to work: [me@computer]$ sudo nmcli connection modify '...
0
votes
1answer
420 views

Run concurrent static and DHCP network connections in CentOS 7

I've been trying to set up a VM for study purposes that can share some iSCSI resources on a private network with the IP 10.0.2.10/8. However, I also want to be able to concurrently use the same VM to ...
1
vote
1answer
1k views

Persist ip route and ip rule configurations for Policy Based Routing (iproute2)

Currently running on Fedora Server 23, I've been searching for the right way to persist commands such as: ip route add default via 10.0.2.1 dev ens32 table EXAMPLE_TABLE ip rule add from 10.1.2.50 ...
4
votes
2answers
15k views

how do I attach devices to connections using nmcli?

An installation of CentOS 7 has two connections and three devices. How can I attach the device ens7 to the connection my-bridge? And how can I attach the device eth0 to the connection my-eth1? ...
2
votes
0answers
90 views

How to kill all vpns on switch user Mint 17.2

I'm using mint 17.2 cinnamon. I'm not particular about the method, just want it to stop all vpn connections (openvpn, listed in network manager) when I switch users or logout. nmcli doesn't provide ...
1
vote
0answers
70 views

Simple way to view who is currently connected to my AP. Linux Network-manger or nmcli

I have setup an Hotspot with Linux Network-manger. I used these instructions https://unix.stackexchange.com/questions/235775/fine-tuning-network-manager-in-ap-mode to configure the Hotspot to to run ...
2
votes
0answers
597 views

wifi - maximum number of pending replies per connection has been reached

Sometimes, my wifi internet connection gets interrupted which i can see when the leds in the wifi modem goes off. Now, when the connection resumes (i mean, the green led starts glowing in the modem),...
0
votes
1answer
562 views

Error : segmentation fault

My centos 7(1406) giving an error "segmentation fault " while trying to connect to the wireless using nmtui. My other wireless network connected successfully. It has been connected while installing ...
2
votes
0answers
724 views

How to trigger dhcp4-change using nmcli?

I am working on a networking script which will do certain things, e.g., interface up/down/dhcp4-change events happen. I also need to generate these events through Network manager, not through ...
11
votes
2answers
23k views

network manager not listing wifi

When I use NetworkManager command tool to scan for wireless networks the output is empty. root@radxa:~# nmcli dev wifi list SSID BSSID MODE FREQ RATE SIGNAL SECURITY ACTIVE root@...
8
votes
4answers
26k views

How to connect to an 802.1x wireless network via nmcli

I am able to connect to 802.1 networks via the nm-applet. I do not like doing this as I am running without a nm most of the time and I would hate to load up one just to connect to a wireless network. ...
2
votes
1answer
1k views

nmcli freedesktop DBus warnings and errors

As soon as I do nmcli con up id <ESSID>, I experience some warnings/errors: ** (process:4841): WARNING **: async_got_type: could not read properties for /org/freedesktop/NetworkManager/...
12
votes
2answers
17k views

Import VPN config files to NetworkManager from command line

One can import .ovpn files to NetworkManager through GUI tool nm-connection-editor (right click on nm-applet and click on Edit connections): Add -> Import a saved VPN configuration.... My goal is to ...