OpenWrt Forum Archive

Topic: Tp-Link td-w8970

The content of this topic has been archived between 26 Mar 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

updating

via putty I managed to get in the path:
/ sbin / vdsl_cpe_control --console

I gave the command:
  DSL_CPE #> locs 0 -20
  DSL_CPE #> acs 2
  DSL_CPE #> quit

the router loses connection for several seconds then restarts
but values do not change snr

where am I wrong?
thanks

root@openwrt:~#   /sbin/vdsl_cpe_control --help 
DSL_CPE: Welcome to DSL CPI API control application
DSL_CPE: usage: [options]
DSL_CPE: following options are available:
DSL_CPE:  --help          (-h)    - help screen
DSL_CPE:  --version       (-v)    - display version
DSL_CPE:  --init          (-i)    - init device w/ <xtu> Bits seperated by underscore (e.g. -i05_01_04_00_04_01_00_00)
DSL_CPE:  --low_cfg       (-l)    - low level configuration file
DSL_CPE:  --console       (-c)    - start console
DSL_CPE:  --event_cnf     (-e)    - configure instance activation handling <enable/disable>[_mask] (e.g. -e1_1)
DSL_CPE:  --msg_dump      (-m)    - enable message dump
DSL_CPE:  --auto_scr_1    (-a)    - autoboot start script for ADSL (empty by default)
DSL_CPE:  --auto_scr_2    (-A)    - autoboot start script for VDSL (empty by default)
DSL_CPE:  --firmware1     (-f)    - firmware file, default /opt/ifx/firmware/xcpe_hw.bin
DSL_CPE:  --notif         (-n)    - notification script name, default ./xdslrc.sh
DSL_CPE:  --tcpmsg        (-t)    - enable dbgtool, listen only on <ipaddr> (optional, e.g. -t0.0.0.0)
DSL_CPE:  --multimode     (-M)    - set multimode config -M<NextMode>[_<AdslSubPref>] (e.g. -M1_1 or -M1)
DSL_CPE:  --tc-layer      (-T)    - set TC-Layer options -T<TcLayer>_<TcConfigUs>_<TcConfigDs> (e.g. -T2_0x3_0x1)
DSL_CPE:  --sequence      (-S)    - set activation sequence -S<Sequence>_<Mode> (e.g. -M0_0)
DSL_CPE:  --debug_drv     (-g)    - 
DSL_CPE:  --debug_app     (-G)    - 

nope, no save settings there, looks at:

root@openwrt:~# /sbin/vdsl_cpe_control --console

