version=pmwiki-2.2.130 ordered=1 urlencoded=1 agent=w3m/0.5.3+git20210102 author=jrmu charset=UTF-8 csum= ctime=1607255001 host=38.87.162.8 name=Openbsd.Vmmuser rev=16 targets=Shell.ShellPutty,Openbsd.Vmminstall text=(:redirect Vmctl.Usage:)%0a(:title VMM User Guide:)%0a%0a[[https://man.openbsd.org/vmm|VMM(4)]] is a hypervisor, which allows us to run multiple virtual machines inside a single physical server (a dedicated server). Your virtual machine is a guest which lives inside the host.%0a%0a!! Connect to the Virtual Machine%0a%0aConnect to the guest, username.coconut.ircnow.org.%0a# For Linux/Mac, open up a terminal and run @@$ ssh username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a# For Windows, you can use [[Shell/ShellPutty|PuTTY]]. For hostname, put @@username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a%0a!! Manage the Virtual Machine%0a%0aConnect to the host, which runs the hypervisor. For IRCNow, this host is coconut.ircnow.org.%0a# For Linux/Mac, open up a terminal and run @@$ ssh username@coconut.ircnow.org@@ -- note that the hostname is coconut.ircnow.org and '''not''' username.coconut.ircnow.org.%0a# For Windows, you can use [[Shell/ShellPutty|PuTTY]]. For hostname, put @@username@coconut.ircnow.org@@ -- note that the hostname is coconut.ircnow.org and '''not''' username.coconut.ircnow.org.%0a%0a'''NOTE''': The host is '''not''' your personal VM. Your personal VM is a guest inside the host, and will have the name username.coconut.ircnow.org, not coconut.ircnow.org. The guest lives inside the host, so in order to create the guest, you must first log in to the host.%0a%0aAttach:vmminstall-1.png%0a%0aOnce inside the host (coconut.ircnow.org), you can control your virtual machine using the following commands. %3cvm-name> is most likely your username.%0a%0a# To view the [[https://man.openbsd.org/cu|serial console]] to [[openbsd/vmminstall|install, upgrade, or repair]] the system:%0a%0a[@%0a$ vmctl console %3cvm-name>%0a@]%0a%0aTo shutdown the VM:%0a%0a[@%0a$ vmctl stop %3cvm-name>%0a@]%0a%0aTo boot the VM:%0a%0a[@%0a$ vmctl start %3cvm-name>%0a@]%0a%0aTo pause the VM:%0a%0a[@%0a$ vmctl pause %3cvm-name>%0a@]%0a%0aTo unpause the VM:%0a%0a[@%0a$ vmctl unpause %3cvm-name>%0a@]%0a%0aAt any time, if you want to escape the serial console, type @@~.@@ (tilde followed by a period) or @@~^d@@ (tilde followed by ctrl+d). '''Note''': ^d is ctrl+d. Sometimes, you may need to press enter a few times before the @@~.@@ or @@~^d@@ combination works. On some keyboards, you may need to type @@~~.@@ (two tildes followed by a period).%0a%0a!! Install, Upgrade, Repair%0a%0aIf you need to upgrade, install, or repair OpenBSD, you will also want to check out the [[Openbsd/vmminstall|VMM Install Guide]].%0a%0a!! See Also%0a%0a|| [[https://man.openbsd.org/vmctl|vmctl(8)]] || [[openbsd/vmminstall|VMM Install Guide]] ||%0a time=1627536700 title=VMM User Guide author:1627536700=jrmu diff:1627536700:1627536631:=1c1%0a%3c (:redirect Vmctl.Usage:)%0a---%0a> (:title Vmctl Usage:)%0a host:1627536700=38.87.162.8 author:1627536631=jrmu diff:1627536631:1607508515:=1d0%0a%3c (:title Vmctl Usage:)%0a62c61%0a%3c || [[https://man.openbsd.org/vmctl|vmctl(8)]] || [[openbsd/vmminstall|VMM Install Guide]] ||%0a---%0a> || [[https://man.openbsd.org/vmctl|vmctl(8)]] || [[openbsd/vmminstall|VMM Install Guide]] ||%0a\ No newline at end of file%0a host:1627536631=38.87.162.8 author:1607508515=jrmu diff:1607508515:1607508311:=5,10d4%0a%3c !! Connect to the Virtual Machine%0a%3c %0a%3c Connect to the guest, username.coconut.ircnow.org.%0a%3c # For Linux/Mac, open up a terminal and run @@$ ssh username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a%3c # For Windows, you can use [[Shell/ShellPutty|PuTTY]]. For hostname, put @@username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a%3c %0a17a12,17%0a> %0a> !! Connect to the Virtual Machine%0a> %0a> Connect to the guest, username.coconut.ircnow.org.%0a> # For Linux/Mac, open up a terminal and run @@$ ssh username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a> # For Windows, you can use [[Shell/ShellPutty|PuTTY]]. For hostname, put @@username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a host:1607508515=198.251.81.44 author:1607508311=jrmu diff:1607508311:1607508260:=5,7c5%0a%3c !! Manage the Virtual Machine%0a%3c %0a%3c Connect to the host, which runs the hypervisor. For IRCNow, this host is coconut.ircnow.org.%0a---%0a> To manage the virtual machine, you will need to connect to the host, which runs the hypervisor. For IRCNow, this host is coconut.ircnow.org.%0a13,15c11%0a%3c !! Connect to the Virtual Machine%0a%3c %0a%3c Connect to the guest, username.coconut.ircnow.org.%0a---%0a> To connect to the virtual machine, you will need to connect to the guest, username.coconut.ircnow.org.%0a host:1607508311=198.251.81.44 author:1607508260=jrmu diff:1607508260:1607506974:= host:1607508260=198.251.81.44 author:1607506974=jrmu diff:1607506974:1607342047:=3,5c3%0a%3c [[https://man.openbsd.org/vmm|VMM(4)]] is a hypervisor, which allows us to run multiple virtual machines inside a single physical server (a dedicated server). Your virtual machine is a guest which lives inside the host.%0a%3c %0a%3c To manage the virtual machine, you will need to connect to the host, which runs the hypervisor. For IRCNow, this host is coconut.ircnow.org.%0a---%0a> [[https://man.openbsd.org/vmm|VMM(4)]] is a hypervisor, which allows us to run multiple virtual machines inside a single physical server (a dedicated server). Your virtual machine is a guest which lives inside the host. You will first need to connect to the host, which runs the hypervisor. For IRCNow, this host is coconut.ircnow.org.%0a10,13d7%0a%3c %0a%3c To connect to the virtual machine, you will need to connect to the guest, username.coconut.ircnow.org.%0a%3c # For Linux/Mac, open up a terminal and run @@$ ssh username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a%3c # For Windows, you can use [[Shell/ShellPutty|PuTTY]]. For hostname, put @@username@username.coconut.ircnow.org@@ -- note that the hostname is username.coconut.ircnow.org and '''not''' coconut.ircnow.org.%0a host:1607506974=198.251.81.44 author:1607342047=jrmu diff:1607342047:1607341293:=11,14c11,12%0a%3c Once inside the host (coconut.ircnow.org), you can control your virtual machine using the following commands. %3cvm-name> is most likely your username.%0a%3c %0a%3c # To view the [[https://man.openbsd.org/cu|serial console]] to [[openbsd/vmminstall|install, upgrade, or repair]] the system:%0a%3c %0a---%0a> Once inside the host (coconut.ircnow.org), you can control your virtual machine using the following commands:%0a> %0a43c41,124%0a%3c At any time, if you want to escape the serial console, type @@~.@@ (tilde followed by a period) or @@~^d@@ (tilde followed by ctrl+d). '''Note''': ^d is ctrl+d. Sometimes, you may need to press enter a few times before the @@~.@@ or @@~^d@@ combination works. On some keyboards, you may need to type @@~~.@@ (two tildes followed by a period).%0a---%0a> To escape serial console, type @@~.@@%0a> %0a> # Once inside the host (coconut.ircnow.org), type @@vmctl console %3cVM name>@@ in order to open up the [[https://man.openbsd.org/cu|serial console]]. The serial console will allow you to see the virtual machine during bootup. Your VM name is most likely your username.\\%0a> Attach:vmminstall-1.png%0a> # At any time, if you want to escape the serial console, type @@~.@@ (tilde followed by a period) or @@~^d@@ (tilde followed by ctrl+d). '''Note''': ^d is ctrl+d. Sometimes, you may need to press enter a few times before the @@~.@@ or @@~^d@@ combination works. On some keyboards, you may need to type @@~~.@@ (two tildes followed by a period).%0a> %0a> This opens up the [[https://man.openbsd.org/cu|serial console]]. The serial console will allow you to see the virtual machine during bootup. Your VM name is most likely your username.\\%0a> %0a> ----%0a> %0a> To connect to your VM, you will be given an IP address. In case you forget, your IP address can be found by running $ dig username.coconut.ircnow.org. Our default gateway is 38.81.163.129.%0a> %0a> For convenience, you can log in to your VPS as follows:%0a> %0a> [@%0a> $ ssh username@username.coconut.ircnow.org%0a> @]%0a> %0a> Please note that this hostname is different from the host; there is an extra username in username.coconut.ircnow.org.%0a> %0a> ----%0a> %0a> To reinstall OpenBSD 6.6:%0a> %0a> [@%0a> $ ssh username@coconut.ircnow.org%0a> $ cd ~%0a> $ rm username.qcow2%0a> $ vmctl create -s 20G username.qcow2%0a> $ vmctl start username%0a> $ vmctl start username%0a> $ vmctl console username%0a> @]%0a> %0a> Make sure to configure static networking as well as to set up ping in the background as outlined below.%0a> %0a> ----%0a> %0a> For OpenBSD, here is how you statically assign your IP address:%0a> %0a> Inside /etc/hostname.vio0:%0a> %0a> [@%0a> inet 38.81.163.xxx 255.255.255.0%0a> @]%0a> %0a> Replace 38.81.163.xxx with your assigned IP address.%0a> %0a> Inside /etc/mygate:%0a> %0a> [@%0a> 38.81.163.129%0a> @]%0a> %0a> For Alpine:%0a> %0a> To restart networking:%0a> %0a> [@%0a> # service networking restart%0a> @]%0a> %0a> For Debian:%0a> %0a> [@%0a> systemctl restart networking%0a> @]%0a> %0a> Inside /etc/network/interfaces:%0a> %0a> [@%0a> source /etc/network/interfaces.d/*%0a> %0a> # The loopback network interface%0a> auto lo%0a> iface lo inet loopback%0a> %0a> # The primary network interface%0a> auto enp0s2%0a> iface enp0s2 inet static%0a> address 38.81.163.x%0a> netmask 255.255.255.0%0a> gateway 38.81.163.129%0a> @]%0a host:1607342047=198.251.81.119 author:1607341293=jrmu diff:1607341293:1607341194:=8a9%0a> Once inside the host (coconut.ircnow.org), you can control your virtual machine using the following commands:%0a11,12c12,13%0a%3c Once inside the host (coconut.ircnow.org), you can control your virtual machine using the following commands:%0a%3c %0a---%0a> Once you log in, you can access the serial console:%0a> %0a41,47c42,44%0a%3c To escape serial console, type @@~.@@%0a%3c %0a%3c # Once inside the host (coconut.ircnow.org), type @@vmctl console %3cVM name>@@ in order to open up the [[https://man.openbsd.org/cu|serial console]]. The serial console will allow you to see the virtual machine during bootup. Your VM name is most likely your username.\\%0a%3c Attach:vmminstall-1.png%0a%3c # At any time, if you want to escape the serial console, type @@~.@@ (tilde followed by a period) or @@~^d@@ (tilde followed by ctrl+d). '''Note''': ^d is ctrl+d. Sometimes, you may need to press enter a few times before the @@~.@@ or @@~^d@@ combination works. On some keyboards, you may need to type @@~~.@@ (two tildes followed by a period).%0a%3c %0a%3c This opens up the [[https://man.openbsd.org/cu|serial console]]. The serial console will allow you to see the virtual machine during bootup. Your VM name is most likely your username.\\%0a---%0a> To escape serial console, type ~~. %0a> %0a> type @@vmctl console %3cVM name>@@ in order to open up the [[https://man.openbsd.org/cu|serial console]]. The serial console will allow you to see the virtual machine during bootup. Your VM name is most likely your username.\\%0a host:1607341293=198.251.81.119 author:1607341194=jrmu diff:1607341194:1607340477:=3,11c3,4%0a%3c [[https://man.openbsd.org/vmm|VMM(4)]] is a hypervisor, which allows us to run multiple virtual machines inside a single physical server (a dedicated server). Your virtual machine is a guest which lives inside the host. You will first need to connect to the host, which runs the hypervisor. For IRCNow, this host is coconut.ircnow.org.%0a%3c # For Linux/Mac, open up a terminal and run @@$ ssh username@coconut.ircnow.org@@ -- note that the hostname is coconut.ircnow.org and '''not''' username.coconut.ircnow.org.%0a%3c # For Windows, you can use [[Shell/ShellPutty|PuTTY]]. For hostname, put @@username@coconut.ircnow.org@@ -- note that the hostname is coconut.ircnow.org and '''not''' username.coconut.ircnow.org.%0a%3c %0a%3c '''NOTE''': The host is '''not''' your personal VM. Your personal VM is a guest inside the host, and will have the name username.coconut.ircnow.org, not coconut.ircnow.org. The guest lives inside the host, so in order to create the guest, you must first log in to the host.%0a%3c %0a%3c Once inside the host (coconut.ircnow.org), you can control your virtual machine using the following commands:%0a%3c Attach:vmminstall-1.png%0a%3c %0a---%0a> If you need to upgrade, install, or repair OpenBSD, you will also want to check out the [[Openbsd/vmminstall|VMM Install Guide]].%0a> %0a44,45d36%0a%3c type @@vmctl console %3cVM name>@@ in order to open up the [[https://man.openbsd.org/cu|serial console]]. The serial console will allow you to see the virtual machine during bootup. Your VM name is most likely your username.\\%0a%3c %0a123,125d113%0a%3c !! Install, Upgrade, Repair%0a%3c %0a%3c If you need to upgrade, install, or repair OpenBSD, you will also want to check out the [[Openbsd/vmminstall|VMM Install Guide]].%0a host:1607341194=198.251.81.119 author:1607340477=jrmu diff:1607340477:1607340353:=3,4d2%0a%3c If you need to upgrade, install, or repair OpenBSD, you will also want to check out the [[Openbsd/vmminstall|VMM Install Guide]].%0a%3c %0a112a111,117%0a> This is a quick install guide for OpenBSD 6.8.%0a> %0a> '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]].%0a> %0a> # First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]], [[vps/intro|VMM]], and [[Openbsd/bsdrd|bsd.rd]] install guides.%0a> # At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.\\%0a> Attach:install68-1.png%0a host:1607340477=198.251.81.119 author:1607340353=jrmu diff:1607340353:1607340321:=2d1%0a%3c %0a122c121%0a%3c || [[https://man.openbsd.org/vmctl|vmctl(8)]] || [[openbsd/vmminstall|VMM Install Guide]] ||%0a\ No newline at end of file%0a---%0a> || [[https://man.openbsd.org/vmctl|vmctl(8)]] || [[openbsd/vmmuser|VMM User Guide]] ||%0a\ No newline at end of file%0a host:1607340353=198.251.81.119 author:1607340321=jrmu diff:1607340321:1607331461:=1c1%0a%3c (:title VMM User Guide:)%0a---%0a> (:title OpenBSD 6.8 Install Guide:)%0a host:1607340321=198.251.81.119 author:1607331461=jrmu diff:1607331461:1607255674:=2,3c2,24%0a%3c Once you log in, you can access the serial console:%0a%3c %0a---%0a> %0a> This is a quick install guide for OpenBSD 6.8.%0a> %0a> '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]].%0a> %0a> # First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]], [[vps/intro|VMM]], and [[Openbsd/bsdrd|bsd.rd]] install guides.%0a> # At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.\\%0a> Attach:install68-1.png%0a> %0a> %0a> (:title OpenBSD Install Guide:)%0a> %0a> This is a quick install guide for OpenBSD 6.8 on BuyVM.%0a> %0a> Use your web browser to go to [[https://manage.buyvm.net]]. Use the username and password that was given you.%0a> %0a> # Click on the [Power State] button, then [Power Off] the server. Any time new changes to hardware apply (upgrading RAM, CPUs, patches), you must hard power off and then boot the VPS. '''WARNING''': Make sure notify your users in advance, then power off your server by running @@$ doas shutdown -p now@@ -- or else you may lose data!\\%0a> Attach:install-panel-01.png%0a> # Click on Settings.%0a> You can run any Linux or BSD-based operating system on your VPS as a guest inside OpenBSD.%0a> %0a> You will be given a username and password for your account. This will create a username on our host system:%0a> %0a5c26%0a%3c $ vmctl console %3cvm-name>%0a---%0a> $ ssh username@coconut.ircnow.org%0a8,9c29,34%0a%3c To shutdown the VM:%0a%3c %0a---%0a> ECDSA key fingerprint is SHA256:a0LIR/BRZkpYqMho/YvkISPEm7vkus5QfOSqAeu+tYc.%0a> %0a> **Please note**: This is the host machine, not your VM. The host machine is running OpenBSD but your guest VPS can run any OS.%0a> %0a> Once you log in, you can access the serial console:%0a> %0a11c36%0a%3c $ vmctl stop %3cvm-name>%0a---%0a> $ vmctl console %3cvm-name>%0a14,15c39,40%0a%3c To boot the VM:%0a%3c %0a---%0a> To shutdown the VM:%0a> %0a17c42%0a%3c $ vmctl start %3cvm-name>%0a---%0a> $ vmctl stop %3cvm-name>%0a20,21c45,46%0a%3c To pause the VM:%0a%3c %0a---%0a> To boot the VM:%0a> %0a23c48%0a%3c $ vmctl pause %3cvm-name>%0a---%0a> $ vmctl start %3cvm-name>%0a26,27c51,52%0a%3c To unpause the VM:%0a%3c %0a---%0a> To pause the VM:%0a> %0a29c54%0a%3c $ vmctl unpause %3cvm-name>%0a---%0a> $ vmctl pause %3cvm-name>%0a31a57,62%0a> To unpause the VM:%0a> %0a> [@%0a> $ vmctl unpause %3cvm-name>%0a> @]%0a> %0a110,117c141,197%0a%3c This is a quick install guide for OpenBSD 6.8.%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]].%0a%3c %0a%3c # First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]], [[vps/intro|VMM]], and [[Openbsd/bsdrd|bsd.rd]] install guides.%0a%3c # At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.\\%0a%3c Attach:install68-1.png%0a%3c %0a---%0a> %0a> ----%0a> %0a> Losing network connectivity:%0a> %0a> For OpenBSD, put this in your crontab:%0a> %0a> [@%0a> @reboot /usr/bin/tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129; done' \;%0a> @]%0a> %0a> Afterwards, to ensure it runs right away, execute this once:%0a> %0a> [@%0a> /usr/bin/tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129; done' \;%0a> @]%0a> %0a> For Debian:%0a> %0a> [@%0a> @reboot /usr/bin/tmux new -d 'while true; do /usr/bin/ping -i5 38.81.163.129; done' \;%0a> @]%0a> %0a> Afterwards, to ensure it runs right away, execute this once:%0a> %0a> [@%0a> /usr/bin/tmux new -d 'while true; do /usr/bin/ping -i5 38.81.163.129; %0a> @]%0a> %0a> For Alpine:%0a> %0a> [@%0a> @reboot /usr/bin/tmux new -d 'while true; do /bin/ping -i5 38.81.163.129; done' \;%0a> @]%0a> %0a> Afterwards, to ensure it runs right away, execute this once:%0a> %0a> [@%0a> /usr/bin/tmux new -d 'while true; do /bin/ping -i5 38.81.163.129; done' \;%0a> @]%0a> %0a> ----%0a> %0a> To reinstall OpenBSD:%0a> %0a> First, log in to the host:%0a> %0a> [@%0a> $ ssh username@coconut.ircnow.org%0a> $ vmctl stop username%0a> $ rm username.qcow2%0a> $ vmctl create -s 20G username.qcow2%0a> $ vmctl start username%0a> $ vmctl console username%0a> @]%0a> %0a> Then, do the installation as usual.%0a host:1607331461=38.81.163.7 author:1607255674=jrmu diff:1607255674:1607255093:=5,6c5,6%0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]].%0a%3c %0a---%0a> '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]]%0a> %0a197,201c197%0a%3c Then, do the installation as usual.%0a%3c %0a%3c !! See Also%0a%3c %0a%3c || [[https://man.openbsd.org/vmctl|vmctl(8)]] || [[openbsd/vmmuser|VMM User Guide]] ||%0a\ No newline at end of file%0a---%0a> Then, do the installation as usual.%0a\ No newline at end of file%0a host:1607255674=38.81.163.7 author:1607255093=jrmu diff:1607255093:1607255001:=1,20d0%0a%3c (:title OpenBSD 6.8 Install Guide:)%0a%3c %0a%3c This is a quick install guide for OpenBSD 6.8.%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]]%0a%3c %0a%3c # First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]], [[vps/intro|VMM]], and [[Openbsd/bsdrd|bsd.rd]] install guides.%0a%3c # At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.\\%0a%3c Attach:install68-1.png%0a%3c %0a%3c %0a%3c (:title OpenBSD Install Guide:)%0a%3c %0a%3c This is a quick install guide for OpenBSD 6.8 on BuyVM.%0a%3c %0a%3c Use your web browser to go to [[https://manage.buyvm.net]]. Use the username and password that was given you.%0a%3c %0a%3c # Click on the [Power State] button, then [Power Off] the server. Any time new changes to hardware apply (upgrading RAM, CPUs, patches), you must hard power off and then boot the VPS. '''WARNING''': Make sure notify your users in advance, then power off your server by running @@$ doas shutdown -p now@@ -- or else you may lose data!\\%0a%3c Attach:install-panel-01.png%0a%3c # Click on Settings.%0a host:1607255093=38.81.163.7 author:1607255001=jrmu diff:1607255001:1607255001:=1,177d0%0a%3c You can run any Linux or BSD-based operating system on your VPS as a guest inside OpenBSD.%0a%3c %0a%3c You will be given a username and password for your account. This will create a username on our host system:%0a%3c %0a%3c [@%0a%3c $ ssh username@coconut.ircnow.org%0a%3c @]%0a%3c %0a%3c ECDSA key fingerprint is SHA256:a0LIR/BRZkpYqMho/YvkISPEm7vkus5QfOSqAeu+tYc.%0a%3c %0a%3c **Please note**: This is the host machine, not your VM. The host machine is running OpenBSD but your guest VPS can run any OS.%0a%3c %0a%3c Once you log in, you can access the serial console:%0a%3c %0a%3c [@%0a%3c $ vmctl console %3cvm-name>%0a%3c @]%0a%3c %0a%3c To shutdown the VM:%0a%3c %0a%3c [@%0a%3c $ vmctl stop %3cvm-name>%0a%3c @]%0a%3c %0a%3c To boot the VM:%0a%3c %0a%3c [@%0a%3c $ vmctl start %3cvm-name>%0a%3c @]%0a%3c %0a%3c To pause the VM:%0a%3c %0a%3c [@%0a%3c $ vmctl pause %3cvm-name>%0a%3c @]%0a%3c %0a%3c To unpause the VM:%0a%3c %0a%3c [@%0a%3c $ vmctl unpause %3cvm-name>%0a%3c @]%0a%3c %0a%3c To escape serial console, type ~~. %0a%3c %0a%3c ----%0a%3c %0a%3c To connect to your VM, you will be given an IP address. In case you forget, your IP address can be found by running $ dig username.coconut.ircnow.org. Our default gateway is 38.81.163.129.%0a%3c %0a%3c For convenience, you can log in to your VPS as follows:%0a%3c %0a%3c [@%0a%3c $ ssh username@username.coconut.ircnow.org%0a%3c @]%0a%3c %0a%3c Please note that this hostname is different from the host; there is an extra username in username.coconut.ircnow.org.%0a%3c %0a%3c ----%0a%3c %0a%3c To reinstall OpenBSD 6.6:%0a%3c %0a%3c [@%0a%3c $ ssh username@coconut.ircnow.org%0a%3c $ cd ~%0a%3c $ rm username.qcow2%0a%3c $ vmctl create -s 20G username.qcow2%0a%3c $ vmctl start username%0a%3c $ vmctl start username%0a%3c $ vmctl console username%0a%3c @]%0a%3c %0a%3c Make sure to configure static networking as well as to set up ping in the background as outlined below.%0a%3c %0a%3c ----%0a%3c %0a%3c For OpenBSD, here is how you statically assign your IP address:%0a%3c %0a%3c Inside /etc/hostname.vio0:%0a%3c %0a%3c [@%0a%3c inet 38.81.163.xxx 255.255.255.0%0a%3c @]%0a%3c %0a%3c Replace 38.81.163.xxx with your assigned IP address.%0a%3c %0a%3c Inside /etc/mygate:%0a%3c %0a%3c [@%0a%3c 38.81.163.129%0a%3c @]%0a%3c %0a%3c For Alpine:%0a%3c %0a%3c To restart networking:%0a%3c %0a%3c [@%0a%3c # service networking restart%0a%3c @]%0a%3c %0a%3c For Debian:%0a%3c %0a%3c [@%0a%3c systemctl restart networking%0a%3c @]%0a%3c %0a%3c Inside /etc/network/interfaces:%0a%3c %0a%3c [@%0a%3c source /etc/network/interfaces.d/*%0a%3c %0a%3c # The loopback network interface%0a%3c auto lo%0a%3c iface lo inet loopback%0a%3c %0a%3c # The primary network interface%0a%3c auto enp0s2%0a%3c iface enp0s2 inet static%0a%3c address 38.81.163.x%0a%3c netmask 255.255.255.0%0a%3c gateway 38.81.163.129%0a%3c @]%0a%3c %0a%3c ----%0a%3c %0a%3c Losing network connectivity:%0a%3c %0a%3c For OpenBSD, put this in your crontab:%0a%3c %0a%3c [@%0a%3c @reboot /usr/bin/tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129; done' \;%0a%3c @]%0a%3c %0a%3c Afterwards, to ensure it runs right away, execute this once:%0a%3c %0a%3c [@%0a%3c /usr/bin/tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129; done' \;%0a%3c @]%0a%3c %0a%3c For Debian:%0a%3c %0a%3c [@%0a%3c @reboot /usr/bin/tmux new -d 'while true; do /usr/bin/ping -i5 38.81.163.129; done' \;%0a%3c @]%0a%3c %0a%3c Afterwards, to ensure it runs right away, execute this once:%0a%3c %0a%3c [@%0a%3c /usr/bin/tmux new -d 'while true; do /usr/bin/ping -i5 38.81.163.129; %0a%3c @]%0a%3c %0a%3c For Alpine:%0a%3c %0a%3c [@%0a%3c @reboot /usr/bin/tmux new -d 'while true; do /bin/ping -i5 38.81.163.129; done' \;%0a%3c @]%0a%3c %0a%3c Afterwards, to ensure it runs right away, execute this once:%0a%3c %0a%3c [@%0a%3c /usr/bin/tmux new -d 'while true; do /bin/ping -i5 38.81.163.129; done' \;%0a%3c @]%0a%3c %0a%3c ----%0a%3c %0a%3c To reinstall OpenBSD:%0a%3c %0a%3c First, log in to the host:%0a%3c %0a%3c [@%0a%3c $ ssh username@coconut.ircnow.org%0a%3c $ vmctl stop username%0a%3c $ rm username.qcow2%0a%3c $ vmctl create -s 20G username.qcow2%0a%3c $ vmctl start username%0a%3c $ vmctl console username%0a%3c @]%0a%3c %0a%3c Then, do the installation as usual.%0a\ No newline at end of file%0a host:1607255001=38.81.163.7