hotspot auto login to another hotspot

Dear all,

I need to write a script in user profile scripts to automatically login the users of that profile to another hotspot server.

i put this line

GET http://www.hotspotname.com/login?/username=1234&password=1234 HTTP/1.0

but it didn’t work

the idea is to first login to local hotspot, if successful then automatically login to a remote hotspot server.

is there at least a way?

maybe try /tool fetch

In my router RB433 there is no fetch under tool menu.

also, please don’t say update firmware cause i updated my iphone and it was lucked for 4 months…

little scary firmware updates nowdays…

fetch is CLI tool

this part is extremely important to make my work easier… since you guys know there is a way, please provide me a solution..

i bought a bandwidth limit from local internet provider that also uses mikrotik hotspot.
the provider guy don’t want to modify my user preferences so that i will never get disconnected
as far session goes. and if i am not home, and the system activity was idle, i will get off line
and require to login again at hotspot.

i am not the only user who uses my system, but i can’t give out my user/pass around.

I will so much appreciate if you guys can help me out setup a method a way to have
my hotspot connect to my provider hotspot automatically. that way if i’m not around
and my user gets on, he/she should not wait till i come back just login automatically.

so please help me out setup hotspot to hotspot auto login…

peace,

well, you may just ping some Internet host periodically to be not idle =)

what about

  • where did you tried it?..

I put that line of code on Hotspot user profile/scripts/on login…

i tried to test it, but didn’t see it working…


also, pinging a host… yeah it helped a little, but it’s not the final solution.

I tried /tool> fetch
but fetch only gets the file I want to submit data!
also there is hex_md5 how to handle that?

I think there’s an error in this string:

http://www.hotspotname.com/login?/username=1234&password=1234

It should be: (you have to escape the question mark)

http://www.hotspotname.com/login\?username=1234&password=1234

Just caught my eye, maybe not relevant…