相关command
ifupifdownnetstatrouteip
netstart$ /etc/netstart [[-n] interface ...]
netstart is the command script that is invoked by rc(8) during an automatic reboot and after single-user mode is exited; it performs network initialization.
The netstart script can also be used to start newly created bridges or interfaces, or reset existing interfaces to their default state. The behaviour of this script is (or can be) controlled to some extent by variables defined in rc.conf(8), which specifies which daemons and services are to be run.
If the driver for the NIC is not present in GENERIC, but a driver is available, the driver will need to be loaded before the NIC can be configured and used. This may be accomplished in one of two ways:
/boot/loader.conf. Not all NIC drivers are available as modules./usr/src/sys/conf/NOTES, /usr/src/sys/*arch*/conf/NOTES and the manual page of the driver to determine which line to add to the custom kernel configuration file. For more information about recompiling the kernel, refer to Chapter 8, Configuring the FreeBSD Kernel. If the NIC was detected at boot, the kernel does not need to be recompiled.https://www.truenas.com/docs/hub/initial-setup/install/firsttimeinstall/#hardware-requirements
https://www.youtube.com/watch?v=iaIezpQsaOE&t=989s
System - GenralNetwork - Global Configuration给 SMB 增加一个 User,因为不能用 root 登录 SMB。
...