Trouble installing on Fritz!Box 7530

At the moment, I have my BT Smart Hub 2 as main modem/router/wifi - so that has the DSL connection. Connected Fritz!Box (LAN 1) to one of the BT's LAN ports. On Fritz!Box settings, Internet -> Account Information -> Internet Connection -> Connected via is set to Connecting to a cable modem (cable connection). Then have one of the other ports of the Fritz!Box connected to laptop for attempting OpenWrt installation.

As a novice, I'm not sure how to do step 2 of the installation as written in the wiki:

Assign yourself the IP address 192.168.178.10/24.

Because when I run the command in step 3, i get this:

$ ./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz7530.bin
Traceback (most recent call last):
  File "/home/user/Documents/openwrt/scripts/flashing/./eva_ramboot.py", line 28, in <module>
    ftp = FTP(args.ip, 'adam2', 'adam2')
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ftplib.py", line 121, in __init__
    self.connect(host)
  File "/usr/lib/python3.12/ftplib.py", line 158, in connect
    self.sock = socket.create_connection((self.host, self.port), self.timeout,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 865, in create_connection
    raise exceptions[0]
  File "/usr/lib/python3.12/socket.py", line 850, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

Using Arch Linux (btw :wink:)

Also tried Windows install method by @pstlr78

When I run the command in step 12, I get:

C:\Program Files\Tftpd64>python eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz7530.bin
Traceback (most recent call last):
  File "C:\Program Files\Tftpd64\eva_ramboot.py", line 28, in <module>
    ftp = FTP(args.ip, 'adam2', 'adam2')
  File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\ftplib.py", line 121, in __init__
    self.connect(host)
    ~~~~~~~~~~~~^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\ftplib.py", line 158, in connect
    self.sock = socket.create_connection((self.host, self.port), self.timeout,
                ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                         source_address=self.source_address)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 864, in create_connection
    raise exceptions[0]
  File "C:\Users\User\AppData\Local\Programs\Python\Python313\Lib\socket.py", line 849, in create_connection
    sock.connect(sa)
    ~~~~~~~~~~~~^^^^
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

What am I doing wrong?

It's OS specific, google "set static IP [your OS]" ?

This is probably also why the Python script fails.

Thanks for the pointers.

On Windows 11, turned off wifi, and connected to Fritz!Box via ethernet.

Tried setting static ip on Windows 11 by going to Settings -> Network & internet -> Ethernet -> IP assignment -> Manual -> IPv4, with IP address set to 192.168.178.10 and subnet mask to 255.255.255.0. Everything else untouched.

Still get exactly same error.

Which one of them, you posted two.

Keep in mind the script requires good timing, or it'll fail.

Read the wiki entry linked to in the forum post you posted, there's a note about an alternative client IP.

1 Like

No. For installation, download everything to your computer first, then boot your Fritzbox, but only connect your computer to the Fritzbox.

1 Like

Thanks to the both of you, I successfully flashed the device!

I then did everything in the "DSL modem" heading of the wiki for VDSL support, but not working.

If you look at the interfaces, dsl0 is not present:

The wiki links here for specific ISP configurations. If I go to the "United Kingdom" heading, I can see some configurations for BT (my ISP), but not sure how these can be applied on the LuCI GUI, or even which one.

@moeller0 will probably able to help...

if you have transferred the dsl binaries to the modem you might just need to set the location of it in the config

192.168.1.1 -> Network -> Interfaces -> DSL (tab) -> Firmware File -> /lib/firmware/vdsl.bin -> save -> reboot

that step always kinda worried me a bit because yeah vdsl.bin is not automatically picked up to use, you have to specify it

If you don't have web access:

config dsl 'dsl'
        option ds_snr_offset '0'
        option firmware '/lib/firmware/vdsl.bin'
        option annex 'a'
        option xfer_mode 'ptm'
        option line_mode 'vdsl'

This is what it looks like in the dsl section of /etc/config/network for me, but if you're in the UK the annex would be 'b'

1 Like

Made dsl section of /etc/config/network like this (touched nothing else):

config dsl 'dsl'
        option annex 'b'
        option tone 'a'
        option ds_snr_offset '0'
        option xfer_mode 'ptm'
        option line_mode 'vdsl'
        option firmware '/lib/firmware/vdsl.bin'

Still same problem. Perhaps I need to add additional configurations?

And just to make sure I did the symlink correctly, in the wiki where it says to run this command: ln -s xcpe_8D1507_8D0901.bin /lib/firmware/vdsl.bin, I'm ssh'd into the Fritz!Box, cd /lib/firmware, then run that command?

Edit: dsl section originally was this:

config dsl 'dsl'
        option annex 'j'
        option tone 'b'

annex j isa ADSL, for VDSL in Europe you need annex b (vdsl annex b is different from adsl annex b) you need to select a tome set your ISPs supports...
Can you post the output of ´dmesg´ to check that you do not have the issue that required a special patch in the past?

There is no difference between option annex 'b' and option annex 'j' for VDSL2. Both should work in the same way.

Using option annex 'a' does make a difference even for VDSL2, it changes the default for supported carrier sets (i.e. when the tone option is set to auto).

It is definitely a good idea to check dmesg, but there must also be some other issue in this case. Because the dsl0 interface still comes up on affected devices, it just doesn't transmit any data.

Check the DSL status using the command ubus call dsl metrics, or look on the overview page in the web interface (it has a small DSL section, more information is available in the status menu if you install the package luci-mod-dsl).

1 Like
root@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.167 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.3.0 r24106-10cc5fcd00) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Sep 23 12:34:46 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: AVM FRITZ!Box 7530
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087dfffff]
[    0.000000]   node   0: [mem 0x0000000087e00000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000008fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s19660 r8192 d21300 u49152
[    0.000000] pcpu-alloc: s19660 r8192 d21300 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line:  coherent_pool=4M
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 247208K/262144K available (6768K kernel code, 611K rwdata, 1020K rodata, 1024K init, 246K bss, 14936K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000001] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000023] Switching to timer-based delay loop, resolution 20ns
[    0.000303] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000329] CPU: Testing write buffer coherency: ok
[    0.000381] pid_max: default: 32768 minimum: 301
[    0.001215] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001246] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003211] qcom_scm: convention: smc legacy
[    0.004374] Setting up static identity map for 0x80300000 - 0x8030003c
[    0.004542] rcu: Hierarchical SRCU implementation.
[    0.005111] smp: Bringing up secondary CPUs ...
[    0.008492] smp: Brought up 1 node, 4 CPUs
[    0.008528] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.008544] CPU: All CPU(s) started in SVC mode.
[    0.014870] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.015065] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015100] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.015456] pinctrl core: initialized pinctrl subsystem
[    0.017424] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.020458] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.021883] thermal_sys: Registered thermal governor 'step_wise'
[    0.022298] cpuidle: using governor ladder
[    0.022359] cpuidle: using governor menu
[    0.030369] gpio-461 (enable USB3 power): hogged as output/high
[    0.050400] cryptd: max_cpu_qlen set to 1000
[    0.055064] usbcore: registered new interface driver usbfs
[    0.055144] usbcore: registered new interface driver hub
[    0.055206] usbcore: registered new device driver usb
[    0.055293] pps_core: LinuxPPS API ver. 1 registered
[    0.055306] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.055337] PTP clock support registered
[    0.057505] clocksource: Switched to clocksource arch_sys_counter
[    0.058892] NET: Registered PF_INET protocol family
[    0.059126] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.060048] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.060181] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.060215] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.060259] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.060315] TCP: Hash tables configured (established 2048 bind 2048)
[    0.060484] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.060533] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.060861] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.060914] PCI: CLS 0 bytes, default 64
[    0.063493] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.069789] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.069820] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.203425] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.206234] qcom-pcie 40000000.pci: host bridge /soc/pci@40000000 ranges:
[    0.206309] qcom-pcie 40000000.pci:       IO 0x0040200000..0x00402fffff -> 0x0000000000
[    0.206346] qcom-pcie 40000000.pci:      MEM 0x0040300000..0x0040ffffff -> 0x0040300000
[    0.389090] qcom-pcie 40000000.pci: iATU unroll: disabled
[    0.389124] qcom-pcie 40000000.pci: Detected iATU regions: 32 outbound, 8 inbound
[    0.489220] qcom-pcie 40000000.pci: Link up
[    0.489386] qcom-pcie 40000000.pci: PCI host bridge to bus 0000:00
[    0.489408] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.489429] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[    0.489448] pci_bus 0000:00: root bus resource [mem 0x40300000-0x40ffffff]
[    0.489501] pci 0000:00:00.0: [17cb:1001] type 01 class 0x060400
[    0.489534] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.489608] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.491173] PCI: bus0: Fast back to back transfers disabled
[    0.491404] pci 0000:01:00.0: [8086:09a9] type 00 class 0x028000
[    0.491494] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x007fffff]
[    0.491899] pci 0000:01:00.0: supports D1 D2
[    0.491915] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.493531] PCI: bus1: Fast back to back transfers disabled
[    0.493582] pci 0000:00:00.0: BAR 8: assigned [mem 0x40800000-0x40ffffff]
[    0.493607] pci 0000:00:00.0: BAR 0: assigned [mem 0x40300000-0x40300fff]
[    0.493633] pci 0000:01:00.0: BAR 0: assigned [mem 0x40800000-0x40ffffff]
[    0.493665] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.493686] pci 0000:00:00.0:   bridge window [mem 0x40800000-0x40ffffff]
[    0.496907] pcieport 0000:00:00.0: AER: enabled with IRQ 102
[    0.499166] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    0.499196] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    0.500628] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.500737] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.500832] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.500923] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.501249] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.503314] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.503369] msm_serial 78af000.serial: uartclk = 1843200
[    0.503427] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 32, base_baud = 115200) is a MSM
[    0.503465] msm_serial: console setup on port #0
[    1.209690] printk: console [ttyMSM0] enabled
[    1.214920] msm_serial: driver initialized
[    1.224607] loop: module loaded
[    1.226471] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    1.226566] nand: Macronix MX30LF1G18AC
[    1.233208] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.236776] Block protection check failed
[    1.244452] 11 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.248488] Creating 11 MTD partitions on "qcom_nand.0":
[    1.255223] 0x000000000000-0x000000080000 : "SBL1"
[    1.261998] 0x000000080000-0x000000100000 : "MIBIB"
[    1.266296] 0x000000100000-0x000000180000 : "QSEE"
[    1.271157] 0x000000180000-0x0000001c0000 : "CDT"
[    1.275709] 0x0000001c0000-0x000000240000 : "QSEE_B"
[    1.280806] 0x000000240000-0x000000280000 : "urlader0"
[    1.285528] 0x000000280000-0x0000002c0000 : "urlader1"
[    1.290557] 0x0000002c0000-0x000000b00000 : "nand-tffs"
[    1.302644] 0x000000b00000-0x000000f00000 : "uboot0"
[    1.306755] 0x000000f00000-0x000001300000 : "uboot1"
[    1.310938] 0x000001300000-0x000008000000 : "ubi"
[    1.462403] i2c_dev: i2c /dev entries driver
[    1.464431] sdhci: Secure Digital Host Controller Interface driver
[    1.465752] sdhci: Copyright(c) Pierre Ossman
[    1.471775] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.480549] NET: Registered PF_INET6 protocol family
[    1.483576] Segment Routing with IPv6
[    1.486904] In-situ OAM (IOAM) with IPv6
[    1.490566] NET: Registered PF_PACKET protocol family
[    1.494460] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.499741] 8021q: 802.1Q VLAN Support v1.8
[    1.512507] Registering SWP/SWPB emulation handler
[    1.530456] qca8k-ipq4019 c000000.switch: configuring for fixed/internal link mode
[    1.530771] qca8k-ipq4019 c000000.switch: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.610812] qca8k-ipq4019 c000000.switch lan1 (uninitialized): PHY [90000.mdio-1:00] driver [Qualcomm QCA8075] (irq=POLL)
[    1.690933] qca8k-ipq4019 c000000.switch lan2 (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm QCA8075] (irq=POLL)
[    1.770933] qca8k-ipq4019 c000000.switch lan3 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm QCA8075] (irq=POLL)
[    1.850943] qca8k-ipq4019 c000000.switch lan4 (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm QCA8075] (irq=POLL)
[    1.851900] DSA: tree 0 setup
[    1.862087] UBI: auto-attach mtd10
[    1.863849] ubi0: attaching mtd10
[    2.439246] ubi0: scanning is finished
[    2.447655] ubi0: attached mtd10 (name "ubi", size 109 MiB)
[    2.447705] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.452053] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.459038] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.465854] ubi0: good PEBs: 872, bad PEBs: 0, corrupted PEBs: 0
[    2.472640] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
[    2.478890] ubi0: max/mean erase counter: 8/5, WL threshold: 4096, image sequence number: 1130416956
[    2.485911] ubi0: available PEBs: 0, total reserved PEBs: 872, PEBs reserved for bad PEB handling: 20
[    2.495233] ubi0: background thread "ubi_bgt0d" started, PID 136
[    2.496388] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.510405] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.515925] clk: Disabling unused clocks
[    2.528686] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.530689] Freeing unused kernel image (initmem) memory: 1024K
[    2.535033] Run /sbin/init as init process
[    2.540590]   with arguments:
[    2.540597]     /sbin/init
[    2.540604]   with environment:
[    2.540609]     HOME=/
[    2.540614]     TERM=linux
[    2.868200] init: Console is alive
[    2.868545] init: - watchdog -
[    3.727633] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.876161] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.876241] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    3.880867] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000008002010010
[    3.888248] xhci-hcd xhci-hcd.0.auto: irq 106, io mem 0x08a00000
[    3.897726] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.903753] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.909072] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.917328] hub 1-0:1.0: USB hub found
[    3.923257] hub 1-0:1.0: 1 port detected
[    3.927390] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.934373] hub 2-0:1.0: USB hub found
[    3.939146] hub 2-0:1.0: 1 port detected
[    3.945437] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.950766] init: - preinit -
[    4.057552] random: crng init done
[    5.332916] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[    5.333633] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[    5.339866] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.880425] qca8k-ipq4019 c000000.switch: PSGMII work was stabilized after 1 calibration retries !
[    6.881054] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.227172] UBIFS (ubi0:4): Mounting in unauthenticated mode
[    9.227447] UBIFS (ubi0:4): background thread "ubifs_bgt0_4" started, PID 246
[    9.262905] UBIFS (ubi0:4): recovery needed
[    9.357626] UBIFS (ubi0:4): recovery completed
[    9.357801] UBIFS (ubi0:4): UBIFS: mounted UBI device 0, volume 4, name "rootfs_data"
[    9.361006] UBIFS (ubi0:4): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.368946] UBIFS (ubi0:4): FS size: 83550208 bytes (79 MiB, 658 LEBs), max 669 LEBs, journal size 4190208 bytes (3 MiB, 33 LEBs)
[    9.378806] UBIFS (ubi0:4): reserved for root: 3946282 bytes (3853 KiB)
[    9.390426] UBIFS (ubi0:4): media format: w5/r0 (latest is w5/r0), UUID F3F636EE-2011-48E9-968B-D9E6E9CCD386, small LPT model
[    9.401376] mount_root: switching to ubifs overlay
[    9.419667] urandom-seed: Seeding with /etc/urandom.seed
[    9.514474] procd: - early -
[    9.514683] procd: - watchdog -
[   10.120089] procd: - watchdog -
[   10.132265] procd: - ubus -
[   10.193434] procd: - init -
[   10.722867] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.743978] IFXOS, Version 1.7.1 (c) Copyright 2009, Lantiq Deutschland GmbH
[   10.745898] vrx518: Intel(R) SmartPHY DSL(VRX518) PCIe EP/ACA Driver - version 2.1.0-k
[   10.750169] vrx518: Copyright (c) 2016 Intel Corporation.
[   10.758015] vrx518 0000:01:00.0: enabling device (0140 -> 0142)
[   10.766852] NET: Registered PF_ATMPVC protocol family
[   10.769173] NET: Registered PF_ATMSVC protocol family
[   10.782069] vrx518_tc:pcie_ep_probe: Total 1 VRX518 EP detected
[   10.795057] MD5 checksum pass!!!
[   10.795107] Firmware pointer id(0):size(10636), fw addr(4caedaa7), off(100)
[   10.797369] Firmware pointer id(1):size(19548), fw addr(810bc4d0), off(10736)
[   10.804123] Firmware pointer id(2):size(11504), fw addr(5d07e6cf), off(30284)
[   10.811361] Firmware pointer id(3):size(23076), fw addr(94b16e1b), off(41788)
[   10.818474] VRX518 PPE Firmware header info
[   10.825576] 	PTM Version: 3.5.75
[   10.829579] 	PTM Feature: A0000000
[   10.833040] 	ATM Version: 3.6.5
[   10.836251] 	ATM Feature: B0000000
[   10.839300] 	Compability ID: 00000004
[   10.842763] 	Size: 00000010
[   10.846493] 	FW built Date: 3-25-2021
[   10.849110] 	Number of firmware: 4
[   10.852919] 		Firmware[0]: ID[0] size[2659] at[0x4caedaa7]
[   10.856220] 		Firmware[1]: ID[1] size[4887] at[0x810bc4d0]
[   10.861701] 		Firmware[2]: ID[2] size[2876] at[0x5d07e6cf]
[   10.867157] 		Firmware[3]: ID[3] size[5769] at[0x94b16e1b]
[   10.872740] vrx518_tc:tc_drv_init: Intel(R) SmartPHY DSL(VRX518) PCIe TC Driver - version 1.5.12.4
[   10.878116] vrx518_tc:tc_drv_init: Copyright (c) 2018 Intel Corporation.
[   10.900471] Lantiq (VRX) DSL CPE MEI driver, version 1.11.1, (c) 2007-2016 Lantiq Deutschland GmbH
[   10.900746] Found 1 PCI VRX devices, 
[   10.917092] 
[   10.917092] 
[   10.917092] Lantiq CPE API Driver version: DSL CPE API V4.23.1
[   10.917153] 
[   10.917153] 
[   10.917153] Lantiq CPE API Driver - autoloading layout...
[   10.924992] 
[   10.924992] 
[   10.924992] Lantiq CPE API Device layout: 1 devices, 1 lines, 1 channels
[   10.933057] 
[   10.933057] Predefined debug level: 3
[   10.942767] 
[   10.942767] ++++++++++++++++++ MEI_InternalDevOpen ++++++++++++++++++
[   10.942767] 
[   10.948247] 
[   10.948247] ++++++++++++++++++ MEI_InternalDevOpen ++++++++++++++++++
[   10.948247] 
[   10.962666] Loading modules backported from Linux version v6.1.110-0-g5f55cad62cc9d
[   10.966548] Backport generated by backports.git v6.1.110-1-0-g965f73fc
[   11.096901] PPP generic driver version 2.4.2
[   11.098084] NET: Registered PF_PPPOX protocol family
[   11.547456] urngd: v1.0.2 started.
[   12.027770] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   12.027839] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   12.039643] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[   12.091461] ath10k_ahb a000000.wifi: Loading BDF type 0
[   12.186381] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:20 crc32 d140cd7d
[   13.473526] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   13.473602] ath10k_ahb a000000.wifi: msdu-desc: 2500  skid: 32
[   13.509050] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   13.509994] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   13.644438] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   13.746890] ath: EEPROM regdomain: 0x0
[   13.746918] ath: EEPROM indicates default country code should be used
[   13.746925] ath: doing EEPROM country->regdmn map search
[   13.746933] ath: country maps to regdmn code: 0x3a
[   13.746941] ath: Country alpha2 being used: US
[   13.746948] ath: Regpair used: 0x3a
[   14.730480] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   14.730558] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.742412] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[   14.794146] ath10k_ahb a800000.wifi: Loading BDF type 0
[   14.806085] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:21 crc32 d140cd7d
[   16.094676] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   16.094744] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[   16.130197] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   16.131148] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   16.252641] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   16.352777] ath: EEPROM regdomain: 0x0
[   16.352808] ath: EEPROM indicates default country code should be used
[   16.352815] ath: doing EEPROM country->regdmn map search
[   16.352823] ath: country maps to regdmn code: 0x3a
[   16.352831] ath: Country alpha2 being used: US
[   16.352838] ath: Regpair used: 0x3a
[   16.362923] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.131513] ipqess-edma c080000.ethernet eth0: Link is Down
[   22.139825] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[   22.140182] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.140218] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.159043] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[   22.163927] br-lan: port 1(lan1) entered blocking state
[   22.169026] br-lan: port 1(lan1) entered disabled state
[   22.174728] device lan1 entered promiscuous mode
[   22.179380] device eth0 entered promiscuous mode
[   22.210852] qca8k-ipq4019 c000000.switch lan2: configuring for phy/psgmii link mode
[   22.213146] br-lan: port 2(lan2) entered blocking state
[   22.217361] br-lan: port 2(lan2) entered disabled state
[   22.223150] device lan2 entered promiscuous mode
[   22.235906] qca8k-ipq4019 c000000.switch lan3: configuring for phy/psgmii link mode
[   22.238124] br-lan: port 3(lan3) entered blocking state
[   22.242403] br-lan: port 3(lan3) entered disabled state
[   22.248108] device lan3 entered promiscuous mode
[   22.259700] qca8k-ipq4019 c000000.switch lan4: configuring for phy/psgmii link mode
[   22.262062] br-lan: port 4(lan4) entered blocking state
[   22.266199] br-lan: port 4(lan4) entered disabled state
[   22.271972] device lan4 entered promiscuous mode
[   24.816200] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   24.816279] ath10k_ahb a000000.wifi: msdu-desc: 2500  skid: 32
[   24.851393] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   24.852368] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   25.157794] ath10k_ahb a000000.wifi: rts threshold -1
[   25.158056] ath10k_ahb a000000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   25.165155] br-lan: port 5(phy0-ap0) entered blocking state
[   25.172843] br-lan: port 5(phy0-ap0) entered disabled state
[   25.178659] device phy0-ap0 entered promiscuous mode
[   25.190932] ath10k_ahb a000000.wifi: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   25.406250] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[   25.406562] br-lan: port 5(phy0-ap0) entered blocking state
[   25.411732] br-lan: port 5(phy0-ap0) entered forwarding state
[   25.417845] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   26.945856] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   26.945934] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[   26.981433] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   26.982384] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   27.261970] ath10k_ahb a800000.wifi: rts threshold -1
[   27.262200] ath10k_ahb a800000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   27.268899] br-lan: port 6(phy1-ap0) entered blocking state
[   27.276974] br-lan: port 6(phy1-ap0) entered disabled state
[   27.282929] device phy1-ap0 entered promiscuous mode
[   27.289880] device phy1-ap0 left promiscuous mode
[   27.293352] br-lan: port 6(phy1-ap0) entered disabled state
[   27.350961] br-lan: port 6(phy1-ap0) entered blocking state
[   27.351047] br-lan: port 6(phy1-ap0) entered disabled state
[   27.355806] device phy1-ap0 entered promiscuous mode
[   27.929015] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
[   27.929321] br-lan: port 6(phy1-ap0) entered blocking state
[   27.934472] br-lan: port 6(phy1-ap0) entered forwarding state
[  412.158701] qca8k-ipq4019 c000000.switch lan1: Link is Up - 1Gbps/Full - flow control off
[  412.158801] br-lan: port 1(lan1) entered blocking state
[  412.165886] br-lan: port 1(lan1) entered forwarding state
[  487.347554] ath10k_ahb a000000.wifi: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
[  525.817555] ath10k_ahb a000000.wifi: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
root@OpenWrt:~# ubus call dsl metrics
{
	"api_version": "4.23.1",
	"firmware_version": "8.13.1.5.0.7",
	"chipset": "Lantiq-VRX500",
	"driver_version": "1.11.1",
	"state": "Silent",
	"state_num": 3,
	"up": false,
	"uptime": 0,
	"atu_c": {
		
	},
	"power_state": "L3 - No power",
	"power_state_num": 3,
	"upstream": {
		
	},
	"downstream": {
		
	},
	"olr": {
		"downstream": {
			"bitswap": {
				"requested": 0,
				"executed": 0,
				"rejected": 0,
				"timeout": 0
			},
			"sra": {
				"requested": 0,
				"executed": 0,
				"rejected": 0,
				"timeout": 0
			},
			"sos": {
				"requested": 0,
				"executed": 0,
				"rejected": 0,
				"timeout": 0
			}
		},
		"upstream": {
			"bitswap": {
				"requested": 0,
				"executed": 0,
				"rejected": 0,
				"timeout": 0
			},
			"sra": {
				"requested": 0,
				"executed": 0,
				"rejected": 0,
				"timeout": 0
			},
			"sos": {
				"requested": 0,
				"executed": 0,
				"rejected": 0,
				"timeout": 0
			}
		}
	},
	"errors": {
		"near": {
			"es": 0,
			"ses": 0,
			"loss": 0,
			"uas": 1062,
			"lofs": 0,
			"fecs": 0,
			"cv_c": 0,
			"fec_c": 0,
			"hec": 0,
			"ibe": 0,
			"crc_p": 0,
			"crcp_p": 0,
			"cv_p": 0,
			"cvp_p": 0
		},
		"far": {
			"es": 0,
			"ses": 0,
			"loss": 0,
			"uas": 1061,
			"lofs": 0,
			"fecs": 0,
			"cv_c": 0,
			"fec_c": 0,
			"hec": 0,
			"ibe": 0,
			"crc_p": 0,
			"crcp_p": 0,
			"cv_p": 0,
			"cvp_p": 0
		}
	}
}

