General Discussion
  >> Fibre Broadband


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


Pages in this thread: 1 | 2 | 3 | [4] | 5 | 6 | 7 | (show all)   Print Thread
Standard User StephenTodd
(committed) Thu 02-May-13 06:47:27
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: RobertoS] [link to this post]
 
I experimented with his earlier scripted version and extended the timeouts, but no help.
Most odd. Probably no time to look deeper before holidays ....
Mine is similar but uses SendKeys rather than piping input.

--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User Bald_Eagle1
(experienced) Thu 02-May-13 07:33:48
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: StephenTodd] [link to this post]
 
The new programs use a different (direct) method of logging in than the earlier script versions.

It might be useful to see relevant details from the various error logs from the times you did attempt to use the program(s) on the HG622, especially these lines:-

Text
1
23
45
67
89
1011
1213
1415
1617
1819
2021
2223
2425
2627
2829
3031
02/05/2013 05:39:42.195 - Initializing Winsock
02/05/2013 05:39:42.195 - WSAStartup() SUCCESSFUL!!!02/05/2013 05:39:42.195 - Starting getaddrinfo()
02/05/2013 05:39:42.195 - getaddrinfo() O.K.02/05/2013 05:39:42.195 - Starting socket()
02/05/2013 05:39:42.195 - socket() O.K.02/05/2013 05:39:42.195 - Starting connect()
02/05/2013 05:39:42.195 - connect() O.K.02/05/2013 05:39:43.053 - About to reply(xdslcmd info --stats)
02/05/2013 05:39:43.053 - reply(xdslcmd info --stats) O.K.02/05/2013 05:39:43.271 - get_data() for --stats O.K.
02/05/2013 05:39:43.271 - About to determine the xDSL mode02/05/2013 05:39:43.271 - About to parse_stats()
02/05/2013 05:39:43.271 - parse_stats completed02/05/2013 05:39:43.271 - VDSL2 mode detected so about to reply(xdslcmd info --pbParams)
02/05/2013 05:39:43.271 - reply(xdslcmd info --pbParams) O.K.02/05/2013 05:39:43.490 - get_data() for --pbParams O.K.
02/05/2013 05:39:43.490 - About to parse_pbParams_data()02/05/2013 05:39:43.490 - parse_pbParams_data() completed
02/05/2013 05:39:43.490 - reply(xdslcmd info --Bits) O.K.02/05/2013 05:39:44.004 - get_data() for --Bits O.K.
02/05/2013 05:39:44.004 - reply(xdslcmd info --linediag) O.K.02/05/2013 05:39:45.814 - get_data() for --linediag O.K.
02/05/2013 05:39:45.814 - reply(xdslcmd info --show) O.K.02/05/2013 05:39:46.032 - get_data() for --show O.K.
02/05/2013 05:39:46.032 - About to exit Busybox02/05/2013 05:39:46.032 - Busybox exited
02/05/2013 05:39:46.251 - About to exit ATP02/05/2013 05:39:46.251 - ATP exited
02/05/2013 05:39:46.251 - About to close (sockfd)02/05/2013 05:39:46.251 - About to WSACleanup()


I wouldn't have thought there can be that much that needs tweaking to make them work with both the HG612 & HG622.

Does direct access via Telnet/PuTTy etc. still use admin, admin, sh to get to the Busybox shell where the usual xdslcmd commands can be run?
Standard User StephenTodd
(committed) Thu 02-May-13 09:46:39
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: Bald_Eagle1] [link to this post]
 
Thanksfor the comments.
I didn't expect any change to be needed.
The admin/admin/sh sequence is still correct (as shown by my script above still working).

Just hangs after the In switch, from HG612_stats.ini, Mode = extensive line.

No xlogfile.txt file created.