DSL_CPE#>help
   acog,          AutobootConfigOptionGet
   acos,          AutobootConfigOptionSet
   acs,           AutobootControlSet
   alf,           AutobootLoadFirmware
   asecg,         AutobootScriptExecuteConfigGet
   asecs,         AutobootScriptExecuteConfigSet
   asg,           AutobootStatusGet
   aufg,          AutobootUsedFirmwareGet
   alig,          AuxLineInventoryGet
   bbsg,          BandBorderStatusGet
   bpstg,         BandPlanSTatusGet
   bpsg,          BandPlanSupportGet
   dbgmlg,        DBG_ModuleLevelGet
   dbgmls,        DBG_ModuleLevelSet
   dmms,          DeviceMessageModifySend
   dms,           DeviceMessageSend
   esmcg,         EventStatusMaskConfigGet
   esmcs,         EventStatusMaskConfigSet
   fddg,          FilterDetectionDataGet
   fpsg,          FramingParameterStatusGet
   g997amdpfcg,   G997_AlarmMaskDataPathFailuresConfigGet
   g997amdpfcs,   G997_AlarmMaskDataPathFailuresConfigSet
   g997amlfcg,    G997_AlarmMaskLineFailuresConfigGet
   g997amlfcs,    G997_AlarmMaskLineFailuresConfigSet
   g997bang,      G997_BitAllocationNscGet
   g997bansg,     G997_BitAllocationNscShortGet
   g997cdrtcg,    G997_ChannelDataRateThresholdConfigGet
   g997cdrtcs,    G997_ChannelDataRateThresholdConfigSet
   g997csg,       G997_ChannelStatusGet
   g997dpfsg,     G997_DataPathFailuresStatusGet
   g997dfr,       G997_DeltFreeResources
   g997dhling,    G997_DeltHLINGet
   g997dhlinsg,   G997_DeltHLINScaleGet
   g997dhlogg,    G997_DeltHLOGGet
   g997dqlng,     G997_DeltQLNGet
   g997dsnrg,     G997_DeltSNRGet
   g997fpsg,      G997_FramingParameterStatusGet
   g997gang,      G997_GainAllocationNscGet
   g997gansg,     G997_GainAllocationNscShortGet
   g997lstg,      G997_LastStateTransmittedGet
   g997lacg,      G997_LineActivateConfigGet
   g997lacs,      G997_LineActivateConfigSet
   g997lfsg,      G997_LineFailureStatusGet
   g997lisg,      G997_LineInitStatusGet
   g997lig,       G997_LineInventoryGet
   g997listrg,    G997_LineInventorySTRingGet
   g997lis,       G997_LineInventorySet
   g997lsg,       G997_LineStatusGet
   g997lspbg,     G997_LineStatusPerBandGet
   g997ltsg,      G997_LineTransmissionStatusGet
   g997pmsft,     G997_PowerManagementStateForcedTrigger
   g997pmsg,      G997_PowerManagementStatusGet
   g997racg,      G997_RateAdaptationConfigGet
   g997racs,      G997_RateAdaptationConfigSet
   g997smr,       G997_SnmpMessageReceive
   g997sms,       G997_SnmpMessageSend
   g997sang,      G997_SnrAllocationNscGet
   g997sansg,     G997_SnrAllocationNscShortGet
   g997xtusecg,   G997_XTUSystemEnablingConfigGet
   g997xtusecs,   G997_XTUSystemEnablingConfigSet
   g997xtusesg,   G997_XTUSystemEnablingStatusGet
   help,          Help
   hsdg,          HybridSelectionDataGet
   ics,           InstanceControlSet
   isg,           InstanceStatusGet
   lecg,          LastExceptionCodesGet
   lfcg,          LineFeatureConfigGet
   lfcs,          LineFeatureConfigSet
   lfsg,          LineFeatureStatusGet
   locg,          LineOptionsConfigGet
   locs,          LineOptionsConfigSet
   lsg,           LineStateGet
   llsg,          LoopLengthStatusGet
   llcg,          LowLevelConfigurationGet
   llcs,          LowLevelConfigurationSet
   mlsg,          MiscLineStatusGet
   mfcg,          MultimodeFsmConfigGet
   mfcs,          MultimodeFsmConfigSet
   mfsg,          MultimodeFsmStatusGet
   nsecg,         NotificationScriptExecuteConfigGet
   nsecs,         NotificationScriptExecuteConfigSet
   pm15meet,      PM_15MinElapsedExtTrigger
   pmbms,         PM_BurninModeSet
   pmcc15mg,      PM_ChannelCounters15MinGet
   pmcc1dg,       PM_ChannelCounters1DayGet
   pmccsg,        PM_ChannelCountersShowtimeGet
   pmcctg,        PM_ChannelCountersTotalGet
   pmchs15mg,     PM_ChannelHistoryStats15MinGet
   pmchs1dg,      PM_ChannelHistoryStats1DayGet
   pmct15mg,      PM_ChannelThresholds15MinGet
   pmct15ms,      PM_ChannelThresholds15MinSet
   pmct1dg,       PM_ChannelThresholds1DayGet
   pmct1ds,       PM_ChannelThresholds1DaySet
   pmcg,          PM_ConfigGet
   pmcs,          PM_ConfigSet
   pmdpc15mg,     PM_DataPathCounters15MinGet
   pmdpc1dg,      PM_DataPathCounters1DayGet
   pmdpcsg,       PM_DataPathCountersShowtimeGet
   pmdpctg,       PM_DataPathCountersTotalGet
   pmdpfc15mg,    PM_DataPathFailureCounters15MinGet
   pmdpfc1dg,     PM_DataPathFailureCounters1DayGet
   pmdpfcsg,      PM_DataPathFailureCountersShowtimeGet
   pmdpfctg,      PM_DataPathFailureCountersTotalGet
   pmdpfhs15mg,   PM_DataPathFailureHistoryStats15MinGet
   pmdpfhs1dg,    PM_DataPathFailureHistoryStats1DayGet
   pmdphs15mg,    PM_DataPathHistoryStats15MinGet
   pmdphs1dg,     PM_DataPathHistoryStats1DayGet
   pmdpt15mg,     PM_DataPathThresholds15MinGet
   pmdpt15ms,     PM_DataPathThresholds15MinSet
   pmdpt1dg,      PM_DataPathThresholds1DayGet
   pmdpt1ds,      PM_DataPathThresholds1DaySet
   pmetr,         PM_ElapsedTimeReset
   pmlesc15mg,    PM_LineEventShowtimeCounters15MinGet
   pmlesc1dg,     PM_LineEventShowtimeCounters1DayGet
   pmlescsg,      PM_LineEventShowtimeCountersShowtimeGet
   pmlesctg,      PM_LineEventShowtimeCountersTotalGet
   pmleshs15mg,   PM_LineEventShowtimeHistoryStats15MinGet
   pmleshs1dg,    PM_LineEventShowtimeHistoryStats1DayGet
   pmlfc15mg,     PM_LineFailureCounters15MinGet
   pmlfc1dg,      PM_LineFailureCounters1DayGet
   pmlfcsg,       PM_LineFailureCountersShowtimeGet
   pmlfctg,       PM_LineFailureCountersTotalGet
   pmlfhs15mg,    PM_LineFailureHistoryStats15MinGet
   pmlfhs1dg,     PM_LineFailureHistoryStats1DayGet
   pmlic15mg,     PM_LineInitCounters15MinGet
   pmlic1dg,      PM_LineInitCounters1DayGet
   pmlicsg,       PM_LineInitCountersShowtimeGet
   pmlictg,       PM_LineInitCountersTotalGet
   pmlihs15mg,    PM_LineInitHistoryStats15MinGet
   pmlihs1dg,     PM_LineInitHistoryStats1DayGet
   pmlit15mg,     PM_LineInitThresholds15MinGet
   pmlit15ms,     PM_LineInitThresholds15MinSet
   pmlit1dg,      PM_LineInitThresholds1DayGet
   pmlit1ds,      PM_LineInitThresholds1DaySet
   pmlsc15mg,     PM_LineSecCounters15MinGet
   pmlsc1dg,      PM_LineSecCounters1DayGet
   pmlscsg,       PM_LineSecCountersShowtimeGet
   pmlsctg,       PM_LineSecCountersTotalGet
   pmlshs15mg,    PM_LineSecHistoryStats15MinGet
   pmlshs1dg,     PM_LineSecHistoryStats1DayGet
   pmlst15mg,     PM_LineSecThresholds15MinGet
   pmlst15ms,     PM_LineSecThresholds15MinSet
   pmlst1dg,      PM_LineSecThresholds1DayGet
   pmlst1ds,      PM_LineSecThresholds1DaySet
   pmrtc15mg,     PM_ReTxCounters15MinGet
   pmrtc1dg,      PM_ReTxCounters1DayGet
   pmrtcsg,       PM_ReTxCountersShowtimeGet
   pmrtctg,       PM_ReTxCountersTotalGet
   pmrths15mg,    PM_ReTxHistoryStats15MinGet
   pmrths1dg,     PM_ReTxHistoryStats1DayGet
   pmrtt15mg,     PM_ReTxThresholds15MinGet
   pmrtt15ms,     PM_ReTxThresholds15MinSet
   pmrtt1dg,      PM_ReTxThresholds1DayGet
   pmrtt1ds,      PM_ReTxThresholds1DaySet
   pmr,           PM_Reset
   pmsmg,         PM_SyncModeGet
   pmsms,         PM_SyncModeSet
   ptsg,          PilotTonesStatusGet
   quit,          Quit
   rccg,          RebootCriteriaConfigGet
   rccs,          RebootCriteriaConfigSet
   rusg,          ResourceUsageStatisticsGet
   se,            ScriptExecute
   sicg,          SystemInterfaceConfigGet
   sics,          SystemInterfaceConfigSet
   sisg,          SystemInterfaceStatusGet
   tmcs,          TestModeControlSet
   tmsg,          TestModeStatusGet
   vig,           VersionInformationGet

