Openwrt on wlan-825

From JoBaPedia
Jump to navigation Jump to search

Create Install and Configure OpenWRT Firmware for WLAN-825

Services

The OpenWRT router should have/keep the following features:

  • WLAN router
  • Web config interface
  • Syslog to job4
  • SSH server
  • OpenVPN server
  • OpenVPN client
  • Tor node with polipo proxy

Hardware Infos

root@wlan-825:~# cat /proc/cpuinfo 
system type             : Atheros AR7161 rev 2
machine                 : D-Link DIR-825 rev. B1
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 452.19
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ff8, 0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

Build Instructions

Save Changed Files

cd /overlay
tar czf config-files.tgz .
scp config-files.tgz job4:.

Upgrade

cd /tmp
wget http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-dir-825-b1-squashfs-sysupgrade.bin
wget http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/md5sums
md5sum -c md5sums 2> /dev/null | grep OK

sysupgrade -v /tmp/openwrt-ar71xx-generic-dir-825-b1-squashfs-sysupgrade.bin

Now you may need to reinstall packages

opkg update
opkg install tor polipo

Check New Version

cd /tmp
wget http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15.05-ar71xx-generic-dir-825-b1-squashfs-sysupgrade.bin
wget http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/md5sums
md5sum -c md5sums 2> /dev/null | grep OK

Build Environment

Not needed. Downloaded image is good.