Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


apu2_debian_stretch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
apu2_debian_stretch [2018/06/01 17:55] adminapu2_debian_stretch [2018/08/02 18:17] admin
Line 1: Line 1:
-=====PCEngines APU2 - Debian 9./ Stretch=====+=====PCEngines APU2 - Debian 9./ Stretch=====
  
 **Note!** **Note!**
-  * It seems the APU2 won't boot from USB3 drive and external USB2 card reader. Booting from a USB2 thumb drive was not a problem.+  * It seems the APU2 won't boot from USB3 drive and external USB2 card reader. Booting from a USB2 thumb drive was not a problem. Or try to update the BIOS / firmware.
   * This is a netinstall, you'll need an internet connection.   * This is a netinstall, you'll need an internet connection.
   * Enable ''Legacy console redirection'' in BIOS.   * Enable ''Legacy console redirection'' in BIOS.
Line 18: Line 18:
   * During install, deselect any desktop environment and select the ''SSH server'' and ''standard system utilities''.   * During install, deselect any desktop environment and select the ''SSH server'' and ''standard system utilities''.
   * At first reboot, you'll get the following error:<code>text is deprecated. Use set gfxpayload=vga=off before linux command instead.</code>   * At first reboot, you'll get the following error:<code>text is deprecated. Use set gfxpayload=vga=off before linux command instead.</code>
-  * Reboot, and at the grub menu press ''e'' and remove the ''vga=off'' option. Press ctrl-x to boot.+  * Reboot, and at the grub menu press ''e'' and **remove** the ''vga=off'' option. Press ctrl-x to boot.
  
 ====Post install configuration==== ====Post install configuration====
Line 39: Line 39:
 EOF</code> EOF</code>
   * Alternatively you can blacklist sp5100_tco if you don't need it.<code>   * Alternatively you can blacklist sp5100_tco if you don't need it.<code>
-echo "blacklist sp5100_tco" > /etc/modprobe.d/sp5100_tco.conf +echo "blacklist sp5100_tco" > /etc/modprobe.d/sp5100_tco.conf</code> 
-update-initramfs -u+  * Update initramfs:<code>update-initramfs -u
 reboot</code> reboot</code>
   * Configure iptables (allow only SSH and ICMP)<code>   * Configure iptables (allow only SSH and ICMP)<code>
Line 60: Line 60:
 ip6tables -P FORWARD DROP ip6tables -P FORWARD DROP
 ip6tables -P OUTPUT DROP ip6tables -P OUTPUT DROP
 +# for local resolving
 +ip6tables -A INPUT -i lo -d ::1/128 -s ::1/128 -j ACCEPT
 +ip6tables -A OUTPUT -o lo -d ::1/128 -s ::1/128 -j ACCEPT
 +
  
 iptables-save > /etc/iptables/rules.v4 iptables-save > /etc/iptables/rules.v4
apu2_debian_stretch.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1