# 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.