General Discussion
  >> Fibre Broadband


Register (or login) on our website and you will not see this ad.


  Print Thread
Standard User Cobra001
(committed) Sun 15-Jul-12 16:04:11
Print Post

Huawei modem - Stats harvesting & graphing script question


[link to this post]
 
Hi, I have connected my unlocked Huawei HG612 modem to my network, I have changed the IP from 192.168.1.1 (as that also my router IP) to 192.168.1.6.

I am connected via lan2 and can access the router via the browser or telnet on 192.168.1.6 but when I run the scripting tool it just generates graphs with no data in them.

I am guess that it due to me changing the IP from 192.168.1.1 to 192.168.1.6

If so how do I change the script to cope with the differnt IP

Cheers

Damien
Standard User StephenTodd
(member) Sun 15-Jul-12 16:54:19
Print Post

Re: Huawei modem - Stats harvesting & graphing script quest


[re: Cobra001] [link to this post]
 
Why not change the router IP, unless you have a lot depending on it being 192.168.1.1. That will give you a more standard setup. If you change the scripts, you will have to change updates as well, and maybe other scripts/tools written by others as well.

--
Moved (with trepidation) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User R0NSKI
(committed) Sun 15-Jul-12 16:58:05
Print Post

Re: Huawei modem - Stats harvesting & graphing script quest


[re: Cobra001] [link to this post]
 
You need to edit one of the BAT files, not got it running myself yet but there is an IP address in getstats.BAT, change that IP address to match the new one.

Have a read of this thread if the above doesn't work.


Register (or login) on our website and you will not see this ad.

Standard User Bald_Eagle1
(committed) Sun 15-Jul-12 22:02:47
Print Post

Re: Huawei modem - Stats harvesting & graphing script quest


[re: Cobra001] [link to this post]
 
TestStats2.BAT, getstats.BAT & SET_HG612_DATE_AND_TIME.BAT all use the default modem IP Address of 192.168.1.1

A simple search & replace in those batch files should sort things out for you.

Edited by Bald_Eagle1 (Sun 15-Jul-12 22:03:13)

Standard User RobertoS
(sensei) Sun 15-Jul-12 22:09:54
Print Post

Re: Huawei modem - Stats harvesting & graphing script quest


[re: Bald_Eagle1] [link to this post]
 
NOte that one of them has it twice, I forget which.

I missed the Date/Time one .... Goes to play.

Ah, no I didn't. I had to do it to get it to work.

My broadband basic info/help site - www.robertos.me.uk
My domains,website and mail hosting - Tsohost. Internet connection - Plusnet Value Fibre FTTC 80/20 trial.

"Where talent is a dwarf, self-esteem is a giant." - Jean-Antoine Petit-Senn.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Standard User Bald_Eagle1
(committed) Sun 15-Jul-12 22:36:42
Print Post

Re: Huawei modem - Stats harvesting & graphing script quest


[re: RobertoS] [link to this post]
 
In reply to a post by RobertoS:
NOte that one of them has it twice, I forget which.


That's getstats.BAT.

It gets some data from the modem's GUI & some via a telnet auto-login (xdslcmd info --stats)
Standard User Ripley
(committed) Sun 15-Jul-12 22:59:45
Print Post

Re: Huawei modem - Stats harvesting & graphing script quest


[re: Cobra001] [link to this post]
 
the scripts only work with the original ip address 192.168.1.1

Freeserve Dial-Up --> BTopenworld --> <n>ildram -->Talk Talk LLU --> ZeN
DrayTek 2850 VN

My Broadband Speed Test
Standard User RobertoS
(sensei) Sun 15-Jul-12 23:49:31
Print Post

Re: Huawei modem - Stats harvesting & graphing script quest


[re: Ripley] [link to this post]
 
[cough]
Well mine work perfectly with the modem on 192.168.nnn.mmm where nnn is greater than 1 and mmm is greater than 10.

Seeing as Bald_Eagle1 is the producer of tne Windows scripts I think the OP can rely on his posts smile.

My broadband basic info/help site - www.robertos.me.uk
My domains,website and mail hosting - Tsohost. Internet connection - Plusnet Value Fibre FTTC 80/20 trial.

"Where talent is a dwarf, self-esteem is a giant." - Jean-Antoine Petit-Senn.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Print Thread

Jump to