pimox / pimox7

Proxmox V7 for Raspberry Pi
1.71k stars 156 forks source link

NetworkManager static IP new RPi4 OS 64-bit #98

Closed sim4life closed 1 year ago

sim4life commented 2 years ago

Working on RPi4-8GB, 32GB SDCard with Raspberry Pi OS lite 64-bit, I switched to the NetworkManager (instead of dhcpcd) to manage my networking. Afterwards, I manually setup static IP for my RPi. What changes do I need to make to the install script of PiMox to use the newly assigned static IP and NOT let the script make further changes to the RPi networking to obtain a new static IP as a static IP is already available?

sim4life commented 2 years ago

[SOLVED]

I had to change a file /etc/NetworkManager/NetworkManager.conf and make managed=true on my Raspberry Pi OS lite 64-bit host machine for NetworkManager to read the configuration changes done in the file /etc/network/interfaces.new.
However, now i created an alpine-virt-arm64-3_16 VM in proxmox but it doesn't seem to have any ip address. I intend to install portainer on it.

sim4life commented 1 year ago

[SOLVED]

I used alpine-virt-arm64-3_16 VM in proxmox, installed docker on the Alpine VM and installed portainer on top of it. I just had to use DHCP IP when trying to spin up the Alpine VM in proxmox7. Thanks all.