View Single Post
  #71  
Old 01.11.2014, 12:47
nyten
Guest
 
Posts: n/a
Default WR740N reconnect

I have long been looking for a script for my router and found none. Now I have written a script myself.

My router's Web interface running on port 81, therefore is 192.168.0.11:81 in my scripts


Linux:
(requires the package curl)
(tested with opensuse 13.1)
Code:
#!/bin/sh
# Neuverbinden eines TP-Link WR740N Routers
# by nyten
sleep 2
curl --verbose -u USERNAME:PASSWORD '**External links are only visible to Support Staff**
sleep 7
curl --verbose -u USERNAME:PASSWORD '**External links are only visible to Support Staff**
sleep 5

Windows:
(requires curl and libcurl.dll **External links are only visible to Support Staff** (tested with win7pro)
Code:
@echo off
rem Neuverbinden eines TP-Link WR740N Routers
rem by nyten
timeout /T 3 /nobreak >nul
curl.exe --verbose -u USERNAME:PASSWORD "**External links are only visible to Support Staff**
timeout /T 7 /nobreak >nul
curl.exe --verbose -u USERNAME:PASSWORD "**External links are only visible to Support Staff**
timeout /T 5 /nobreak >nul

Last edited by nyten; 02.11.2014 at 10:47. Reason: url
Reply With Quote