Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: Mick on August 12, 2016, 07:16:26 PM

Title: Huawei HG612 3B - can't access GUI
Post by: Mick on August 12, 2016, 07:16:26 PM
Hi All,

I just bought off ebay a HG612 3B, set up my NIC with 192.168.1.100, plugged an ethernet cable in LAN2 port and visited 192.168.1.1.  The browser times out after a while and I get a 404 ...

I have not yet connected the RJ11 from the BT faceplate to the modem.

Am I doing something wrong?  Why can't I browse to the admin GUI of the modem?

I just ran nmap and got this:


Code: [Select]
PORT    STATE    SERVICE REASON       VERSION
80/tcp  filtered http    no-response
443/tcp closed   https   conn-refused

Then I pressed the reset button while powering up and this time I received the "Update Software" page, but I do not have the latest firmware to flash it with.  Can you please suggest what is available/suitable for this purpose today and where I could get it?
Title: Re: Huawei HG612 3B - can't access GUI
Post by: NEXUS2345 on August 12, 2016, 07:41:41 PM
Here is the link to the needed firmware: http://forum.kitz.co.uk/index.php/topic,14262.0.html
Make sure to choose the B030SP08 folder on the repository then get the one ending with 'webgui'.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 12, 2016, 11:12:52 PM
Thanks NEXUS2345!  I flashed it and am able to access it now.  Is the native firmware completely locked now?  Not even offering a web GUI?  How are users meant to configure it   ???
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Dray on August 12, 2016, 11:34:06 PM
The native firmware has always been locked
Title: Re: Huawei HG612 3B - can't access GUI
Post by: NewtronStar on August 12, 2016, 11:54:40 PM
Thanks NEXUS2345!  I flashed it and am able to access it now.  Is the native firmware completely locked now?  Not even offering a web GUI?  How are users meant to configure it   ???

You must have flashed the HG612 with the non GUI firmware, re-flash with bcm96368MVWG_fs_kernel_HG612V100R001C01B030SP08_webgui-1407000358

access the HG612 GUI by using 192.168.1.1 if still no access then you need change the DHCP settings on the router for example router is 192.168.1.254 and HG612 modem is 192.168.1.1 so DHCP settings should be Start IP Address 192.168.1.2 End IP Address 192.168.1.253
Title: Re: Huawei HG612 3B - can't access GUI
Post by: NEXUS2345 on August 13, 2016, 01:06:14 AM
@Newtron, he flashed the correct firmware, he was simply asking if they are always locked down.
@Mick the HG612 was originally shipped locked into bridge mode on VDSL, so that it would then be connected to an ISP supplied router for the actual connection to the ISP.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 13, 2016, 08:50:42 AM
I'm still on ADSL2+ and will be for a while until FTTC becomes cheaper, or FTTP becomes available where I live at a reasonable price.  I didn't know this modem is locked up like this, I assumed that the end user would always be able to log in and configure it.  With the Openreach/BT logo on it I can understand why they may ship it locked.  Fewer calls to their support desk.   :)

I'll plug it in now to compare it with the performance of my HGV2700 ...
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 13, 2016, 10:32:52 AM
Well, initial impressions are good!  It sync'ed around 1Mb/s higher.  Let's see if it can hold the line better than the HGV2700 2WIRE managed to do.

The 2WIRE had a diagnostics page where previous resync' history was displayed with the different values at the time.  Is there something similar with this modem?
Title: Re: Huawei HG612 3B - can't access GUI
Post by: kitzuser87430 on August 13, 2016, 01:43:59 PM
Quote
diagnostics page where previous resync' history

No....Either run dslstats or hg612 modem stats http://forum.kitz.co.uk/index.php/board,46.0.html (http://forum.kitz.co.uk/index.php/board,46.0.html)

These programs both work with ADSL2+ and  provide loads of information and stats.

