You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
README.md | 2 months ago | |
setnet.sh | 2 months ago |
README.md
SetNet
A quick tool for automatically setting a static IP on an ubuntu machine using the netplan
command.
Usage
Set the IP for your gateway and DNS server inside the setnet.sh
. SetNet will then grab the IP your ubuntu machine is currently using and set up a file in /etc/netplan/
called 1-network-manager-all.yaml
with the configuration needed to assign your current IP as a static IP. It then runs sudo netplan apply
to apply the changes.