Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.28 KB

openwrt.md

File metadata and controls

28 lines (25 loc) · 1.28 KB

HowTo include Databag in an OpenWrt firmware image

These instructions assume can build an OpenWrt firmware for your hardware:

Databag is currently included as a custom feed

  • clone the custom feed into the OpenWrt repo:
  • git clone https://github.com/balzack/openwrt-databag.git
    
  • in feeds.conf at the root of the repository add:
  • src-cpy databag ./openwrt-databag/
    
  • update the package list by running:
  • scripts/feeds update databag
    
  • install the pacakge by running:
  • scripts/feeds install databag
    
  • include the pacakge in the firmware by running:
  • make menuconfig
    
  • enable databag under net/instant messaging/databag
  • build the firmware by running:
  • make -j$(nproc) defconfig download clean world
    
  • flash and boot the resulting image

Configure the Databag service

  • change the port as desired
  • uci set databag.@databag[0].service_port='<port>'
    
  • change the storage path to your mounted USB path
  • uci set databag.@databag[0].store_path='<path>'
    
  • reboot the device