Difference between revisions of "OpenWRT: Build Firmware Linksys WRT1900AC"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 58: | Line 58: | ||
  ./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon aprx usb-modeswitch  |   ./scripts/feeds install 6in4 6rd 4th 6to4 6tunnel libdaemon aprx usb-modeswitch  | ||
  ./scripts/feeds install pptpd ppp-mod-pptp smstools3 picocom  |   ./scripts/feeds install pptpd ppp-mod-pptp smstools3 picocom  | ||
| − |   ./scripts/feeds install kamailio4 kamailio   | + |   ./scripts/feeds install kamailio4 kamailio asterisk11  | 
  ./scripts/feeds update -a  |   ./scripts/feeds update -a  | ||
  ./scripts/feeds install -a  |   ./scripts/feeds install -a  | ||
Revision as of 17:24, 8 January 2015
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 libdaemon*
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
cd ~/Mamba/barrier_breaker ./update.sh ./scripts/feeds update ./scripts/feeds install meshwizard openssh-server openssh-clien ./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 asterisk11 ./scripts/feeds update -a ./scripts/feeds install -a
Download Makefile dari https://dev.openwrt.org/browser/packages/libs/libdaemon/Makefile?rev=39418
mkdir -p ~/Mamba/barrier_breaker/package/libs/libdaemon mv ~/Downloads/Makefile* ~/Mamba/barrier_breaker/package/libs/libdaemon
cp belkin/mamba_basic_master_config .config make clean make defconfig make menuconfig make world
Setup Menuconfig
Minimal
Target System  ---> Marvell Armada XP/370 
Subtarget      ---> Mamba
Target Profile ---> Belkin Mamba
Target Images  ---> jffs2
Kernel modules  --->
      Wireless Drivers  --->
            <*> kmod-marvellac
LuCI  --->
      1. Collections  --->
            -*- luci
            <*> luci-ssl
      2. Modules  --->
            -*- luci-mod-admin-full
            <*> luci-mod-failsafe
            -*- luci-mod-freifunk
            <*> luci-mod-rpc
      4. Themes  --->
            -*- luci-theme-bootstrap
            <*> luci-theme-freifunk-bno
            <*> luci-theme-freifunk-generic
            <*> luci-theme-openwrt
      6. Protocols  --->
            <*> luci-proto-3g
            <*> luci-proto-ipv6
            -*- luci-proto-ppp
            <*> luci-proto-relay
Network  --->
      <*> mrvl_wlan_v7drv
Utilities  --->
      <*> usb-modeswitch
Banyak Aplikasi
Target System  ---> Marvell Armada XP/370 
Subtarget      ---> Mamba
Target Profile ---> Belkin Mamba
Target Images  ---> jffs2
Base system  --->
     dnsmasq-dhcpv6
     wireless-tools
Administration  --->
     asterisk11-gui
Kernel modules  --->
     Filesystems  --->
          <*> kmod-fs-cifs
          <*> kmod-fs-ext4
          <*> kmod-fs-msdos
          <*> kmod-fs-nfs
          <*> kmod-fs-nfsd
          <*> kmod-fs-ntfs
          -*- kmod-fs-vfat
     USB Support  --->
          <*> kmod-usb-acm
          <*> kmod-usb-printer
          -*- kmod-usb-storage
          <*> kmod-usb-storage-extras
          <*> kmod-usb-wdm
          -*- kmod-usb2
          <*> kmod-usb2-pci
          <*> kmod-usb3
          <*> kmod-usbip
          <*> kmod-usbmon
LuCI  --->
      1. Collections  --->
            -*- luci
            <*> luci-ssl
      2. Modules  --->
            -*- luci-mod-admin-full
            <*> luci-mod-failsafe
            -*- luci-mod-freifunk
            <*> luci-mod-rpc
      3. Applications  --->
            <*> luci-app-ahcp
            -*- luci-app-diag-core
            <*> luci-app-diag-devinfo
            -*- luci-app-firewall
            <*> luci-app-freifunk-diagnostics
            <*> luci-app-freifunk-policyrouting
            <*> luci-app-freifunk-widgets
            <*> luci-app-meshwizard
            <*> luci-app-minidlna
            <*> luci-app-multiwan
            <*> luci-app-ntpc
            -*- luci-app-olsr
            -*-   luci-app-olsr-services
            <*>   luci-app-olsr-viz
            <*> luci-app-pbx
            <*> luci-app-radvd
            <*> luci-app-samba
            -*- luci-app-splash
            <*> luci-app-statistics
            <*> luci-app-upnp
            <*> luci-app-ushare
            <*> luci-app-wshaper
      4. Themes  --->
            -*- luci-theme-bootstrap
            <*> luci-theme-freifunk-bno
            <*> luci-theme-freifunk-generic
            <*> luci-theme-openwrt
      6. Protocols  --->
            <*> luci-proto-3g
            <*> luci-proto-ipv6
            -*- luci-proto-ppp
            <*> luci-proto-relay
      9. Freifunk  --->
            -*- freifunk-common
            <*>   community-profiles
            -*- freifunk-firewall
            -*- freifunk-gwcheck
            -*- freifunk-mapupdate
            -*- freifunk-p2pblock
            -*- freifunk-policyrouting
            -*- freifunk-watchdog
            <*> luci-mod-freifunk-community
            -*- meshwizard
Multimedia  --->
      -*- ushare
Network  --->
      Filesystem  --->
      Printing  ---> 
      Telephony  --->
      Time Synchronization  ---> 
      Web Servers/Proxies  --->
      firmware  --->
      wireless  --->
      <*> 6in4
      <*> 6rd
      <*> 6relayd
      <*> 6to4
      <*> 6tunnel
      -*- ahcpd
      <*> aprx
      -*- chat
      <*> hostapd
      <*> hostapd-common
      <*> hostapd-mini
      <*> hostapd-utils
      -*- httping.
      <*> iputils-ping6
      <*> iw
      -*- mac-to-devinfo.
      <*> mrtg
      <*> mrvl_wlan_v7drv
      -*- multiwan
      -*- netdiscover
      -*- netdiscover-to-devinfo
      <*> odhcp6c
      <*> odhcpd
      <*> ppp
      <*>   ppp-mod-pppoe
      -*- radvd
      -*- samba36-server
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
- https://github.com/wrt1900ac/opensource
 - http://wjianz.wordpress.com/2014/09/18/useful-links-on-building-openwrt-for-wrt1900ac/
 - https://github.com/jimmychungbelkin/Mamba/blob/master/Mamba_Openwrt_SDK_QS_v4.8.txt
 - https://github.com/Chadster766/McWRT/releases
 - http://support.linksys.com/en-us/support/routers/WRT1900AC