ERROR.LOG from HG612_stats.exe below.
Text
1
23
45
67
89
1011
12
02/05/2013 09:40:24.174 - [ IN HG612_stats.EXE ] - Start of 1 minute sampling
02/05/2013 09:40:24.442 - HG612_current_stats.exe was *NOT* running02/05/2013 09:40:24.442 - Temp File ONGOING-ISRUNNING-094024-442 was created
02/05/2013 09:40:24.444 - malloc() O.K.02/05/2013 09:40:24.445 - Initializing Winsock
02/05/2013 09:40:24.448 - WSAStartup() SUCCESSFUL!!!02/05/2013 09:40:24.448 - Starting getaddrinfo()
02/05/2013 09:40:24.448 - getaddrinfo() O.K.02/05/2013 09:40:24.448 - Starting socket()
02/05/2013 09:40:24.450 - socket() O.K.02/05/2013 09:40:24.450 - Starting connect()
02/05/2013 09:40:24.452 - connect() O.K.


cmd screen output from HG612_stats.exe below.
Text
1
23
45
67
89
1011
1213
1415
1617
1819
2021
2223
2425
2627
2829
3031
3233
3435
3637
3839
4041
4243
4445
4647
4849
5051
5253
5455
5657
5859
6061
progname = D:\Temp\HG612_Modem_Stats\Scripts\HG612_stats.exe
 The local time is: 09:13:42.193
A log file wasn't specifiedargv[1] = (null)
 path_only is D:\Temp\HG612_Modem_Stats\Scripts
 At the start, working_directory (i.e. log_file_path) is
  
[Login] loaded from 'HG612_stats.ini':    IP_address = 192.168.1.1
    Username   = admin    Password   = admin
    Shell      = sh 
[Locations] loaded from 'HG612_stats.ini':    Drive                = D:
    Main_folder          = D:\Temp\HG612_Modem_Stats    Scripts_and_Programs = D:\Temp\HG612_Modem_Stats\Scripts
    Apps_folder          = D:\Temp\HG612_Modem_Stats\Apps    Ongoing_Stats_folder = D:\Temp\HG612_Modem_Stats\Ongoing_Stats
    Current_Stats_folder = D:\Temp\HG612_Modem_Stats\Current_Stats 
  [Mode] loaded from 'HG612_stats.ini':
    Mode                 = extensive 
[Graphing] loaded from 'HG612_stats.ini':  Pause_after_obtaining_snapshot_data   = NO
  Auto_graph_Snapshot_data              = YES  Pause_after_snapshot_graphs_plotted   = NO
  Pause_after_ongoing_graphs_plotted    = NO  Plot_area_background_colour           = 31
  Daily_Graphing                        = YES  Daily_Graphing_Time                   = 06:00
  
   Delay_snapshot_data_harvest_seconds   = 10
  Delay_ongoing_data_harvest_seconds    = 0 
  Ongoing_Logging        = YES  Current_Stats          = YES
  Current_Stats_Interval = 8  Current_Stats_Datum    = 06
From HG612_stats.ini hard coding, the ongoing log_file = D:\Temp\HG612_Modem_Stats\Ongoing_Stats\modem_stats.log
 error_log_file = D:\Temp\HG612_Modem_Stats\Ongoing_Stats\ERROR.LOG
 xlog_file = D:\Temp\HG612_Modem_Stats\Ongoing_Stats\xlogfile.txt
HG612_current_stats.exe is NOT running 
Temp File ONGOING-ISRUNNING-091342-751 was created 
From HG612_stats.ini, Mode = extensiveModex = 2
 In switch, from HG612_stats.ini, Mode = extensive


--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.


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

Standard User StephenTodd
(committed) Thu 02-May-13 10:18:22
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: broadstairs] [link to this post]
 
Installed yesterday.
A little plugging in and out as I tried to get configuration right (see earlier post).
I needed to put back the old modem a couple of times to browse the internet for configuration hints, so probably 6 or more modem disconnects in an hour or so.
I saw slight degradation in max attainable speeds after HG612; but could have been normal max speed variance.

