Installation of OpenWRT on Linksys EA4500 / N900 v1

Installation of OpenWRT on Linksys EA4500 / N900

1.-  It looks like this is very important and you must not skip it!!!!
Download/install last oficial firmware by Linksys
Ver. 2.1.42 (Build 183584)
Latest Date:  9/19/2017
Download 22.6 MB

From here: http://downloads.linksys.com/downloads/firmware/FW_EA4500_2.1.42.183584_prod.img



Perform the "upgrade"


2.- After the reboot, perform the install of OpenWRT. I'm not sure but my attempts to install the very latest firmware failed, so I used the version mention on this chatroom:

https://forum.archive.openwrt.org/viewtopic.php?id=60649&p=1#p304557

Post #21:
Edit: that image you're running now might be old enough that you should flash the factory firmware first, then flash with https://downloads.openwrt.org/snapshots … actory.bin .

The board name changed from ea4500 to linksys-viper, which will prevent sysupgrade from accepting the .tar image.

Link to the file: https://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/openwrt-kirkwood-linksys-viper-squashfs-factory.bin

Wait for the reboot, ping the router and when you get answer open an ssh session:


3.- ssh root@192.168.1.1
Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.


BusyBox v1.24.2 () built-in shell (ash)

  _______                                 ________           __
 |               | .-------.------.-----.  |      |   |     | .----. |    |_
 |       -       | |   _    |  -__|         | |      |   |     | |    _| |     _|
 |_______ | |     __|____|__|__| |________| |__|  |____|
                   |__| W I R E L E S S   F R E E D O M 
 -----------------------------------------------------
 DESIGNATED DRIVER (Bleeding Edge, 50072)
 -----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
 -----------------------------------------------------
root@OpenWrt:~#

Assign a password to "root" account:

root@OpenWrt:~# passwd root
Changing password for root
New password:
Retype password:
Password for root changed by root


4.- Connect the router to your internet connection and upgrade the packages as explained on
https://openwrt.org/docs/guide-user/luci/luci.essentials


root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_base.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/kernel/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_kernel.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/kernel/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_telephony.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/telephony/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_packages.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/packages/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_routing.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/routing/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_luci.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_management.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/management/Packages.sig.
Signature check passed.


5.- Now install "luci" with SSL

