diff options
author | runborg <runar@13xl.com> | 2019-06-27 21:34:16 +0200 |
---|---|---|
committer | Kim <kim.sidney@gmail.com> | 2019-06-27 21:34:16 +0200 |
commit | 1a2bd0acd0671b0df55e889dc38a6a2543744402 (patch) | |
tree | ee6f404c2ef71040764986e9b12042d07ab38653 /docs/appendix | |
parent | 4c63a9d11d05b8ca6998de971d97182bc81f5ff0 (diff) | |
download | vyos-documentation-1a2bd0acd0671b0df55e889dc38a6a2543744402.tar.gz vyos-documentation-1a2bd0acd0671b0df55e889dc38a6a2543744402.zip |
T1457: migrate Config archive, routing-policy example and two hardware devices (#70)
* T1457: Migrate Qotom Q355G4 into Running on Bare Metal
* T1457: Added Configuration archive to configuration overview
* T1457: Added routing-policy example to routing, from the wiki
* T1457: Added Partaker i5 and Acrosser to Running on bare metal
Diffstat (limited to 'docs/appendix')
-rw-r--r-- | docs/appendix/vyos-on-baremetal.rst | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/docs/appendix/vyos-on-baremetal.rst b/docs/appendix/vyos-on-baremetal.rst index 16f186db..cd8779a2 100644 --- a/docs/appendix/vyos-on-baremetal.rst +++ b/docs/appendix/vyos-on-baremetal.rst @@ -212,3 +212,86 @@ Pictures .. _Rufus: https://rufus.ie/ .. _T1327: https://phabricator.vyos.net/T1327 + + +Qotom Q355G4 +************ + +The install on this Q355G4 box is pretty much plug and play. The port numbering the OS does might differ from the labels on the outside, but the UEFI firmware has a port blink test built in with MAC adresses so you can very quickly identify which is which. MAC labels are on the inside as well, and this test can be done from VyOS or plain Linux too. Default settings in the UEFI will make it boot, but depending on your installation wishes (i.e. storage type, boot type, console type) you might want to adjust them. This Qotom company seems to be the real OEM/ODM for many other relabelling companies like Protectli. + +Hardware +-------- + +There are a number of other options, but they all seem to be close to Intel reference designs, with added features like more serial ports, more network interfaces and the likes. Because they don't deviate too much from standard designs all the hardware is well-supported by mainline. It accepts one LPDDR3 SO-DIMM, but chances are that if you need more than that, you'll also want something even beefier than an i5. There are options for antenna holes, and SIM slots, so you could in theory add an LTE/Cell modem (not tested so far). + +The chassis is a U-shaped alu extrusion with removable I/O plates and removable bottom plate. Cooling is completely passive with a heatsink on the SoC with internal and external fins, a flat interface surface, thermal pad on top of that, which then directly attaches to the chassis, which has fins as well. It comes with mounting hardware and rubber feet, so you could place it like a desktop model or mount it on a VESA mount, or even wall mount it with the provided mounting plate. The closing plate doubles as internal 2.5" mounting place for an HDD or SSD, and comes supplied with a small SATA cable and SATA power cable. Power supply is a 12VDC barrel jack, and included switching power supply. (which is why SATA power regulation is on-board) Internally it has a NUC-board-style on-board 12V input header as well, the molex locking style. + +There are WDT options and auto-boot on power enable, which is great for remote setups. Firmware is reasonably secure (no backdoors found, BootGuard is enabled in enforcement mode, which is good but also means no coreboot option), yet has most options available to configure (so it's not locked out like most firmwares are). + +An external RS232 serial port is available, internally a GPIO header as well. It does have Realtek based audio on board for some reason, but you can disable that. Booting works on both USB2 and USB3 ports. Switching between serial BIOS mode and HDMI BIOS mode depends on what is connected at startup; it goes into serial mode if you disconnect HDMI and plug in serial, in all other cases it's HDMI mode. + + +Partaker i5 +*********** +.. figure:: ../_static/images/600px-Partaker-i5.jpg + +I believe this is actually the same hardware as the Protectli. I purchased it from `Amazon <https://www.amazon.com/gp/product/B073F9GHKL/>`_ in June 2018. It came pre-loaded with pfSense. `Manufacturer product page <http://www.inctel.com.cn/product/detail/338.html>`_. + +Installation +------------ +* Write the official ISO to a USB drive of some sort. +* Plug in VGA, power, USB keyboard, and USB drive. +* Press the "SW" button on the front (this is the power button; I don't know what "SW" is supposed to mean). +* Begin rapidly pressing Delete on the keyboard. The boot prompt is very quick, but with a few tries you should be able to get into the BIOS. +* Chipset > South Bridge > USB Configuration: set XHCI to Disabled and USB 2.0 (EHCI) to Enabled. Without doing this, the USB drive won't boot. +* Boot to the VyOS installer and install as usual. +Warning the interface labels on my device are backwards; the left-most "LAN4" port is eth0 and the right-most "LAN1" port is eth3. + + +Acrosser AND-J190N1 +******************* + +.. figure:: ../_static/images/480px-Acrosser_ANDJ190N1_Front.jpg + +.. figure:: ../_static/images/480px-Acrosser_ANDJ190N1_Back.jpg + +11/22/2016. This microbox network appliance was build to create OpenVPN bridges. It can saturate a 100Mbps link. + +It is a small (serial console only) PC with 6 Gb LAN http://www.acrosser.com/upload/AND-J190_J180N1-2.pdf + +You may have to add your own RAM and HDD/SSD. There is no VGA connector. But Acrosser provides a DB25 adapter for the VGA header on the motherboard (not used). + +BIOS Settings: +-------------- + +First thing you want to do is getting a more user friendly console to configure BIOS. Default VT100 brings a lot of issues. Configure VT100+ instead. + +For practical issues change speed from 115200 to 9600. 9600 is the default speed at which both linux kernel and VyOS will reconfigure the serial port when loading. + +Connect to serial (115200bps). Power on the appliance and press Del in the console when requested to enter BIOS settings. + +Advanced > Serial Port Console Redirection > Console Redirection Settings: + +* Terminal Type : VT100+ +* Bits per second : 9600 +Then save, reboot and change serial speed to 9600 on your client. + + +Some options have to be changed for VyOS to boot correctly. With XHCI enabled the installer can’t access the USB key. Enable EHCI instead. + +Reboot inside the BIOS, + +Chipset > South Bridge > USB Configuration: + +* Disable XHCI +* Enable USB 2.0 (EHCI) Support + +Install VyOS: +------------- +Create a VyOS bootable USB key. I Used the 64bits iso (VyOS 1.1.7) and live usb installer (http://www.linuxliveusb.com/) + +I'm not sure if it helps the process but I changed default option to live-serial (line “default xxxx”) on the USB key under syslinux/syslinux.cfg. + +I connected the key to one black USB port on the back and powered on. The first VyOS screen has some readability issues. Press enter to continue. + +Then VyOS should boot and you can perform the "install image" |