Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3 4

Author Topic: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B  (Read 27351 times)

drsox

  • Member
  • **
  • Posts: 55
Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« on: January 18, 2013, 12:14:44 PM »

So.... Two updates / forks / versions in one post here.

Most importantly:

eDMT for ECI Modem B-FOCus V-2FUb/r Rev B




http://www.fruk.net/downloads/eDMT-rmod.zip

Works with the new /r variant of the ECI modem. Also has bigger and auto resizing graphs (not that well implemented though but does help!).

Secondly:

Fixed eDMT



Simply a copy of the original (at least, the source code I was sent) with the following change...
IPHostEntry IPHost = Dns.GetHostEntry(address);
string[] aliases = IPHost.Aliases;
IPAddress[] addr = IPHost.AddressList;
iep = new IPEndPoint(addr[0], port);


Is now....
IPAddress addr = IPAddress.Parse(address);
iep = new IPEndPoint(addr, port);


The Dns.GetHostEntry(address) line seemed to cause all of my machines to try not just a normal DNS lookup - but a windows netbios lookup, fail, then bomb out. So it would never connect or create graphs. This fix has worked on my machine and a friends network too. Hope it is useful to you!
Note: This version will only connect to the modem via IP, not hostname!

http://www.fruk.net/downloads/eDMT-nohostlookup.zip

Enjoy... Hope that the original author doesn't mind these modifications..
« Last Edit: January 20, 2013, 07:03:13 PM by drsox »
Logged

les-70

  • Kitizen
  • ****
  • Posts: 1218
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #1 on: January 18, 2013, 02:27:04 PM »

  Many thanks for this post  :) .  Would it be possible to create version that plotted Hlog attenuation rather than the power? I think that would be a more helpful diagnostic.
Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #2 on: January 18, 2013, 07:09:21 PM »

Can the information be retrieved via telnet?
I've done no research with this - just taken someone else s existing program and modified a few lines of code.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 38629
  • Penguins CAN fly
    • DSLstats
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #3 on: January 18, 2013, 07:23:40 PM »

Can the information be retrieved via telnet?
I've done no research with this - just taken someone else s existing program and modified a few lines of code.

Yes it can: xdslcmd info --Hlog
Logged
  Eric

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #4 on: January 18, 2013, 07:26:51 PM »

IFX CPE login: admin
Password:


BusyBox v1.00 (2012.05.25-03:37+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# xdslcmd info --Hlog
-sh: xdslcmd: not found
#

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 38629
  • Penguins CAN fly
    • DSLstats
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #5 on: January 18, 2013, 10:39:42 PM »

Sorry, I do apologise. I was thinking of the HG612, and failed to notice the topic title.
Logged
  Eric

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #6 on: January 18, 2013, 11:27:23 PM »

Thought so :D I've done similar many, many times.

les-70

  • Kitizen
  • ****
  • Posts: 1218
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #7 on: January 19, 2013, 08:01:41 AM »

Thanks for trying.  Careful reading of the long post on hacking the /I version suggests that Qln and Hlog don't are not available in any obvious way on the ECI.

 http://forum.kitz.co.uk/index.php/topic,10635.msg215094.html#msg215094
Logged

Bald_Eagle1

  • Moderator
  • Kitizen
  • *
  • Posts: 2719
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #8 on: January 19, 2013, 01:15:32 PM »

Similarly to G997_DeltSNRGet,  possibly some variation on these will do it? :-


echo "G997_DeltHLOGGet" > /tmp/pipe/dsl_cpe0_cmd    (long form)
or:-
echo "g997dhlogg" > /tmp/pipe/dsl_cpe0_cmd              (short form)

echo cat /tmp/pipe/dsl_cpe0_ack




echo "G997_DeltQLNGet" > /tmp/pipe/dsl_cpe0_cmd      (long form)

or:-
echo "g997dqlng" > /tmp/pipe/dsl_cpe0_cmd                (short form)

echo cat /tmp/pipe/dsl_cpe0_ack



This translated web page may have some clues:-

German web page


« Last Edit: January 19, 2013, 01:24:23 PM by Bald_Eagle1 »
Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #9 on: January 19, 2013, 01:25:04 PM »

# echo "g997dhlogg 0 1" > /tmp/pipe/dsl_cpe0_cmd
# cat /tmp/pipe/dsl_cpe0_ack
nReturn=0 nDirection=0 nDeltDataType=1 nMeasurementTime=0 nGroupSize=8 nNumData=0
nFormat=(nToneIndex(dec),nHlog(dec)) nData=""
# echo "g997dhlogg 0 0" > /tmp/pipe/dsl_cpe0_cmd
# cat /tmp/pipe/dsl_cpe0_ack
nReturn=-30#
I've no idea what the correct response to the command should be or even what hlog is supposed to indicate.

Bald_Eagle1

  • Moderator
  • Kitizen
  • *
  • Posts: 2719
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #10 on: January 19, 2013, 01:28:13 PM »

I have a feeling it doesn't need the 0 1 or 0 0, but don't have an unlocked ECI to play about with.

The fact you received some sort of reply suggests it may be on the right track.

I THINK I somehow got some output when I had remote access to an unlocked ECI modem on A.O.'s connection, but didn't pursue it.

Hlog shows us attenuation over frequency is an indication of the line quality as per the attached examples from a HG612.

The first is my quite highly attenuated long distance but now physically O.K. connection & the second is from an even longer connection with a bit of a physical problem.
The 3rd example is from a much higher speed, good quality connection (your own connection, in fact).
« Last Edit: January 19, 2013, 01:50:50 PM by Bald_Eagle1 »
Logged

les-70

  • Kitizen
  • ****
  • Posts: 1218
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #11 on: January 19, 2013, 01:43:19 PM »

  Hlog should be a fairly predictable smoothly decaying curve with the decay rate related to line length.  Dips in Hlog indicate issues caused by reflected signals interfering.   Most commonly considered with bridged taps.  see e.g.

                 http://documents.exfo.com/appnotes/anote233-ang.pdf

 If you look at any of the graphing scripts montages found in posts on kitz you will find more examples.
Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #12 on: January 19, 2013, 06:13:13 PM »

I have a feeling it doesn't need the 0 1 or 0 0, but don't have an unlocked ECI to play about with.
# echo "g997dqlng" > /tmp/pipe/dsl_cpe0_cmd
#  cat /tmp/pipe/dsl_cpe0_ack
nReturn=-1 (wrong number of parameters/help not available)

Bald_Eagle1

  • Moderator
  • Kitizen
  • *
  • Posts: 2719
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #13 on: January 19, 2013, 08:04:53 PM »

This is the best clue I have found so far:-

Long Form: G997_DeltHLOGGet
Short Form: g997dhlogg

Input Parameter
- DSL_uint16_t nLine
- DSL_AccessDir_t nDirection
   accessdir na = -1
   upstream = 0
   downstream = 1

Output Parameter
- DSL_int_t nReturn
- DSL_uint16_t nLine
- DSL_AccessDir_t nDirection
   accessdir na = -1
   upstream = 0
   downstream = 1
- DSL_uint16_t nMeasureTime
- DSL_uint8_t  nGroupSize
- DSL_uint16_t nNumData
- DSL_uint16_t nNSCData


Now, when you did get a response, it seems to have followed the output as above.

However, you were attempting to use line 0, direction 0 & also line 0, direction 1.

It may just be worth giving it a shot at line 1?

i.e.   echo "g997dhlogg 1 1" > /tmp/pipe/dsl_cpe0_cmd
&     echo "g997dhlogg 1 0" > /tmp/pipe/dsl_cpe0_cmd

Logged

drsox

  • Member
  • **
  • Posts: 55
Re: Fixed eDMT and eDMT for ECI Modem B-FOCus V-2FUb/r Rev B
« Reply #14 on: January 20, 2013, 12:45:36 PM »

Looks promising!

http://beusergroup.co.uk/pastebin/?q=50fbf5fd2b635

Now just need time to hack apart eDMT more :D
Pages: [1] 2 3 4
 

anything