Skip to content
Permalink
Browse files

Set ethernet to permanent

  • Loading branch information...
NEMS Linux
NEMS Linux committed Apr 3, 2019
1 parent e47bd53 commit 1a3327a1e7e6ec95eb34c14262c6976192fd1109
Showing with 9 additions and 3 deletions.
  1. +9 −3 build/190-mac-address
@@ -39,9 +39,15 @@ ethernet.cloned-mac-address=permanent
wifi.cloned-mac-address=permanent
" >> /etc/NetworkManager/NetworkManager.conf

# Restart NetworkManger to re-establish all connections
systemctl restart network-manager

fi

# Set the connection to persistent
echo "set ethernet.cloned-mac-address permanent
save persistent
quit
" | nmcli connection edit $(nmcli -g uuid con)

# Restart NetworkManger to re-establish all connections
systemctl restart network-manager

fi

0 comments on commit 1a3327a

Please sign in to comment.
You can’t perform that action at this time.