working through one by one, the snr commands above with g997 look the most promising

Please you can not make a step by step guide?
thanks

I understud so: If I buy a w8970 with a original firmware version newer 28.08.2013 I can install openwrt by serial port without problem but only by serial port. Is it so or not?
I found a device with this version:

TD-W8970B(DE)v1_0.6.0_2.9_up_boot(140722)_2014-07-22_11.04.53

I' ve no problem with solder tools etc. Buy or not to buy? This is the question.

(Last edited by yousdo on 8 Jun 2015, 20:53)

no problem with serial, problems with tp-link web gui with ANY version.

yousdo wrote:

I understud so: If I buy a w8970 with a original firmware version newer 28.08.2013 I can install openwrt by serial port without problem but only by serial port. Is it so or not?
I found a device with this version:

TD-W8970B(DE)v1_0.6.0_2.9_up_boot(140722)_2014-07-22_11.04.53

I' ve no problem with solder tools etc. Buy or not to buy? This is the question.

It's a "strong buy". 8)

Are there other "all in one" routers (xDSL, WLAN, GBit) running OperWRT? Alternatives?

asc wrote:

It's a "strong buy". 8)

Are there other "all in one" routers (xDSL, WLAN, GBit) running OperWRT? Alternatives?

I like this device and openwrt works well, but with similar hardware there are other options,
VR9 lantiq SoC 