Connected it to the BT until DSL is sorted out, but the Fritz!Box can't access the internet, so can't install anything:

root@OpenWrt:~# ping gnu.org
ping: bad address 'gnu.org'

This looks good. Your device is not affected by the issue mentioned by @moeller0. So your modem should actually be able to transmit data, if you can get it to establish a connection.

Maybe something is wrong with the DSL configuration, or the DSL firmware is not compatible with your line. You could try different firmware versions from here: https://xdarklight.github.io/lantiq-xdsl-firmware-info/#VRX500

Note that the driver is buggy, and might not apply configuration/firmware changes properly. The easiest way to fix this is to reboot the device.

If you want to connect the device to another modem, you need to change the configuration of the WAN interface, so it uses one of the LAN ports instead of dsl0. But all necessary information for diagnosing the DSL connection is also available from the command line. So it is not really necessary to install the package for now (it just offers a nicer interface).

You seem to be missing some stuff from the kernel log.

After reading above clearly it shows the firmware is loading so the rest of this post is probably useless, but doesn't hurt to check I guess.

Maybe ssh into the modem and check what is in /lib/firmware:

ls -ralt /lib/firmware
ls -ralt /lib/firmware/09a9/

and also to check that the dsl process is running with the firmware loaded:

ps | grep dsl

