Jump to content

Static IP will not set


BobX

Recommended Posts

Model Orange pi zero v1.4

OS Armbian_community_24.8.0-trunk.495_Orangepizero_bookworm_current_ 6.6.36_minimal
Original IP 192.168.12.115

 

Having trouble trying to setup Static IP

 

I used the followed example on https://docs.armbian.com/User-Guide_Networking/#minimal-images-networkd

 

/etc/netplan/20-static-ip.yaml it setup OK

 

network:
  version: 2
  renderer: networkd
  ethernets:
    end0: # Change this to your ethernet interface
      addresses:
      - 192.168.12.65/24
      routes:
      - to: default
        via: 192.168.12.1
      nameservers:
       addresses:
         - 1.1.1.1
         - 1.0.0.1
sudo chmod 600 /etc/netplan/*.yaml
sudo netplan try
sudo netplan apply
sudo reboot

however when I rebooted it revert to the original 192.168.12.115.

On check with ip addr

Link to comment
Share on other sites

I did remove 10-dhcp-all-interfaces.yaml when I created the 20-static-ip.yaml. I have just download [Armbian_community_24.8.0-trunk.495] again and this has done the trick. The first download must have been corrupted or bad image copy. I now have pihole up and running.

Thanks for the help.

 

Regards
BobX

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines