yoni3210
(yoni mo)
April 21, 2019, 2:16pm
1
Hi Guys,
I’m planning to migrate my Hassio from RP3 to VM.
i need help to change the ip address, my question is how i can access Hassio shell command from ubuntu server.
im using this tutorial : https://www.youtube.com/watch?v=vnie-PJ87Eg , 8 min in the video , but the difference is that im running my setup on Ubuntu server and not directly on hassio image like he use in the video, how do i enter the hassio shell , so i can run the commands.
tx,
There is no official “tutorial” to do that.
Official instructions:
Other official intrructions from GitHub:
Tinkerer
(aka DubhAd on GitHub)
April 21, 2019, 5:00pm
3
You set the IP in the Ubuntu host
yoni3210
(yoni mo)
April 21, 2019, 6:13pm
4
i eventually curiosity managed to do it with my router, buy just from quresity, would you mind show me how ?
Ubuntu uses netplan to set ip addresses, to change your IP address edit /etc/netplan/01-netcfg.yaml to something that looks like this:
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
addresses: [192.168.107.2/24]
gateway4: 192.168.107.1
nameservers:
addresses: [192.168.107.212,192.168.107.213,1.1.1.1,8.8.8.8]
Set the ip and nameservers that work for your setup.
After making the changes at the prompt enter the following command:
netplan apply
reboot, and you should be good to go.