How to configure router to login automatically to Hathway Broadband

  • Thread starter Thread starter rahul patil
  • Start date Start date
  • Replies Replies 2
  • Views Views 13,178
Messages
1
Location
NA
ISP
hathway
Hi,
I wanted t know that how to put hathway username & password while configuring TP-Link tl-wrn841n router.
So that I do not need to login in hathway site to start the net connection.
 
Hi,
I wanted t know that how to put hathway username & password while configuring TP-Link tl-wrn841n router.
So that I do not need to login in hathway site to start the net connection.

I'm on a Hathway wired LAN connection which requires me to login through the Cyberoam HTTP client. I tried configuring my Netgear router to connect automatically but that does not works.
 
I ran into this same issue and created the following batch file that uses WGET. It's been working solidly for me for over a week now. You can adjust the wait time if your application needs less downtime than 1 minute.
Code:
:START
@ECHO OFF
CLS
ECHO Waiting...
PING -n 60 127.0.0.1 > NUL
:AGAIN
PING -n 1 www.google.com|find "Reply from " >NUL 
IF NOT ERRORLEVEL 1 goto START
ECHO Not Working!
ECHO.
ECHO Logging Back in...
E:\WGET\WGET -qO- --post-data="username=USER%40hathway.com&password=PASSWORD" "http://203.212.193.61/bsp/login.do?action=doLoginSubmit&flowId=UserLogin"
ECHO Checking Internet...
PING -n 1 www.google.com|find "Reply from " >NUL 
IF NOT ERRORLEVEL 1 goto AGAIN
GOTO START
 

Top