root@OpenWrt:~# opkg install luci-ssl-openssl
Installing luci-ssl-openssl (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-ssl-openssl_git-17.339.51318-de4c4b8-1_all.ipk.
Installing luci (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci_git-17.339.51318-de4c4b8-1_all.ipk.
Installing uhttpd (2016-10-05-fe01ef3f52adae9da38ef47926cd50974af5d6b7) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/uhttpd_2016-10-05-fe01ef3f52adae9da38ef47926cd50974af5d6b7_kirkwood.ipk.
Installing uhttpd-mod-ubus (2016-10-05-fe01ef3f52adae9da38ef47926cd50974af5d6b7) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/uhttpd-mod-ubus_2016-10-05-fe01ef3f52adae9da38ef47926cd50974af5d6b7_kirkwood.ipk.
Installing luci-mod-admin-full (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-mod-admin-full_git-17.339.51318-de4c4b8-1_kirkwood.ipk.
Installing luci-base (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-base_git-17.339.51318-de4c4b8-1_kirkwood.ipk.
Installing lua (5.1.5-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/lua_5.1.5-1_kirkwood.ipk.
Installing liblua (5.1.5-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/liblua_5.1.5-1_kirkwood.ipk.
Installing libuci-lua (2016-07-04.1-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/libuci-lua_2016-07-04.1-1_kirkwood.ipk.
Installing luci-lib-nixio (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-lib-nixio_git-17.339.51318-de4c4b8-1_kirkwood.ipk.
Installing luci-lib-ip (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-lib-ip_git-17.339.51318-de4c4b8-1_kirkwood.ipk.
Installing rpcd (2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/rpcd_2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a_kirkwood.ipk.
Installing libubus-lua (2016-07-02-053be7df871e05478284235732f8b0608089512f) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/libubus-lua_2016-07-02-053be7df871e05478284235732f8b0608089512f_kirkwood.ipk.
Installing luci-lib-jsonc (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-lib-jsonc_git-17.339.51318-de4c4b8-1_kirkwood.ipk.
Installing luci-theme-bootstrap (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-theme-bootstrap_git-17.339.51318-de4c4b8-1_all.ipk.
Installing luci-app-firewall (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-app-firewall_git-17.339.51318-de4c4b8-1_all.ipk.
Installing luci-proto-ppp (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-proto-ppp_git-17.339.51318-de4c4b8-1_all.ipk.
Installing libiwinfo-lua (2016-01-25-e4aca3910dff532ed878d0ceaf1ab6e8ad7719bf) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/libiwinfo-lua_2016-01-25-e4aca3910dff532ed878d0ceaf1ab6e8ad7719bf_kirkwood.ipk.
Installing luci-proto-ipv6 (git-17.339.51318-de4c4b8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/luci-proto-ipv6_git-17.339.51318-de4c4b8-1_all.ipk.
Installing rpcd-mod-rrdns (20170710) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/rpcd-mod-rrdns_20170710_kirkwood.ipk.
Installing libustream-openssl (2016-07-02-ec80adaa1b47f28d426fa19c692011ce60b992d6) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/libustream-openssl_2016-07-02-ec80adaa1b47f28d426fa19c692011ce60b992d6_kirkwood.ipk.
Installing libopenssl (1.0.2m-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/libopenssl_1.0.2m-1_kirkwood.ipk.
Installing zlib (1.2.8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/zlib_1.2.8-1_kirkwood.ipk.
Installing openssl-util (1.0.2m-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/openssl-util_1.0.2m-1_kirkwood.ipk.
Configuring liblua.
Configuring libuci-lua.
Configuring rpcd.
Configuring luci-lib-ip.
Configuring libubus-lua.
Configuring libiwinfo-lua.
Configuring zlib.
Configuring libopenssl.
Configuring openssl-util.
Configuring luci-theme-bootstrap.
//usr/lib/opkg/info/luci-theme-bootstrap.postinst: .: line 130: can't open './30_luci-theme-bootstrap'
//usr/lib/opkg/info/luci-theme-bootstrap.postinst: .: line 130: can't open './30_luci-theme-bootstrap'
Configuring libustream-openssl.
Configuring uhttpd.
4+0 records in
4+0 records out
Generating a 2048 bit RSA private key
.........................................................+++
.............................................................................+++
writing new private key to '/etc/uhttpd.key.new'
-----
Configuring uhttpd-mod-ubus.
//usr/lib/opkg/info/uhttpd-mod-ubus.postinst: .: line 130: can't open './00_uhttpd_ubus'
Configuring lua.
Configuring luci-lib-nixio.
Configuring luci-lib-jsonc.
Configuring luci-base.
Configuring luci-mod-admin-full.
//usr/lib/opkg/info/luci-mod-admin-full.postinst: .: line 130: can't open './50_luci-mod-admin-full'
//usr/lib/opkg/info/luci-mod-admin-full.postinst: .: line 130: can't open './50_luci-mod-admin-full'
Configuring luci-app-firewall.
Configuring luci-proto-ppp.
Configuring luci-proto-ipv6.
Configuring rpcd-mod-rrdns.
Configuring luci.
Configuring luci-ssl-openssl.


6.- Additional web applications
Search and install luci-app-* packages if you want to configure services via LuCI.

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_base.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/base/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/kernel/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_kernel.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/kernel/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_telephony.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/telephony/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_packages.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/packages/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_routing.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/routing/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_luci.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/luci/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/designated_driver_management.
Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/management/Packages.sig.
Signature check passed.

root@OpenWrt:~# opkg list luci-app-\*
<>  So I just went to the browser and opened a session to 192.168.1.1


If  you would like to see some graphical examples you can go to this post.

For the rest of the configuration you can check this post too.

No hay comentarios.:

// Cookie consent