Saturday, May 4, 2024

Raspbian OS Static IP

 so i haven't used my raspberry pi's in ages and they have changed the way they set static ip's from using /etc/network file to using network manager in raspbian os

so after a bit of googling i found out this is how you should be setting static ips

sudo nmcli c show sudo nmcli c mod 'Wired connection 1' ipv4.addresses ipv4.method manual sudo nmcli con mod 'Wired connection 1' ipv4.gateway sudo nmcli con mod 'Wired connection 1' ipv4.dns "" sudo nmcli c down 'Wired connection 1' && sudo nmcli c up 'Wired connection 1'


No comments:

Post a Comment

Re-add existing datastore for PBS

 this is how you re-add an existing datastore for Proxmox backup server (PBS) vim /etc/proxmox-backup/datastore.cfg add the datastore like s...