The aim is to replace the TP-LINK firmware with OpenWRT and convert the device into LAN access point.
1. Get the firmware:
Downloaded the firmware from here. File called: openwrt-ar71xx-generic-tl-wr1043nd-v2-squashfs-factory
2. Login to the router and upgrade the firmware.
3. Login to the router via telnet:
BusyBox v1.22.1 (2015-02-25 03:48:40 UTC) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- CHAOS CALMER (Bleeding Edge, r44528) ----------------------------------------------------- * 1 1/2 oz Gin Shake with a glassful * 1/4 oz Triple Sec of broken ice and pour * 3/4 oz Lime Juice unstrained into a goblet. * 1 1/2 oz Orange Juice * 1 tsp. Grenadine Syrup ----------------------------------------------------- root@OpenWrt:~#
and set the root password. Once that is done re-login via SSH.
4. As I am not connecting that device to internet as yet, I need to tell it what is the default gateway:
root@OpenWrt:/etc/config# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan root@OpenWrt:/etc/config# route add default gw 192.168.1.254 br-lan root@OpenWrt:/etc/config# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.254 0.0.0.0 UG 0 0 0 br-lan 192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan root@OpenWrt:/etc/config# ping google.com PING google.com (216.58.209.238): 56 data bytes 64 bytes from 216.58.209.238: seq=0 ttl=56 time=8.552 ms 64 bytes from 216.58.209.238: seq=1 ttl=56 time=8.600 ms
5. Install Web Console.
Add the a line like this to your /etc/opkg.conf to enable the openwrt package repository:
src luci http://downloads.openwrt.org/kamikaze/8.09.2/YOUR_ARCHITECTURE/packages
then run:
# opkg update
then to install the https enabled web console:
root@OpenWrt:/# opkg install luci-ssl Installing luci-ssl (git-15.051.48491-4137afe-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/luci-ssl_git-15.051.48491-4137afe-1_all.ipk. Installing luci (git-15.051.48491-4137afe-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/luci_git-15.051.48491-4137afe-1_all.ipk. Installing libustream-polarssl (2014-03-25-fc0b5ec804ee43c532978dd04ab0509c34baefb0) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/libustream-polarssl_2014-03-25-fc0b5ec804ee43c532978dd04ab0509c34baefb0_ar71xx.ipk. Installing libpolarssl (1.3.10-1) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/libpolarssl_1.3.10-1_ar71xx.ipk. Installing px5g (3) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/px5g_3_ar71xx.ipk. Configuring luci. Configuring libpolarssl. Configuring libustream-polarssl. Configuring px5g. Configuring luci-ssl.
7. Login to the Web Console:
Job Done.