Installing IPfire on a Alix APUC1

For my growing network I was in need of a better router than the Fritz!Box 7390 provided by my ISP. I decided to build my own router that should support:

  • separate networks for private computers, public available servers and wireless
  • a proper VPN implementation
  • a proper, configurable firewall
  • regular updates
  • as low as possible power consumption

Between many choices I’ve decided to use the quite popular firewall distribution IPfire on a Alix APU1c. Connection to the internet will be managed using a Draytek Vigor 130 (V)DSL modem.

This is a post from my old blog It has been moved here and slightly edited for better readability. It's also been adjusted to the new layout.
The content however is old and might be outdated.

IPfire is a quite modern firewall distribution with a modular concept. There are modules available for almost any usecase so you can built not only routers but also access points and appliances like print, mail or data servers. It’s using quite recent kernels and works on most hardware.
The Alix APU1c is a small yet powerful embedded board by PCEngines sporting

  • CPU: AMD G series T40e (1Ghz dual Bobcat Core, 64bit)
  • RAM: 1GB DDR3-1066
  • Network: 3 (!) Gigabit NICs (Realtek RTL8111E)
  • Interfaces: mSata, SDCard, 2xUSB external, 1xUSB internal, DB9 Serial-Port, 2xminiPCI express

Especially the miniPCI interface is great to add a WLAN card.


Beside the Alix APU1c board an a fitting case I used:

  • a mSATA SSD with 16GB
  • a mSATA to USB adaptor
  • a miniPCIe WLAN card (Compex WLE200NX IEEE 802.11a/b/g/n)
  • two WLAN antennas
  • a null modem cable with R232 USB adaptor. The Alix APU1c doesn’t have a graphic card we will have to use a serial console for installation and configuration.

Connect the Alix APU1c board to your PC using the null modem cable and the R232 serial adaptor. Make sure the adapter gets’s recognised as a serial device (/dev/ttyUSB1 on linux). In case it does not work as intended have a look here:

Installation of IPfire

Installation was pretty easy then.

  1. Download the latest disk image from Make sure to download the image with serial console enabled: ipfire-v.vv.1gb-ext4-scon.i586-full-corexx.img.gz
  2. Connect the SSD to your PC, find the device name (eg using df or lsblk) and dump the disk image to the SSD. On Linux use
    sudo dd if=ipfire-v.vv.1gb-ext4-scon.i586-full-corexx.img of=/dev/sdx

    Use your device name instead of sdx without partition number.

  3. Insert the SSD into the Alix board as well as the WLAN card.
  4. Open a serial connection to the Alix board. Make sure to set the baud rate correctly to 115200 8N1. I’ve been using putty successfully for this task. Power on the Alix board and watch it booting on the serial connection.

Installation is already done by now. During first boot the system will resize the partitions and then start the setup assistant.

1 Comment

  1. Pingback: Installing devuan on a Alix APUC1 -

Leave a Reply

Your email address will not be published.