Skip to content

Easy and interactive way to configure static IP using nmcli

Notifications You must be signed in to change notification settings

johnycsf/nmcli-easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

nmcli-easy

Easy and interactive way to configure static IP using nmcli

nmcli is being adopted as the primary way to configure static IP in linux. I am having troubles remembering all the commands so I made this to be an interactive and easy way to do so without the hassle of remembering everything because time is valuable.

Make sure you check with ifconfig or "ip a" the name of your interface!

Some servers it's eth0, others are eno1, other it's enp0s3, etc... You need to know and enter it when prompted for NIC name when running the script!

Script must be run as root!

sudo bash nmcli-easy.sh

About

Easy and interactive way to configure static IP using nmcli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages