Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:tp-link:ec330-g5u_v1 [2023/02/21 17:46] – [Experimental Versions] csharper2005toh:tp-link:ec330-g5u_v1 [2023/08/02 19:03] – [OpenWrt installation (using factory image)] add info about ISP's default FW luckyspecialist
Line 78: Line 78:
 ---- ----
  
-==== OpenWrt installation ====+ 
 +{{page>meta:infobox:attention_trunk&noheader&nofooter&noeditbtn}} 
 +==== OpenWrt installation (using factory image) ==== 
 + 
 +Tested with //[[https://4pda.to/forum/index.php?showtopic=1030035&view=findpost&p=108374670|3.16.0 0.9.1 v6037.0 Build 191016 Rel.30619nb]]// TP-Link firmware. 
 +Also tested on 3.16.0 0.9.1 v6037.0 Build 181229 Rel.41159n (ISP's default FW) if the router booted from the right slot to download the OpenWRT firmware (see step 6 below). 
 + 
 +1. Login to the router web interface (http://192.168.0.1/ by default) and save running config to //conf.bin// file 
 + 
 +2.  Open configuration file in any TP-Link config editor (e.g. https://jahed.github.io/tp-link-config-editor/
 + 
 +3.  Find //DeviceInfo// section and insert a new string:  
 +<code bash><Description val="Modem Router`telnetd -p 1023 -l login`" /></code> 
 +according to the following example: 
 +<code bash> 
 +<DeviceInfo> 
 +   ... 
 +   <Description val="Modem Router`telnetd -p 1023 -l login`" /> 
 +   ... 
 +</DeviceInfo> 
 +</code> 
 + 
 +4.  Save configuration file and upload changed configuration using stock firmware web interface 
 + 
 +5.  Login using //telnet// to IP:192.168.0.1, port:1023 (Username:admin, password:1234) 
 + 
 +6.  Run <code bash>cat /proc/mtd | grep mtd7</code> 
 +  * If the result is <code bash>mtd7: 03000000 00020000 "rootfs" 03400000</code> then install stock firmware using web interface to toggle booted firmware image from //os1// to //os0// 
 +  * If the result is <code bash>mtd7: 03000000 00020000 "rootfs" 00400000</code> then all is ok, go to the next step 
 + 
 +7.  Set up a //tftp// server (e.g. //tftpd64// for windows) with OpenWrt //factory.bin// image (IP:192.168.0.100 in this example) 
 + 
 +8.  Login using //telnet// to 192.168.0.1, port:1023 
 + 
 +9.  Download OpenWrt //factory.bin// image from the tftp server: 
 +<code bash> 
 +cd /tmp 
 +tftp -g -r factory.bin 192.168.0.100 
 +</code> 
 + 
 +10. Write OpenWrt //factory.bin// image: 
 +<code bash> 
 +dd if=/tmp/factory.bin of=/dev/mtdblock1 
 +</code> 
 + 
 +11. Power cycle the router 
 + 
 +==== OpenWrt installation (using serial console) ====
  
 1. Rename OpenWrt initramfs image to **test.bin** and place it on tftp server with IP **192.168.0.5** 1. Rename OpenWrt initramfs image to **test.bin** and place it on tftp server with IP **192.168.0.5**
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1