User Tools

Site Tools


toh:tp-link:tl-mr3020

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
toh:tp-link:tl-mr3020 [2014/08/08 15:07]
aind
toh:tp-link:tl-mr3020 [2014/10/30 03:23] (current)
alromh87 Update for 1.9 fw
Line 149: Line 149:
   --referer '​http://​192.168.0.254/​userRpm/​SoftwareUpgradeRpm.htm'​ \   --referer '​http://​192.168.0.254/​userRpm/​SoftwareUpgradeRpm.htm'​ \
   --form "​Filename=@$1"​ -F '​Upgrade=Upgrade'​ \   --form "​Filename=@$1"​ -F '​Upgrade=Upgrade'​ \
-  http://​192.168.0.254/​incoming/​Firmware.htm > /dev/null+  http://​192.168.0.254/​incoming/​Firmware.htm ​ > ans.html 
 +> /dev/null
  
 sleep 1 sleep 1
 +
 +session_id=$(sed -n 's/var session_id = \"​\(.*\)\"​.*/​\1/​p'​ ans.html)
  
 curl \ curl \
Line 158: Line 161:
   --user-agent '​Mozilla/​5.0 (X11; Ubuntu; Linux i686; rv:12.0) Gecko/​20100101 Firefox/​12.0'​ \   --user-agent '​Mozilla/​5.0 (X11; Ubuntu; Linux i686; rv:12.0) Gecko/​20100101 Firefox/​12.0'​ \
   --referer '​http://​192.168.0.254/​incoming/​Firmware.htm'​ \   --referer '​http://​192.168.0.254/​incoming/​Firmware.htm'​ \
-  http://​192.168.0.254/​userRpm/​FirmwareUpdateTemp.htm >  /dev/null+  http://​192.168.0.254/​userRpm/​FirmwareUpdateTemp.htm?​session_id=$session_id  ​>  /dev/null
 </​code>​ </​code>​
  
toh/tp-link/tl-mr3020.1407503236.txt.bz2 · Last modified: 2014/08/08 15:07 by aind