{{tag>howto pfsense apu apu4d4 pcengines install}} ====== Install pfSense 2.6.0 Community Edition On PC Engines APU4D4 ====== This howto will guide you through the installation process for [[https://www.pfsense.org/|pfSense]] 2.6.0 on a [[https://pcengines.ch/apu4d4.htm|PC Engines APU4D4]]. You can find generic installation instructions in the [[https://docs.netgate.com/pfsense/en/latest/|netgate documentation]]. ===== Sources ===== * https://www.pfsense.org/download/ * https://docs.netgate.com/pfsense/en/latest/ * https://docs.netgate.com/pfsense/en/latest/install/index.html * https://docs.netgate.com/pfsense/en/latest/install/install-pfsense.html * https://forum.netgate.com/topic/162959/root-mount-waiting-for-cam/6 * https://pcengines.ch/apu4d4.htm * https://pcengines.ch/pdf/apu4.pdf ===== Prerequisites ===== * USB flash drive ([[https://www.amazon.de/dp/B009WQ94O6/|e.g.]]) * USB to serial converter ([[https://www.amazon.de/dp/B07VCG1GZJ/|e.g.]]) * Null modem cable ([[https://www.amazon.de//dp/B006TC3EWO/|e.g.]]) * mSATA disk plugged into the mSATA-port of the PC Engines APU4D4-board ([[https://www.apu-board.de/produkte/apu4d4.html|e.g.]]) ===== Serial Console Image Download ===== All commands are assumed to be executed as **root**. Download the installer image (360 MB) cd ~/Downloads wget https://frafiles.netgate.com/mirror/downloads/pfSense-CE-memstick-serial-2.6.0-RELEASE-amd64.img.gz Alternatively - Browse to the [[https://www.pfsense.org/download/|pfSense download page]] and download the "Latest Stable Version (Community Edition)" ([[https://frafiles.netgate.com/mirror/downloads/pfSense-CE-memstick-serial-2.6.0-RELEASE-amd64.img.gz|direct link]]) to your local harddisk. * Version: **2.6.0** * Architecture: **AMD64 (64-bit)** * Installer: **USB Memstick Installer** * Console: **Serial** * Mirror: ** │ └──────────────────[Press arrows, TAB or ENTER]───────────────────┘ use the up/down arrow keys (Up/Down) to move to the line with your corresponding keymap, then press ENTER to select it pfSense Installer ────────────────────────────────────────────────────────────────────────────── ┌───────────────────────Keymap Selection──────────────────────────┐ │ The system console driver for pfSense defaults to standard "US" │ │ keyboard map. Other keymaps can be chosen below. │ │ ┌─────────────────────────────────────────────────────────────┐ │ │ │>>> Continue with de.kbd keymap │ │ │ │->- Test de.kbd keymap │ │ │ │( ) Armenian phonetic layout │ │ │ │( ) Belarusian │ │ │ │( ) Belgian │ │ │ │( ) Belgian (accent keys) │ │ │ │( ) Brazilian (accent keys) │ │ │ │( ) Brazilian (without accent keys) │ │ │ │( ) Bulgarian (BDS) │ │ │ │( ) Bulgarian (Phonetic) │ │ │ │( ) Canadian Bilingual │ │ │ └────┴(+)─────────────────────────────────────────────12%─────┘ │ ├─────────────────────────────────────────────────────────────────┤ │ │ └────────────────────────────────────────────────────┘ Create ZFS boot pool with displayed options press ENTER to accept the selected partition and filesystem options and to proceed with installation pfSense Installer ────────────────────────────────────────────────────────────────────────────── ┌─────────────ZFS Configuration───────────────┐ │ Select Virtual Device type: │ │ ┌─────────────────────────────────────────┐ │ │ │ stripe Stripe - No Redundancy │ │ │ │ mirror Mirror - n-Way Mirroring │ │ │ │ raid10 RAID 1+0 - n x 2-Way Mirrors │ │ │ │ raidz1 RAID-Z1 - Single Redundant RAID │ │ │ │ raidz2 RAID-Z2 - Double Redundant RAID │ │ │ │ raidz3 RAID-Z3 - Triple Redundant RAID │ │ │ └─────────────────────────────────────────┘ │ ├─────────────────────────────────────────────┤ │ < OK > │ └────────[Press arrows, TAB or ENTER]─────────┘ [1+ Disks] Striping provides maximum storage but no redundancy press ENTER to accept the selected ZFS configuration options (Stripe - No Redundancy) and to proceed with installation pfSense Installer ────────────────────────────────────────────────────────────────────────────── ┌──ZFS Configuration────┐ │ ┌───────────────────┐ │ │ │[ ] ada0 SATA SSD │ │ │ │[ ] da0 │ │ │ └───────────────────┘ │ ├───────────────────────┤ │ < OK > < Back > │ └───────────────────────┘ press SPACE select ada0 and then ENTER to proceed with the installation pfSense Installer ────────────────────────────────────────────────────────────────────────────── ┌──────────────ZFS Configuration─────────────────┐ │ Last Chance! Are you sure you want to destroy │ │ the current contents of the following disks: │ │ │ │ ada0 │ │ │ ├────────────────────────────────────────────────┤ │ < YES > < NO > │ └─────────[Press arrows, TAB or ENTER]───────────┘ press left arrow key (Left) and then ENTER to install pfSense to the mSATA SSD pfSense Installer ────────────────────────────────────────────────────────────────────────────── ┌───────Manual Configuration──────────┐ │ The installation is now finished. │ │ Before exiting the installer, would │ │ you like to open a shell in the new │ │ system to make any final manual │ │ modifications? │ ├─────────────────────────────────────┤ │ < Yes > < No > │ └─────────────────────────────────────┘ press ENTER to continue pfSense Installer ────────────────────────────────────────────────────────────────────────────── ┌─────────Complete───────────┐ │ Installation of pfSense │ │ complete! Would you like │ │ to reboot into the │ │ installed system now? │ ├────────────────────────────┤ │ │ └────────────────────────────┘ press ENTER to reboot into the installed pfSense system. When pfSense has booted up, you can connect a computer to **eth1** and let it get an IP configuration via DHCP. Then use a browser to connect to the web configuration GUI of pfSense at [[https://192.168.1.1/]]. The default user name is "**admin**" and the password is "**pfsense**". {{drawio>pages:howtos:pfsense:ethernet-ports}} ---- ~~DISCUSSION~~