DiBosco Posted October 18 Posted October 18 (edited) Folks, I've got an Orange pi 5 plus up and running using Armbian, I've used the minimal install and although it's been plain sailing for the main part, no matter what I do I can't work out how to give it a static IP address (dynamic works fine). I've spent an hour trying: armbian-config, - Network | IP | Static and setting it to what I want - it ignores it and when I go back in it's gone back to 127.0.0.1 This page: https://docs.armbian.com/User-Guide_Networking/ Creates the yaml file with my interface abd required address as here: GNU nano 7.2 /etc/netplan/20-static-ip.yaml network: version: 2 renderer: networkd ethernets: enP4p65s0: # Change this to your ethernet interface addresses: - 192.168.5.2/24 routes: - to: default via: 192.168.5.1 nameservers: addresses: - 9.9.9.9 - 1.1.1.1 Following this to get rid of the issues with netplan test Looked high and wide for other tips but can't see anything that would help me. I'm used to Red Hat distros where you just go in and edit an existing config file, but that doesn't seem to be the case with Debian variants? Anyone able to help me please? Been using Linux for twenty-five years so am no noob, never had a problem like this before setting a fixed IP address! Thanks Edited October 18 by DiBosco 0 Quote
DiBosco Posted October 18 Author Posted October 18 OK, finally got it working, not sure if it's the best way, but completely started form scratch, emptying out the contents of the original yaml file and replacing contents with this: https://github.com/canonical/netplan/blob/main/examples/static.yaml But with my preferred addresses. What a crazy, over complicated system netplan is. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.