Ian
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 13, 2016, 04:01:01 PM
Thank you Ian, unfortunately they are MSWindows applications.   :(
Title: Re: Huawei HG612 3B - can't access GUI
Post by: roseway on August 13, 2016, 04:08:44 PM
Thank you Ian, unfortunately they are MSWindows applications.   :(


DSLstats runs on Linux32, Linux64 and Raspberry Pi, as well as Windows.

http://dslstats.plainroad.me.uk
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 13, 2016, 08:08:52 PM
Thank you for letting me know Eric, it's been some time since I used DSLstats and I seem to recall it was a MSWindows executable back then.

Meanwhile, I ran a VM with MSWindows to test the hg612 modem stats, but the 'Connection Stats' page isn't showing anything yet.  I may have to wait for a while - I just set the 'Snapshot Settings' interval to 1 hour.

Regarding DSLstats, could I run this on a headless server, or is it a desktop only application?  I don't run a PC with a desktop 24-7.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: ejs on August 13, 2016, 08:20:32 PM
You could run a vnc server on a headless server, then leave DSLstats running in the vnc server.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 13, 2016, 09:09:47 PM
Thanks ejs, there's no X-server running on the headless server.  SSH access only, but can run a webserver, or fetch files from it as and when I need to.

Does the HG612 3B have snmp?  From a cursory look at the fs I didn't find anything.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: roseway on August 13, 2016, 11:03:04 PM
Quote
Regarding DSLstats, could I run this on a headless server, or is it a desktop only application?  I don't run a PC with a desktop 24-7.

The simple solution is to get a Raspberry Pi and install DSLstats on that. Once it's set up it doesn't need a monitor to be connected.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: ejs on August 14, 2016, 07:09:20 AM
A VNC server can also be started on a headless server, it does not require an X server to run, the VNC server is an X server. You could then tunnel the port over the SSH connection to access the VNC server with a VNC client running on your desktop.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: roseway on August 14, 2016, 07:21:24 AM
That's true, but you need to keep the VNC connection open to maintain the X server for running DSLstats, which means that you have to have another PC running 24/7.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: ejs on August 14, 2016, 08:26:23 AM
No you don't. You just leave the vncserver process running. You can then connect to it from a vnc client from any computer, when you disconnect the vnc client, the vnc server remains running, whatever programs are running within the vnc server stay running. I'm talking about starting the vnc server by running the vncserver command. It stays running regardless of whether or not any vnc client is connected to it.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 14, 2016, 08:28:58 AM
On the server in question installing vnx4server, or vino, is asking to install the best part of 20 to 49 X-server related packages and dependencies.

Given that hg612 modem stats will not run properly on the VM, I will try DSLstats on it if only for a limited period of time.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: ejs on August 14, 2016, 08:34:02 AM
You're installing the wrong thing. You don't want a vnc server module to load into an existing X server. You want something like the tigervnc-server package (on Fedora). You'll still need all the necessary libraries to run a GUI application of course (unless some of them are statically linked into the DSLstats program itself).
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Ronski on August 14, 2016, 08:37:09 AM
Meanwhile, I ran a VM with MSWindows to test the hg612 modem stats, but the 'Connection Stats' page isn't showing anything yet.  I may have to wait for a while - I just set the 'Snapshot Settings' interval to 1 hour.

If hg612 stats is running correctly then it should populate the connection stats after a couple of minutes. For it to do this you have to setup a scheduled task which can be done within the GUI. You also need to make sure the modem ip address is set correctly.

Depending on what version of windows you are using it may block some programs from running, and you may need to run them directly and ok them. Namely HG612_STATS.EXE,  Hg612_run.exe and hg612 current stats.exe.

Also if you have anti virus installed that may block them.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 14, 2016, 10:13:04 AM
Hmm ... I restarted the PC this morning and was able to run 'Run GraphPD' without errors.  I'm not sure what the problem was yesterday.

The Connection Stats and pbParams is now populated, although not fully yet.  I guess this is not being refreshed in real time?

Graphs are also being produced too.  :)
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 14, 2016, 02:03:23 PM
Result!   :)

I managed to get further with DSLstats (a big Thank You to all devs and contributors for both applications).  As is typical over most weekends a blip occurred, the modem resync'ed and everything was captured on the graphs.  The HG612 3B appears to be marginally more sensitive than the 2WIRE, but when the errors go off scale the 2WIRE drops the line just as effectively.   :P

This is a regular problem ever since I migrated over to ADSL2+.  Resyncs happen typically midday at the weekends and occasionally around 17:00-18:00 in the evenings any other day.  There is no repeatable pattern to the line dropping, which makes me think this is not because some device is operated by a timer.  Sometimes the modem can go for a week or more without a resync, but more often than not it will lose the signal every 3-5 days, especially if I have sync'ed above 10Mbps.  I attach some of the graphs in case you can explain the cause of these errors.

Please let me know if you would like to see more/all of them.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: j0hn on August 14, 2016, 02:21:29 PM
I recommend you sign up to Mydslwebstats (https://www.mydslwebstats.co.uk/) now that you have DslStats running. Just pop your MDWS details in to DslStats and it all uploads automatically. Then if you need any assistance the experts on here (not me) can view all the info they need. It saves you from having to upload lots of static images of graphs, just give your MDWS username!
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Ronski on August 14, 2016, 07:03:54 PM
Hmm ... I restarted the PC this morning and was able to run 'Run GraphPD' without errors.  I'm not sure what the problem was yesterday.

The Connection Stats and pbParams is now populated, although not fully yet.  I guess this is not being refreshed in real time?

Graphs are also being produced too.  :)

I'm pretty sure that as you're on adsl not all the pbParams will be populated, bear in mind it's more geared towards FTTC.
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 14, 2016, 08:16:59 PM
Thanks Ronski, I seem to be getting more information from DSLstats at the moment.  The FTTC cabinet is close to 1Km away from my house and costs more, so I stayed with the free upgrade to ADSL2+ for now.  The symptoms of dropping the line early evening are reflected in the graphs.  Outside those two periods the noise on the line usually goes away and the connection is pretty stable.  This can been seen in the attached graphs which show the early evening wobble, as well as an earlier resync.

Is this due to REIN?  The house was quiet at the time and these events do not align with electrical domestic activities, so I'm assuming some exogenous cause is at play ...
Title: Re: Huawei HG612 3B - can't access GUI
Post by: kitzuser87430 on August 14, 2016, 08:38:00 PM
That SNMR graph is a worry, the other 2 graphs not so much.

FEC errors are not important and can run into millions/hour, your lines CRC's are at not a particularly high level; keep recording and posting those stats and the experts on here will offer more info/diagnosis.

Ian
Title: Re: Huawei HG612 3B - can't access GUI
Post by: Mick on August 16, 2016, 09:36:55 PM
Another question about this modem and firmware:

I am able to login using nc (netcat) on Linux, but I can't login using telnet either on Linux (busybox), or on Apple Mac.  What happens is that the session hangs when I enter the password.  I cannot escape it, or quit.

With nc I get some funny characters in the terminal at login, but I can at least login and run commands:
Code: [Select]
$ nc -t 192.168.1.254 23
ÿûÿûÿû
Welcome Visiting Huawei  Home Gateway
Copyright by Huawei Technologies Co., Ltd.
Login:ÿüÿüadmin
admin
Password:admin

ATP>sh
sh


BusyBox v1.9.1 (2014-01-21 16:44:38 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Is this a known problem and what is the fix?