Reload from Config File
- From: Jorge Fábregas <jorge fabregas gmail com>
- To: networkmanager-list gnome org
- Subject: Reload from Config File
- Date: Sat, 04 Jan 2014 14:01:03 -0400
Hello again,
I created a connection with this:
nmcli con add con-name my-new-em1 ifname em1 type ethernet ip4
192.168.69.101/24 gw4 192.168.69.1
Then I opened the Network Manager GUI and changed to that connection. I
double checked with "ifconfig em1" and indeed I had 192168.69.101 as my ip.
I then went ahead and manually modified
/etc/sysconfig/network-scripts/ifcfg-my-new-em1 and changed the ip to
192.168.69.107. Then I tried "systemctl restart NetworkManager" but
ifconfig still shows the old ip. Shouldn't a restart of NetworkManager
pick-up the changes on the ifcfg file? Or is there a proper way to
reload the configuration with nmcli? I tried "nmcli c reload" but
didn't work. Is manually modifying the ifcfg-* files discouraged?
Thanks,
Jorge
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]