you should see something like:

/sbin/vdsl_cpe_control -i00_00_00_00_00_00_00_07 -n /sbin/dsl_notify.sh -f /lib/firmware/vdsl.bin -M2 -T2:0x1:0

lsmod | grep vrx

atm                    36864  4 clip,pppoatm,br2684,vrx518_tc
vrx518                 20480  2 drv_mei_cpe,vrx518_tc
vrx518_tc             139264  1 drv_mei_cpe

I don't suppose it could be somehting simple like the phone cable not working or being plugged into the wrong port heh.

root@OpenWrt:~# ls -ralt /lib/firmware
-rw-r--r--    1 root     root          5424 Sep 23 12:34 regulatory.db
drwxr-xr-x    1 root     root           232 Sep 23 12:34 ..
drwxr-xr-x    1 root     root           336 Sep 23 12:34 ath10k
-rw-r--r--    1 root     root       1005436 Sep 23 12:45 xcpe_8D1507_8D0901.bin
-rw-r--r--    1 root     root         64880 Sep 23 12:45 ppe_fw.bin
drwxr-xr-x    2 root     root           232 Sep 23 12:45 09a9
lrwxrwxrwx    1 root     root            22 Sep 23 12:45 vdsl.bin -> xcpe_8D1507_8D0901.bin
drwxr-xr-x    1 root     root           512 Sep 23 12:45 .
root@OpenWrt:~#  ls -ralt /lib/firmware/09a9/
-rw-r--r--    1 root     root          2720 Sep 23 12:45 aca_fw.bin
drwxr-xr-x    2 root     root           232 Sep 23 12:45 .
drwxr-xr-x    1 root     root           512 Sep 23 12:45 ..
root@OpenWrt:~# ps | grep dsl
 1771 root      1444 S    /sbin/vdsl_cpe_control -i10_00_10_40_00_04_01_07 -n /sbin/dsl_noti
 2560 root      1096 S    grep dsl