In the tplink page i see two firmwares for two diferent versions of TD-W8970, (v1 and v3) this kind of versioning may change internal layout, is not rare. I dont have information about last versión.

i recently debrick my router:
https://forum.openwrt.org/viewtopic.php?pid=279395

Hi there!
I have a TD-W8970 Ver:1.2
After updating it TD-W8970v1_0.6.0_2.12_up_boot(140613)_2014-06-13_09.17.23 , it does no blinks any other light then the conected lan cable. Also, the computer does no recieves packages. Neither PING or 192.168.1.1 works.
Any ideia how to restore?

@fasgamboa not sure what happen during the upgrade, but you flashed official FW? so its a problem with your device, there are two options, if you are on warranty or something send it back. if not get the serial up and running and see if it goes into boot loader or stops working earlier it is much easier to restore your device (of course expecting no HW issue), procedure is the same as in flash or restore FW on the WIKI http://wiki.openwrt.org/toh/tp-link/td-w8970

@yousdo read!!! (wont sound offensive) but it is written in the WIKI, if you used this already, then I have to say sorry and the solution is download the file to /tmp, you still need to change MD5_FW line in the script. download fails because telekom does not allow http connections or redirects to https an manual download is required.

After a lot of battle I take this:

Chipset:                Lantiq-VRx Unknown
Line State:             UP [0x801: showtime_tc_sync]
Data Rate:              68.480 Mb/s / 12.928 Mb/s
Line Attenuation:       25.7dB / 0.0dB
Noise Margin:           6.1dB / 9.8dB
Line Uptime:            21s

YES!
But now I don't know how to get IP (v4) from my provider Vodafone Deutschland.
Has somebody experience with this provider?

yousdo wrote:

After a lot of battle I take this:

Chipset:                Lantiq-VRx Unknown
Line State:             UP [0x801: showtime_tc_sync]
Data Rate:              68.480 Mb/s / 12.928 Mb/s
Line Attenuation:       25.7dB / 0.0dB
Noise Margin:           6.1dB / 9.8dB
Line Uptime:            21s

YES!
But now I don't know how to get IP (v4) from my provider Vodafone Deutschland.
Has somebody experience with this provider?

I found the solution. In /etc/config/network wan interface must set the ifname option to ptm0.132

Greetings everyone!

  I have a modem TP-Link TD-W8970 during a firmware update he presented a problem and can no longer access it by LAN port, only the J7 via RS232 adapter with an integrated MAX3232, when I turn the modem appear the following information:

▒▒▒▒▒▒
ROM VER: 1.1.4
CFG 05

ROM VER: 1.1.4
CFG 05

DDR autotuning Rev 0.3ff
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...



U-Boot 2010.06-LANTIQ-v-2.0.40-svn4806 (Jun 12 2014 - 10:34:17)

CLOCK CPU 500M RAM 250M
DRAM:  64 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Internal phy(GE) firmware version: 0x8434
vr9 Switch8192 KiB W25Q64 at 0:3 is now current device


Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
8192 KiB W25Q64 at 0:3 is now current device
8192 KiB W25Q64 at 0:3 is now current device
        Uncompressing ...
Starting kernel ...

