Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#2402 closed enhancement (fixed)

Package the tctool ADSL model control tool

Reported by: Maik.Zumstrull@… Owned by: nico
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:


tctool is a program that can be used to talk to a type of DSL modem very common in Germany.

It's most useful feature is probably the "status" function, which works like this:

root@OpenWrt:~# tctool -I eth0.1 -d
root@OpenWrt:~# tctool -I eth0.1 -i -s
Firmware Information:
Bootbase Version : VTC1.08 | 3/8/2005
RAS F/W Version  :
DSL FW Version   : FwVer: HwVer:T14.F7_0.0
Standard         : ADSL2 PLUS
Country Code     : 255
MAC Address      : 00:0F:A3:??:??:??
Hostname         : %tc

ADSL Status:
LINE Status : unknown
LINE Uptime : 13:40:49
ATM vc      : 1/32 LLC/SNAP
                                down         up
Bit-rate  (fast)          :       15999         843
Bit-rate  (relative cap.) :       100 %       100 %
Bit-rate  (max)           :       15999         843
Data-rate (fast)          :       13697         722
FEC error (fast)          :        1990           0
CRC error (fast)          :        7909           0
HEC error (fast)          :        4664           0
Noise margin              :      6.6 dB      7.2 dB
Attenuation               :     18.0 dB     15.3 dB
Transmit power            :      0.0 dBm    12.3 dBm

Known Problems:

  • Written in C++ => depends on huge library
  • Crappy build system
  • Bugs in status display, endianness-issue?

I took the time to write an initial Makefile and patch, which are included. It builds and basically works, but the process should probably be cleaned up a bit.

Attachments (2)

Makefile (818 bytes) - added by Maik.Zumstrull@… 10 years ago.
Initial Makefile
001_Makefile_fix.diff (829 bytes) - added by Maik.Zumstrull@… 10 years ago.
Initial Patch

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by Maik.Zumstrull@…

Initial Makefile

Changed 10 years ago by Maik.Zumstrull@…

Initial Patch

comment:1 Changed 10 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to assigned

comment:2 Changed 10 years ago by blogic

applied in [11972]

comment:3 Changed 10 years ago by nico

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 9 years ago by anonymous

where is the source for this tctool?

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.