Skip to content
No description or website provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
trunk build_dir

Jakub Klinkovský's configuration files

These are my config files of OpenWrt - an operating system I use in my Ubiquiti RouterStation Pro.


git clone git://
cd openwrt-dotfiles

And now copy the files anywhere you want.



I build the system from trunk source. To get it do the following:

git clone git:// ~/trunk/
cd ~/trunk

To build it you need to have installed gcc, binutils, patch, bzip2, flex, make, gettext, pkg-config, unzip, libz-dev and libc headers. Then run make menuconfig to configure your firmware and make to build it.


I have a Ubiquiti RouterStation Pro board, these config files may not work on other devices. Especially .config will work only on RouterStation Pro! Also note that RouterStation and RouterStation Pro are incompatible.

Hardware specification

  1. Overall System Configuration

    • CPU Atheros AR7161 MIPS 24Kc running @ 680MHz
    • MEMORY DDR 128MB
    • FLASH SPI 16MB
    • 4-Port Gigabit Ethernet Switch
    • Three MINI-PCI Slots supports Type IIIA
    • USB 2.0 Host
    • Built in RS232/dB9 Connector
    • SDIO
    • On board Real Time Clock "RTC"
    • DC Power Jack
    • 802.3af 48V compatible
  2. Power Supply Range 40VDC to 56VDC

    • Using Higher voltage is recommended since it will use lower current
    • Typical Power Consumption is 3W idle no radios present
    • 5W idle One Radio present
    • 7W while passing 1000Mbps traffic
    • Single RJ45 "J1" is for WAN and 802.3af compatible Power Over Ethernet
    • Supports high power POE up to 25W
  3. Ethernet Interface

    • J1 Single WAN port 10/100/1000
    • J2 Tripple LAN Port 10/100/1000
    • 2 RGMII Ethernet Logical Ports to Ethernet Phy Switch
      • 1 RGMII port for WAN Port
      • 1 RGMII port for LAN Ports
    • Ethernet Phy switch, Atheros AR8316
  4. Real Time Clock "RTC" Interface

    • RTC Interface shares the SPI bus with the on board FLASH
    • Active high signal on SPI CS enables RTC, active low signal on SPI CS enables FLASH
    • Manufacture Part# PCF2123TS Download Datasheet
  5. Supported IO

    UART J3 6 pin Header

    Terminal Settings 115200 baud, 8 bits, nor parity, 1 stop bit.

    Pin Out
    Pin1 3.3VDC
    Pin2 S_in
    Pin3 NC
    Pin4 NC
    Pin5 S_out
    Pin6 GND
    JTAG Port "J4"

    14 Pin header

    Pin Out
    Pin1 TRST Pin2 GND
    Pin3 TDI Pin4 GND
    Pin5 TDO Pin6 GND
    Pin7 TMS Pin8 GND
    Pin9 TCK Pin10 GND
    Pin11 RST Pin12 NC
    Pin13 NC Pin14 3.3VDC
    USER GPIO Header "J33"

    Single Row 7 Pin Header Also next to it J5 dual row header to enable pull-up or pull-down for each GPIO user selectable in case User needs Active Low or Active High GPIO J33 Pin out and Strapping option "place shunt to enable strapping option"

    Pin1 GPIO_0 PULL LOW
    Pin2 GPIO_1 PULL LOW
    Pin3 GPIO_3 PULL LOW
    Pin4 GPIO_4 PULL LOW

    Uses GPIO_8 with weak pull-up, Active Low, for Resting back to factory defaults or multiple functions software dependent.


    Link/Act signals are connected to the Ethernet Phy Switch

    D29 POWER 3.3VDC NA
    D24 RF RADIO Act GPIO_2
    DS4 WAN Link/Act NA
    DS14 LAN1 Link/Act NA
    DS12 LAN2 Link/Act NA
    DS13 LAN3 Link/Act NA

Additional hardware informations

  • I have two wireless cards TP-Link TL-WN360G. One is used as client to connect to my WISP, the other is used as AP for my home network.
  • I have a 8GB USB flash drive connected to the USB port and I have configured extroot (rootfs on external storage), so the entire system is booted from this device. The entire configuration is done in /etc/config/fstab, so if you don't want this, change the mount target from / to /mnt (or something else). Also if you use the Backfire release or versions of Trunk older than r26109, mounting the external storage as / is not possible.
Something went wrong with that request. Please try again.