From 15d6ef9b6a76b31cfa8f2758891d0acd4f93a5f6 Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Sat, 8 Mar 2025 16:56:29 +0100 Subject: [PATCH] vault backup: 2025-03-08 16:56:29 --- ...leway Dedibox server (Online.net) with root on ZFS.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md b/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md index 8cfefe3..4278d20 100644 --- a/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md +++ b/2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md @@ -46,7 +46,7 @@ Setup NAT on the Linux host by creating a tap interface ip tuntap add tap0 mode tap ip addr add 192.168.100.1/24 dev tap0 sysctl net.ipv4.ip_forward=1 -iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE +iptables -t nat -A POSTROUTING -o enp0s20 -j MASQUERADE ``` Start the FreeBSD installer through Qemu, attached to the physical server disk, with the curses UI: @@ -55,6 +55,13 @@ Start the FreeBSD installer through Qemu, attached to the physical server disk, # qemu-system-x86_64 -hda /dev/sda -cdrom FreeBSD-14.2-RELEASE-amd64-bootonly.iso -netdev tap,id=nd0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=nd0 -curses -boot d ``` +Configure IPv4 static IP (as there is no DHCP server on the Linux host) +- IP Address: `192.168.100.2` +- Subnet Mask: `255.255.255.0` +- default router: `192.168.100.1` +- IPv4 DNS #1: `8.8.8.8` ([Google’s public DNS](https://developers.google.com/speed/public-dns), you can check yours in `/etc/resolv.conf`) + +Then - On the **partitioning** dialog, choose **Auto (ZFS) Guided Root-on-ZFS** - Follow installer up to the end, and when asked for **Manual Configuration**, choose **yes** to open a shell before exiting the installer. - Configure the network, modify the files accordingly to your network setup/nic driver: