Update ip Portal

1,069 views
Skip to first unread message

Angel Ocaña Holgado

unread,
Feb 28, 2014, 6:10:02 PM2/28/14
to stalker-m...@googlegroups.com
I have one problem, becoue I need to change the url of the portal for other ip, I want to try a create a new image with the new ip,
1.- Is posible create a new image with the ip portal or they are other method for change the all ip of the portal remote?

2.- And I send the new image from stalker portal remote or is necesary in the box directly?

Thanks

Jovanotti

unread,
Mar 3, 2014, 5:47:05 AM3/3/14
to stalker-m...@googlegroups.com
1. Avoid specify ip for portal url, DNS name is more flexible for this puprose.
In your  case, must new firmware.
2. Yes, you can remotely but can be difficult, let`s try.
If any questions post on my mail

суббота, 1 марта 2014 г., 1:10:02 UTC+2 пользователь Angel Ocaña Holgado написал:

Angel Ocaña Holgado

unread,
Mar 4, 2014, 2:38:33 PM3/4/14
to stalker-m...@googlegroups.com
Thanks, How can I do for send the new firmware remote? Can you say me the steps for do it?

Angel Ocaña Holgado

unread,
Mar 5, 2014, 8:09:35 AM3/5/14
to stalker-m...@googlegroups.com
I found a good solution and easy from support of infomir. Thanks

You can try to use next variant:
Apply some changes to Stalker server in /stalker_portal/c/xpcom.common.js

This code you need to add in c/xpcom.common.js
https://gist.github.com/azhurb/6087480
In string new_portal you need to set your new portals address

So now when portal will loads on STB, Stalker will check variable portal1 and if it's different from the one that you set in string "new_portal",  it will be changed to one you have set in string "new_portal" c/xpcom.common.js
All STB's that are online you can reboot from admin-interface > events and they will automaticly change portal1 value.





Cezar O

unread,
Mar 7, 2014, 5:08:39 AM3/7/14
to stalker-m...@googlegroups.com
This solution is great!

But one more step make it greater... can script be modify to make changes by group?

example: I have 3 groups of people, I want to make different portal url for each group.

How to modify this script so that this new update script can update specific group only?

Thankyou very much.

John

unread,
Feb 14, 2015, 11:18:59 AM2/14/15
to stalker-m...@googlegroups.com

Hi
Does this patch still work ?

https://gist.github.com/azhurb/6087480

If yes how to implement it to change url in mag 250 / mag254

Thanks

Almarciga

unread,
Feb 16, 2015, 2:25:54 AM2/16/15
to stalker-m...@googlegroups.com
Works fine i use some times only you need in the file add the lines with the + and remove line with -
Message has been deleted

Cyber 2015

unread,
Sep 1, 2015, 4:15:32 AM9/1/15
to Stalker Middleware

Is it possible to modify script to  certain users receive new portal...
Maybe filter with MAC address

if
  00:01:Xx XX then new portal


Regards
Reply all
Reply to author
Forward
0 new messages