I picked up from the street a
TP-Link WR841N(TPD) Ver 9.0 router. It seems it has some proprietary software from some company that used it to sell services to public places, like restaurants, so customers could use free wifi in exchange for advertising.
The router is configured at 172.16.0.1, 255.255.0.0 and I can connect to it there both by ethernet and by wifi. It responds to ping but when I try with the browser and http I just get a text error message
Unable to launch the requested Lua program:
/root/gestorConexiones.lua: /root/gestorConexiones.lua:163: attempt to concatenate global 'promotionId' (a nil value)
It seems "lua" is some simple programming language from Brazil. I am guessing the device is trying to call home before even getting started.
With this software it is useless to me and I thought of flashing it with DD-WRT. Last time I attempted to flash a router I bricked it. In this case it would not be a great loss because it is pretty much useless as it is and because I am doing this for fun. I have more routers than I can use. So let us have a look a possible ways to flash this thing.
1- HTTP & Ethernet. As explained above there is no configuration page I can access. Unless someone has a better idea this seems like a dead end. To use this the router needs to cooperate and it is not.
2- JTAG. The board seems to have a JTAG connector ready to accept a header. I have never used JTAG. Reading about it it seems it uses the old printer parallel port. This seems cumbersome and I think I would rather avoid going this route.
3- USB Next to the JTAG there is a four pin place for a header which I interpret as USB. I wonder about trying this but I suspect it depends on the current firmware supporting it and it probably does not so it is like http & Ethernet. Probably no-go.
4- Removing/desoldering the Flash chip and having someone flash it for me because I do not have the means or inclination to do it. The chip is an 8 pin SMD mx25L3206 which I gather is 32 K bit. Being SMD I would need to be extremely careful but this seems like the most straightforward route to me if i can find someone who can flash the memory chip for me.
5- Other? Return it to the trash?
I guess, in the worst of cases, I can always use it as a switch using the four LAN ports. It does work with the 192.168.x.x LAN. Although the WIFI is on and useless then. Hmmm....