root@OpenWrt:~# lsmod | grep vrx
atm                    40960  3 clip,br2684,vrx518_tc
vrx518                 20480  2 drv_mei_cpe,vrx518_tc
vrx518_tc             151552  1 drv_mei_cpe

I get the same result whether I plug in the DSL or not.

Btw, DSL comes like this for me:





So one of these (called a microfilter apparently) is plugged into the wall, and I connect the modem to the microfilter.

You are using the RJ11 Jack, just to be sure...?
And you are using the same socket/rj11 jack for the modem that does work on your line?

This is the cable that connects the ADSL microfilter to the BT Smart Hub 2:


The one that comes with the Fritz!Box is different because it has one bigger end which fits into the Fritz!Box itself and the other small end which fits into the microfilter (the ends of the BT cable are both small and wont fit in the Fritz!Box's DSL port)

Anyway, I've tried disconnecting the BT from the ADSL microfilter and connecting the Fritz!Box in its place - got nothing.

The kernel log looks normal for a modem that has not yet established a DSL connection.

Do you think looking at different firmware versions would be necessary then?

I have no idea what's wrong, as far as troubleshooting goes you could rule out that the modem is broken by reverting back to factory firmware (though I think there's extra steps to do that with a zen device) and testing if you can get sync with it.
If you can get sync with the factory firmware then the modem is ok and maybe there's a problem with how you rolled the firmware or as you say some kind of problem with the firmware file(s). If you're desperate you could try firmware I made I know that definitely works because i'm using it now, at least with Australian NBN FTTN.