This morning I find a significantly slower sync (from 71080 Kbps to 61081 Kbps),
and also for the first time ever upload sync is lowered (from 20000 Kbps to 18665 Kbps), and interleaving on upload (D: 653, delay:7).
I suspect this is DLM at work after my playing about yesterday while installing it.
Big shame I can't get the stats collection to work for now.

About to go on holiday but others in house so it will be left on.
I'll leave it be and see if things return to where they were with the HG622.

~~~
Compared to HG612/HomeHub for me, apart from those issues above which will probably iron out:
+ single box
+ ability to set DNS properly
- no screen to view connected devices and their wireless speeds
- very short mains cable makes it awkward to put it where I want

--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User Pfrog
(newbie) Thu 02-May-13 10:34:22
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: StephenTodd] [link to this post]
 
Hi

I was one of the lucky 10 and have been testing it..... It performs well on WAN throughput with no problem passing the full approx 74/18 (I am close to the cab) and so far am quite impressed. The GUI seems much more responsive than the HG612.

One slight irritation though. I wonder if anyone has managed to configure NAT / port mapping to allow access to the external IP address from within the internal network. After much Googling it would seem as if this router is not capable of it, requiring NAT Reflection or DNAT configs. It is not essential but would be useful for access to IP Cams on mobile devices without changing the address (ie local or external).

Cheers
Standard User StephenTodd
(committed) Thu 02-May-13 11:09:35
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: StephenTodd] [link to this post]
 
Further to my last comments, I have just done some further tests that may help diagnose.
May be irrelevant because you say you have more direct login method from the new code than from the script.
However, it does indicate a slightly different way of arranging the login sequence;
even though the userid/password are the same as before.
It may be that the new login method is failing because of this different detail.

The following line (entered from the old script directory after 'set path=%path%;..\apps', and obviously derived by simplification from the old script)
Text
1
(sleep 2 & type ..\apps\login1.txt & sleep 2 & type ..\apps\login1.txt & sleep 1 & echo exit ) ^| Plink -telnet -P 23 192.168.1.1

works on the HG612 but fails on the HG622.

The failure shows
Text
1
23
45
67
-------------------------------
-----Welcome to ATP Cli-------------------------------------
 Login: admin
Password:Login incorrect. Try again.

If you watch as it happens, you can see the effect of the first 'sleep 2' before the login 'admin' is displayed.
However, it then gives the 'Login incorrect' message without waiting for the second sleep., so it never sees the second 'admin' as a password.

It then prompts again for Login: and treats the second 'admin' as a second login attempt, and the 'exit' as a third login attempt.

--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User Bald_Eagle1
(experienced) Thu 02-May-13 23:09:48
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: StephenTodd] [link to this post]
 
I'm hoping to soon have access to a HG622 for testing purposes.

Hopefully, I'll soon have a solution that will work with both the HG612 & HG622 via a single program.
Standard User StephenTodd
(committed) Fri 03-May-13 10:12:36
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: Bald_Eagle1] [link to this post]
 
Excellent, thanks, and thanks again for the really useful program.
I'm pretty sure getting a common 612/622 version won't be too hard once you have a 622 to test with.
(Off on holiday for a week, so won't be responding to any questions such as 'does this new version work for you'.)

--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User Bald_Eagle1
(experienced) Thu 09-May-13 00:11:00
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: StephenTodd] [link to this post]
 
It seems that we have sussed it now (thanks asbokid), using just the one set of programs for both the HG612 & HG622 on VDSL2 connections, automatically detecting which modem is in use.

I'll continue testing for another couple of days before asking RONSKI to upload the amended programs (also including a few other minor 'improvements/additions').

Edited by Bald_Eagle1 (Thu 09-May-13 00:20:07)

Standard User R0NSKI
(experienced) Thu 09-May-13 10:24:16
Print Post

Re: Huawei HG622 VDSL2 FTTC modem router on Ebay, 7 Left


[re: Bald_Eagle1] [link to this post]
 
Drop me an email when ready and I'll get it uploaded.

Pages in this thread: 1 | 2 | 3 | [4] | 5 | 6 | 7 | (show all)   Print Thread

Jump to