OpenWRT: Build Firmware Linksys WRT1900AC

From OnnoWiki
Jump to navigation Jump to search

Spesifikasi

Model: 	Linksys WRT1900AC
Technology: 	Wireless-AC
Standards: 	802.11a, 802.11b, 802.11g, 802.11n. 802.11ac
Frequency: 	Dual
Bands: 	Simultaneous: 2.4 GHz (Wireless-N), 5.0 GHz (Wireless-AC)
Security: 	WEP 64/128-bit, WPA2-Personal & Enterpise (AES/TKIP), WPS
Antennas: 	4x External Detachable Antennas
Antenna Gain (peak): 	2.4GHz: 2.5dBi
5GHz: 3.8dBi
Antenna Type: 	Dipole
Output Power: 	2.4GHz: 19dBm
5GHz: 21dBm

Hardware Highlights:

SoC 	Ram 	Flash 	Network 	USB 	Serial 	JTag 	eSata
Marvell MV78230 	256 MiB 	128 MiB 		1×2.0 1×3.0 	Yes

Siapkan Aplikasi Pendukung

sudo su
apt-get update
apt-get install subversion gawk flex sharutils bison libz-dev zlib1g-dev patch \
fakeroot lzma git-core build-essential unzip libncurses5-dev curl php-xml-parser \
libexpat1 libexpat1-dev libssl-dev
cd /usr/local/src
wget http://www.cpan.org/modules/by-module/XML/XML-Parser-2.43.tar.gz
tar zxvf XML-Parser-2.43.tar.gz
cd /usr/local/src/XML-Parser-2.43
perl Makefile.PL
make install

Download source code

Download source code untuk WRT1900AC sekitar 700Mbyte-an

cd ~
git clone https://github.com/jimmychungbelkin/Mamba

Source code akan berada di

~/Mamba
./scripts/feeds update
./scripts/feeds install meshwizard openssh-server openssh-client
./scripts/feeds install freifunk-common freifunk-gwcheck freifunk-mapupdate
./scripts/feeds install luci luci-app-meshwizard luci-app-olsr luci-app-olsr-services
./scripts/feeds install luci-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk
./scripts/feeds install luci-theme-freifunk-generic olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw
./scripts/feeds install olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw
./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo
./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf
./scripts/feeds install luci-app-upnp minidlna miniupnpc miniupnpd luci-app-minidlna
./scripts/feeds install libdlna libgupnp libgupnp-dlna rtorrent
./scripts/feeds install usb-modeswitch usb-modeswitch-data usbutils multiwan
./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon aprx usb-modeswitch
./scripts/feeds install pptpd ppp-mod-pptp smstools3 picocom
./scripts/feeds install kamailio4 kamailio asterisk18 asterisk11
./scripts/feeds update -a
./scripts/feeds install -a
make clean
make defconfig
make menuconfig
make world

Setup Menuconfig

For WRT1900AC:

The "Target System" in make menuconfig should be set to "Marvell Armada XP/370"
The "Subtarget" in make menuconfig should be set to "Mamba"
In "Target Images" in make menuconfig you should enable "jffs2"



Barrier Breaker

=

Barrier-Breaker/openwrt-armadaxp--jffs2-128k.img - prebuilt image based on OpenWrt Barrier-Breaker Barrier-Breaker/patch_submission_1.6.tar.gz - patch files for standard OpenWrt Package

OpenWRT git base revision: e97be7a104e5c809ae4638cf169823249a505698 OpenWRT svn base revision: 40006


Lokasi image

After the build completes the firmware image for the WRT1900AC will be 
located at:
./bin/mvebu/openwrt-mvebu-mamba-jffs2-128k.img


Update Image

How to update from Belkin/Linksys UI

  • Login into WRT1900AC local UI
  • Navigate to the Connectivity tab
  • Select Manual firmware update
  • Select image to load (e.g., openwrt-armadaxp--jffs2-128k.img)
  • Select Update firmware

After the firmware is updated, the unit will reboot, and the default ip address will be 192.168.200.1

The OpenWrt system is documented in docs/. You will need a LaTeX distribution and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system (case-sensitive filesystem required). Cygwin will not be supported because of the lack of case sensitiveness in the file system.


Referensi