Lantiq xDSL CPE VR9
mips_hpt_frequency = 250000000, counter_resolution = 2
Linux version 2.6.32.32 (swd@localhost.localdomain) (gcc version 4.3.3 (GCC) ) #34 Fri Jun 13 08:36:06 CST 2014
phym = 04000000, mem = 04000000, max_pfn = 00004000
Reserving memory for CP1 @0xa4000000, size 0x00000000
CPU revision is: 00019556 (MIPS 34Kc)
Determined physical RAM map:
User-defined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/mtdblock2 rw rootfstype=squashfs ip=192.168.1.1:192.168.1.2::::eth0:on console=ttyS0,115200 ethaddr=AC:9A:96:F0:28:39 phym=64M mem=64M panic=1 mtdparts=ifx_sflash:128k(boot),1280k(kernel),6528k(rootfs),64k(config),64k(romfile),64k(rom),64k(radio) init=/sbin/init ethwan=
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00030240
Readback ErrCtl register=00030240
Memory: 60632k/65536k available (2855k kernel code, 4832k reserved, 820k data, 184k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:185
Lantiq ICU driver, version 3.0.1, (c) 2001-2011 Lantiq Deutschland GmbH
console [ttyS0] enabled
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Lantiq PCIe Root Complex driver, version 1.5.3, (c) 2001-2011 Lantiq Deutschland GmbH
bio: create slab <bio-0> at 0
ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
pci 0000:00:00.0: PME# supported from D0 D3hot
pci 0000:00:00.0: PME# disabled
pci 0000:01:00.0: PME# supported from D0 D1 D3hot
pci 0000:01:00.0: PME# disabled
pci 0000:00:00.0: PCI bridge, secondary bus 0000:01
pci 0000:00:00.0:   IO window: disabled
pci 0000:00:00.0:   MEM window: 0x1c000000-0x1c0fffff
pci 0000:00:00.0:   PREFETCH window: 0x1c100000-0x1c1fffff
NET: Registered protocol family 8
NET: Registered protocol family 20
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
gptu: totally 6 16-bit timers/counters
gptu: misc_register on minor 63
gptu: succeeded to request irq 118
gptu: succeeded to request irq 119
gptu: succeeded to request irq 120
gptu: succeeded to request irq 121
gptu: succeeded to request irq 122
gptu: succeeded to request irq 123
IFX DMA driver, version ifxmips_dma_core.c:v1.0.17
,(c)2009 Infineon Technologies AG
Lantiq CGU driver, version 1.1.27, (c) 2001-2011 Lantiq Deutschland GmbH
vpe1_mem = 0
Wired TLB entries for Linux read_c0_wired() = 0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
fuse init (API version 7.13)
msgmni has been set to 118
Line: 127, function: deu_init
DMA Referenced PAGE_SIZE = 4096
Infineon Technologies DEU driver version 2.0.0
IFX DEU DES initialized (multiblock) (DMA).
IFX DEU AES initialized (multiblock) (DMA).
IFX DEU ARC4 initialized (multiblock) (DMA).
IFX DEU SHA1 initialized (DMA).
IFX DEU MD5 initialized (DMA).
IFX DEU SHA1_HMAC initialized (DMA).
IFX DEU MD5_HMAC initialized (DMA).
io scheduler noop registered (default)
ifx_pmu_init: Major 252
Lantiq PMU driver, version 1.2.2, (c) 2001-2011 Lantiq Deutschland GmbH
Lantiq GPIO driver, version 1.2.14, (c) 2001-2011 Lantiq Deutschland GmbH
Infineon Technologies RCU driver version 1.0.8
Lantiq LED Controller driver, version 1.0.6, (c) 2001-2011 Lantiq Deutschland GmbH
MEI CPE Driver, Version 1.2.0

(c) Copyright 2009, Infineon Technologies AG

### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###

ttyS0 at MMIO 0xbe100c00 (irq = 105) is a IFX_ASC
Register ASC (UART) to PMCU.
Lantiq ASC (UART) driver, version 1.0.9, (c) 2001-2011 Lantiq Deutschland GmbH
brd: module loaded
loop: module loaded
Lantiq SSC driver, version 2.2.6, (c) 2001-2011 Lantiq Deutschland GmbH
Register flash device:flash0
7 cmdlinepart partitions found on MTD device ifx_sflash
Creating 7 MTD partitions on "ifx_sflash":
0x000000000000-0x000000020000 : "boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007c0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
0x0000007c0000-0x0000007d0000 : "config"
0x0000007d0000-0x0000007e0000 : "romfile"
0x0000007e0000-0x0000007f0000 : "rom"
0x0000007f0000-0x000000800000 : "radio"
Lantiq SPI flash driver, version 1.1.9, (c) 2001-2011 Lantiq Deutschland GmbH
ifxmips_gpio: Pin ID 10 (port 0, pin 10) has been reserved by module SFLASH from kernel module!
ifx_dataflash_init status error 255
PPP generic driver version 2.4.2
NET: Registered protocol family 24
IFX SWITCH API, Version 1.1.7.2
SWAPI: Registered character device [switch_api] with major no [81]
Switch API: PCE MicroCode loaded !!
Init IFX_ETHSW_Switch_API_procModule successfully.
Switch Auto Polling value = 0
GPHY FW load for A2x !!
GPHY FIRMWARE LOAD SUCCESSFULLY AT ADDR : 400000
IFX GPHY driver GE Mode, version ifxmips_vr9_gphy: V0.9 - Firmware: 8434
Registered led device: broadband_led
Registered led device: internet_led
Registered led device: usb1_link_led
Registered led device: usb2_link_led
Lantiq LED driver, version 1.0.17, (c) 2001-2011 Lantiq Deutschland GmbH
Mirror/redirect action on
u32 classifier
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (948 buckets, 5120 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
Ebtables v2.0 registered
NET: Registered protocol family 8
atmpvc_init() failed with -17
KOAM is loaded successfully.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 184k freed
starting pid 187, tty '': '/etc/init.d/rcS'
SCSI subsystem initialized
CPU 0 Unable to handle kernel paging request at virtual address c002cac0, epc == 80124b9c, ra == 80124b38
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 c002cac0 fffeb2d8
$ 4   : 00020000 0000b2d8 fffe0000 c000ebb0
$ 8   : 81074200 80398360 00000041 4ff92da4
$12   : 00000000 00b49151 803e0000 5f617368
$16   : 00000006 00000000 0000b2d7 00009d98
$20   : c011a644 0000000a 83a5db04 c002e000
$24   : 00000000 80022a00
$28   : 83a5c000 83a5dad8 0000b2d8 80124b38
Hi    : 00000000
Lo    : e612ed00
epc   : 80124b9c unlzma+0xf04/0x105c
    Not tainted
ra    : 80124b38 unlzma+0xea0/0x105c
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : c002cac0
PrId  : 00019556 (MIPS 34Kc)
Modules linked in: scsi_mod
Process insmod (pid: 206, threadinfo=83a5c000, task=83891b18, tls=00000000)
Stack : 83891ca8 800267a8 8387d6c8 8387d6c8 00000006 0000001e 0000001e 6d000200
        00000000 000001e6 0c87d698 80123b10 c000ebb1 c000c000 c0013f08 00007f08
        00e7655d 25cc7fa5 25cc7fa5 00000001 00000350 00000096 00000007 00000000
        c000c000 c011a000 00000003 00000003 00000001 c011a644 c011aa68 c011a664
        00000007 803888c4 83a5daf0 83a5daec 803e0000 83a09884 00000000 00000000
        ...
Call Trace:
[<80124b9c>] unlzma+0xf04/0x105c
[<800da82c>] lzma_uncompress+0x180/0x320
[<800d6860>] squashfs_read_data+0x494/0x738
[<800d71e8>] squashfs_cache_get+0x1bc/0x2f0
[<800d8220>] squashfs_readpage+0x614/0x9c0
[<80068540>] __do_page_cache_readahead+0x21c/0x284
[<800685d0>] ra_submit+0x28/0x34
[<80068bb0>] page_cache_sync_readahead+0x5c/0x68
[<80060e24>] generic_file_aio_read+0x28c/0x878
[<80086b48>] do_sync_read+0xd4/0x13c
[<80087908>] sys_read+0x58/0xa0
[<800041a4>] stack_done+0x20/0x3c


Code: 1440fffb  02651023  02e21021 <90520000> 02f31821  26730001  08049302  a0720000  027e1823
Disabling lock debugging due to kernel taint
Segmentation fault

The firmware of it is original TP-Link, has not changed, but I really want to try to use it with the OpenWrt, I would like to inform that I have knowledge in electronics and computer science, but in Linux I have little experience.

It is possible to do this?

I can only do this with Linux?
I have a computer that has a virtual machine with Ubuntu works as well?

khallyxtro wrote:

I can only do this with Linux?
I have a computer that has a virtual machine with Ubuntu works as well?

No, you need a serial interface (like putty) and tftpd server .

Openwrt works well on this router, Im using for more than a year without trouble.

joseba_g wrote:
stalkerwold wrote:

hi openwrtuserx you can explain step by step how to include the vdsl.bin firmware inside the image thanks
sorry for my english

Easy, if you use the imagebuilder, make files folder, and put in  desired files, for example:

~/src/OpenWrt-ImageBuilder-lantiq_xrx200-for-linux-x86_64/files/lib/firmware/vdsl.bin

and make your image :

make image PROFILE=TDW8970 PACKAGES="your desired packages"  FILES=files/

or, compiling with buildroot, put files folder in  buildroot folder, and both options are well explained at wiki, http://wiki.openwrt.org/doc/howto/build

I successfully installed openwrt on the TD-W8970 but now
I'm trying to install proper xDSL firmware since vdsl.bin installed is made for ANNEX B xDSLs and here in Italy does not work.

So I followed these instructions for download, extract and unsquash firmware: https://xdarklight.github.io/lantiq-xdsl-firmware-info/
This is what I do:

unzip TD-W9980_V1_150507.zip
binwalk "TD-W9980_V1_150507/TD-W9980v1_0.6.0_1.12_up_boot(150507)_2015-05-07_11.12.40.bin" -e
unsquashfs TD-W9980_V1_150507/_TD-W9980v1_0.6.0_1.12_up_boot\(150507\)_2015-05-07_11.12.40.bin.extracted/160200.squashfs

Now I got folder with these files:

  • vdsl.scr

  • adsl.scr

  • dsl_cpe_pipe.sh

  • dsl_wan_setting.sh

  • eth_wan_setting.sh

  • xcpe_574306_571801.bin

  • xdslrc.sh

but I don't know what to do with those files.

Shoud I generate image file (bin) from those files? Using imagebuilder? if so, how can I do that?

Should I copy .bin to /lib/firmware/ and rename it to vdsl.bin?

Any help is appreciated, I'm stuck!

(Last edited by arpanet on 14 Jul 2015, 12:21)

arpanet wrote:

Now I got folder with these files:

  • vdsl.scr

  • adsl.scr

  • dsl_cpe_pipe.sh

  • dsl_wan_setting.sh

  • eth_wan_setting.sh

  • xcpe_574306_571801.bin

  • xdslrc.sh

but I don't know what to do with those files.

Shoud I generate image file (bin) from those files? Using imagebuilder? if so, how can I do that?

Should I copy .bin to /lib/firmware/ and rename it to vdsl.bin?

Yes, you only need the x(dsl) firmware, which is xcpe_574306_571801.bin, copy this to /lib/firmware,
rename it, or create a link (vdsl.bin) to it. There is no guarantee that every dsl firmware is working
(some work, others not).

yousdo wrote:
yousdo wrote:

After a lot of battle I take this:

Chipset:                Lantiq-VRx Unknown
Line State:             UP [0x801: showtime_tc_sync]
Data Rate:              68.480 Mb/s / 12.928 Mb/s
Line Attenuation:       25.7dB / 0.0dB
Noise Margin:           6.1dB / 9.8dB
Line Uptime:            21s

YES!
But now I don't know how to get IP (v4) from my provider Vodafone Deutschland.
Has somebody experience with this provider?

I found the solution. In /etc/config/network wan interface must set the ifname option to ptm0.132

Nice! How did you find the VDSL stuff?
This is all that I got:
root@OpenWrt:~# /etc/init.d/dsl_control lucistat
local dsl={}
dsl.chipset="Lantiq-VRx Unknown"
dsl.line_state_num=0x200
dsl.line_state_detail="silent"
dsl.line_state="DOWN"
dsl.data_rate_down=0
dsl.data_rate_up=0
dsl.data_rate_down_s="0 b"
dsl.data_rate_up_s="0 b"
dsl.line_attenuation_down=0.0
dsl.line_attenuation_up=0.0
dsl.noise_margin_down=0.0
dsl.noise_margin_up=0.0
dsl.line_uptime=0
return dsl

I'm lost here...

I've finally found the answer by reading the full thread!
The problem was the vdsl.bin, I got the connect after I tried the RyLoS firmware (https://github.com/ambrosa/openwrt-TPLI … .00.01.bin)

root@OpenWrt:~# /etc/init.d/dsl_control status
Chipset:                Lantiq-VRx Unknown
Line State:             UP [0x801: showtime_tc_sync]
Data Rate:              11.292 Mb/s / 576 Kb/s
Line Attenuation:       4.9dB / 2.4dB
Noise Margin:           21.5dB / 24.3dB
Line Uptime:            34m 29s

I'll post my network configuration for futher reference for Brazilians...

root@OpenWrt:~# cat /etc/config/network
config interface 'wan'
        option proto 'pppoe'
        option ipv6 '0'
        option macaddr '14:cc:20:d5:54:85'
        option username 'oi@oi.com.br'
        option password 'oi'
        option _orig_ifname 'nas0'
        option _orig_bridge 'false'
        option ifname 'nas0'

config vdsl 'dsl'
        option annex 'a'
        option firmware '/lib/firmware/vdsl.bin'
        option tone 'av'
        option xfer_mode 'atm'

Now, I need to know to write the firmware in the flash memory, can anyone help me?

BlindSide wrote:

        option username 'oi@oi.com.br'
        option password 'oi'
?

are these your real username and password?

is so ,it is NOT a good idea to post them here.

BlindSide wrote:

Now, I need to know to write the firmware in the flash memory, can anyone help me?

this is the script that writes the firmware to the partiiton on router.

/sbin/vdsl_fw_install.sh

if you cat this script you will see its content and I dont think it's that hard to modify it and replace the downloading bin file with your firmware and change the md5 and so on.

hope that helps.

Hi there I'm very excited, just tried CC-RC3, FW install works not out of the box but this is because Telekom changed to ssl.
Update Wiki for install instructions, can somebody provide a fast install for Annex A FW to mtd4? if necessary.
Connection with UMTS via USB (K3765-Z) works after installing required files.
When booted reset button short press does REBOOT and long press do  FACTORY RESET (did not work for me with BB).
No verbose messages on console "ifconfig ptm0 down" (or atm0) only for testing, no Connection, did not connected to DSL yet, but this should work.
Free size is similar to BB, hope i can give it a go tomorrow.
There should be a Wiki Page that lists DSL settings for different providers, if we get more devices with Modem that might be helpful for those users.

(Last edited by Wingman2k on 25 Jul 2015, 16:30)

joseba_g wrote:
asc wrote:

It's a "strong buy". 8)

Are there other "all in one" routers (xDSL, WLAN, GBit) running OperWRT? Alternatives?

I like this device and openwrt works well, but with similar hardware there are other options,
VR9 lantiq SoC

A lot of the optons there are very hard to source outside of Europe. The TP-Link models TD-W8970, TD-W8980, TD-W9970 are all very similar and much more common in the Asian markets. AVM's products tend to be expensive, and ship with a non-free bootloader. I wouldn't want to risk bricking an expensive router. So I think this one is our best bet.

I recently purchased:

  • FTDI FT232RL USB to TTL Serial Converter Adapter Module 5V /3.3V

  • 20cm Dupont Male to Female

This is the first modem I've attempted to use with OpenWrt. I had a Cisco 877W which recently had a NVRAM failure, so that's why I looked to this. I didn't feel like dealing with their SmartNet bullshit just to get firmwares - which is what turned me off upgrading to a Cisco 867VAE.


The stock TP-Link firmware doesn't let me graph line sync speeds, attenuation, SNR etc. I have heard I can do this with OpenWrt and expose over SNMP to a Cacti server.

Unfortunately my ISP doesn't really listen when I tell them the line sync speed has "dropped" because of a "fault" unless I can give them an exact time frame. The plan is to expose it to my Cacti server (another machine on the LAN) so I can continue logging it. That way I can "prove" when I'm not getting "regular service". (I only get 6mbit, which is considered good - so I am keen to keep all of it).

Do I need to have serial exposed to upgrade OpenWrt after the initial flash? My understanding is, yes as the bootloader (uboot) is what does the RSA check and OpenWrt doesn't distribute that.

It seems the v3 RSA headers are here to stay, newer models are going to have that. I purchased a TD-W9970 so that came with a stock image newer than 12.10.2013, so flashing OpenWrt via serial seems the only way for me. Currently I'm using it with the stock firmware in bridge mode with a router I built Linux Router with VPN on a Raspberry Pi. I would continue to use my TD-W9970 without WiFi in bridge mode, (so I don't really mind about the 5GHZ problems, in fact I've currently got RP-SMA dust caps on instead of aerials). There's no way I could get coverage in my basement or backroom anyway so I went with individual UniFi UAP APs. 802.11ac isn't worth the money imho.

If I do need to always use serial, then it might be worth exposing that to the external side of the case. It is going to be a nuisance to have to open it up each time I'm thinking of fitting the USB to TTL converter module in there somehow.

Would there be room inside for something like that? I've not opened the case yet. Maybe I could remove the board from the plastic TP-Link case and put it in a replacement? Sure I'd have to drill holes for the LEDs and make some square holes with a file, and then clean it up with the dremel. I was kind of wondering if it would fit above the WPS and Reset switch?

(Last edited by sillysausage on 3 Sep 2015, 14:55)

Sorry, posts 176 to 175 are missing from our archive.