vault backup: 2025-03-08 16:49:48

This commit is contained in:
Jerry Jacobs 2025-03-08 16:49:48 +01:00
parent 069636a81d
commit a8c6a41d72
1 changed files with 22 additions and 3 deletions

View File

@ -40,7 +40,7 @@ For the post-install network configuration step _(`/etc/rc.conf`)_, try to figu
Subsystem: Intel Corporation Ethernet Connection I354 2.5 GbE Backplane Subsystem: Intel Corporation Ethernet Connection I354 2.5 GbE Backplane
``` ```
Setup NAT Setup NAT on the Linux host by creating a tap interface
``` ```
ip tuntap add tap0 mode tap ip tuntap add tap0 mode tap
@ -49,8 +49,27 @@ sysctl net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
``` ```
Start the FreeBSD installer through Qemu, attached to the physical server disk, with the curses UI:
```
# 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
```
Original: - 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:
https://loicpefferkorn.net/2015/10/freebsd-10.2-release-on-a-dedibox-xc-server-online.net-with-root-on-zfs/ ```
# /etc/rc.conf
ifconfig_igb0="inet x.x.x.x netmask 255.255.255.0"
defaultrouter='x.x.x.x'
# /etc/resolv.conf
nameserver x.x.x.x
```
## See also
* https://loicpefferkorn.net/2015/10/freebsd-10.2-release-on-a-dedibox-xc-server-online.net-with-root-on-zfs/
* https://wiki.qemu.org/Documentation/Networking