[SOLVED] Difficulty discovering modem settings

Hi. I'm struggling to set up an openWRT modem after moving house, despite previously having had the same modem working with the same ISP in a previous house. The ISP-provided modem/router works fine, it's just my openWRT modem that I can't seem to configure correctly. I haven't been able to obtain any clues by looking at the configuration of the ISP-provided modem/router.

My first guess is that I've not specified the correct modem device? I've tried a few plausible-looking possibilities (by SSHing into the modem and picking from the output of # ls /dev) but perhaps I've guessed wrong and really the device I need to specify as the modem device is something else?

My second guess is that I'm actually using the wrong protocol, or possibly with the wrong physical settings; I remember that last time I had this modem working, the protocol was PPPoATM rather than PPP - I've experimented with this, but without success and really I'm not sure what settings ought to accompany it, since the settings spec. from my ISP only states "PPP".

I'm not really sure where to go from here - I would appreciate any help or advice you can give me. I've taken screenshots of every relevant setting and component (and uploaded them to Imgur here, since new users can only embed one image in posts) but if there's any further information I ought to provide, please let me know and I'd be glad to.

Many thanks in advance!

Post the kernel log of the openwrt device.

root@perpereshka:~# dmesg
[    0.000000] Linux version 4.9.152 (buildbot@7befac494a11) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7676-cddd7b4c77) ) #0 SMP Wed Jan 30 12:21:02 2019
[    0.000000] SoC: xRX200 rev 1.2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is Netgear DM200
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8054a8e0, node_mem_map 81007d80
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] percpu: Embedded 12 pages/cpu @8108a000 s17488 r8192 d23472 u49152
[    0.000000] pcpu-alloc: s17488 r8192 d23472 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00048800
[    0.000000] Readback ErrCtl register=00048800
[    0.000000] Memory: 57908K/65536K available (4333K kernel code, 178K rwdata, 900K rodata, 1228K init, 228K bss, 7628K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] Setting up vectored interrupts
[    0.000000] Setting up IPI vectored interrupts
[    0.000000] CPU Clock: 500MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[    0.000012] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[    0.007883] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.042398] pid_max: default: 32768 minimum: 301
[    0.047285] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053814] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.065852] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.065865] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.066064] CPU1 revision is: 00019556 (MIPS 34Kc)
[    0.116537] Synchronize counters for CPU 1: 
[    0.116539] done.
[    0.123050] Brought up 2 CPUs
[    0.130107] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.139764] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.146015] pinctrl core: initialized pinctrl subsystem
[    0.152577] NET: Registered protocol family 16
[    0.165938] pinctrl-xway 1e100b10.pinmux: Init done
[    0.171983] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.283930] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.289734] Can't analyze schedule() prologue at 8043847c
[    0.338832] usbcore: registered new interface driver usbfs
[    0.344484] usbcore: registered new interface driver hub
[    0.349977] usbcore: registered new device driver usb
[    0.358597] clocksource: Switched to clocksource MIPS
[    0.366139] NET: Registered protocol family 2
[    0.371724] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.378626] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.385053] TCP: Hash tables configured (established 1024 bind 1024)
[    0.391557] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.397402] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.403979] NET: Registered protocol family 1
[    0.408326] PCI: CLS 0 bytes, default 32
[    0.409104] gptu: totally 6 16-bit timers/counters
[    0.413988] gptu: misc_register on minor 63
[    0.418196] gptu: succeeded to request irq 126
[    0.422646] gptu: succeeded to request irq 127
[    0.427124] gptu: succeeded to request irq 128
[    0.431666] gptu: succeeded to request irq 129
[    0.436151] gptu: succeeded to request irq 130
[    0.440685] gptu: succeeded to request irq 131
[    0.445547] phy-xrx200 gphy-xrx200: requesting lantiq/xrx200_phy22f_a22.bin
[    0.453091] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 3A60000
[    0.522494] random: fast init done
[    0.561222] No VPEs reserved for AP/SP, not initialize VPE loader
[    0.561222] Pass maxvpes=<n> argument as kernel argument
[    0.572590] No TCs reserved for AP/SP, not initializing RTLX.
[    0.572590] Pass maxtcs=<n> argument as kernel argument
[    0.585365] Crashlog allocated RAM at address 0x3f00000
[    0.591281] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.613999] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.619743] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.635725] io scheduler noop registered
[    0.639553] io scheduler deadline registered (default)
[    0.645773] gpio-export gpio_export: 2 gpio(s) exported
[    0.651681] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.660605] console [ttyLTQ0] enabled
[    0.667940] bootconsole [early0] disabled
[    0.679449] spi-lantiq-ssc 1e100800.spi: Lantiq SSC SPI controller (Rev 8, TXFS 8, RXFS 8, DMA 1)
[    0.700342] m25p80 spi32766.4: s25fl064k (8192 Kbytes)
[    0.704176] 8 fixed-partitions partitions found on MTD device spi32766.4
[    0.710783] Creating 8 MTD partitions on "spi32766.4":
[    0.715902] 0x000000000000-0x000000020000 : "uboot"
[    0.723136] 0x000000020000-0x000000030000 : "gphyfirmware"
[    0.729466] 0x000000030000-0x0000007e0000 : "firmware"
[    0.786757] 2 uimage-fw partitions found on MTD device firmware
[    0.791298] 0x000000030000-0x0000001f0000 : "kernel"
[    0.798359] 0x0000001f0000-0x0000007e0000 : "rootfs"
[    0.804260] mtd: device 4 (rootfs) set to be root filesystem
[    0.808801] 1 squashfs-split partitions found on MTD device rootfs
[    0.814730] 0x000000470000-0x0000007e0000 : "rootfs_data"
[    0.822393] 0x0000007e0000-0x0000007f0000 : "sysconfig"
[    0.828797] 0x0000007f0000-0x0000007f2000 : "ubootconfig"
[    0.835218] 0x0000007f2000-0x0000007f3000 : "ART"
[    0.840855] 0x0000007f3000-0x0000007f4000 : "pot"
[    0.846581] 0x0000007f4000-0x000000800000 : "ret"
[    0.855666] libphy: Fixed MDIO Bus: probed
[    0.963492] libphy: lantiq,xrx200-mdio: probed
[    0.967669] net-xrx200: invalid MAC, using random
[    1.043113] Intel XWAY PHY22F (xRX v1.2 integrated) 0:13: attached PHY driver [Intel XWAY PHY22F (xRX v1.2 integrated)] (mii_bus:phy_addr=0:13, irq=-1)
[    1.159057] ltq-cputemp cputemp@0: Current CPU die temperature: 52.5 °C
[    1.164735] wdt 1f8803f0.watchdog: Init done
[    1.173739] NET: Registered protocol family 10
[    1.178878] NET: Registered protocol family 17
[    1.181937] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
root@perpereshka:~# dmesg
[    0.000000] Linux version 4.9.152 (buildbot@7befac494a11) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7676-cddd7b4c77) ) #0 SMP Wed Jan 30 12:21:02 2019
[    0.000000] SoC: xRX200 rev 1.2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is Netgear DM200
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8054a8e0, node_mem_map 81007d80
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] percpu: Embedded 12 pages/cpu @8108a000 s17488 r8192 d23472 u49152
[    0.000000] pcpu-alloc: s17488 r8192 d23472 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00048800
[    0.000000] Readback ErrCtl register=00048800
[    0.000000] Memory: 57908K/65536K available (4333K kernel code, 178K rwdata, 900K rodata, 1228K init, 228K bss, 7628K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] Setting up vectored interrupts
[    0.000000] Setting up IPI vectored interrupts
[    0.000000] CPU Clock: 500MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[    0.000012] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[    0.007883] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.042398] pid_max: default: 32768 minimum: 301
[    0.047285] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053814] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.065852] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.065865] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.066064] CPU1 revision is: 00019556 (MIPS 34Kc)
[    0.116537] Synchronize counters for CPU 1: 
[    0.116539] done.
[    0.123050] Brought up 2 CPUs
[    0.130107] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.139764] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.146015] pinctrl core: initialized pinctrl subsystem
[    0.152577] NET: Registered protocol family 16
[    0.165938] pinctrl-xway 1e100b10.pinmux: Init done
[    0.171983] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.283930] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.289734] Can't analyze schedule() prologue at 8043847c
[    0.338832] usbcore: registered new interface driver usbfs
[    0.344484] usbcore: registered new interface driver hub
[    0.349977] usbcore: registered new device driver usb
[    0.358597] clocksource: Switched to clocksource MIPS
[    0.366139] NET: Registered protocol family 2
[    0.371724] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.378626] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.385053] TCP: Hash tables configured (established 1024 bind 1024)
[    0.391557] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.397402] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.403979] NET: Registered protocol family 1
[    0.408326] PCI: CLS 0 bytes, default 32
[    0.409104] gptu: totally 6 16-bit timers/counters
[    0.413988] gptu: misc_register on minor 63
[    0.418196] gptu: succeeded to request irq 126
[    0.422646] gptu: succeeded to request irq 127
[    0.427124] gptu: succeeded to request irq 128
[    0.431666] gptu: succeeded to request irq 129
[    0.436151] gptu: succeeded to request irq 130
[    0.440685] gptu: succeeded to request irq 131
[    0.445547] phy-xrx200 gphy-xrx200: requesting lantiq/xrx200_phy22f_a22.bin
[    0.453091] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 3A60000
[    0.522494] random: fast init done
[    0.561222] No VPEs reserved for AP/SP, not initialize VPE loader
[    0.561222] Pass maxvpes=<n> argument as kernel argument
[    0.572590] No TCs reserved for AP/SP, not initializing RTLX.
[    0.572590] Pass maxtcs=<n> argument as kernel argument
[    0.585365] Crashlog allocated RAM at address 0x3f00000
[    0.591281] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.613999] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.619743] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.635725] io scheduler noop registered
[    0.639553] io scheduler deadline registered (default)
[    0.645773] gpio-export gpio_export: 2 gpio(s) exported
[    0.651681] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.660605] console [ttyLTQ0] enabled
[    0.667940] bootconsole [early0] disabled
[    0.679449] spi-lantiq-ssc 1e100800.spi: Lantiq SSC SPI controller (Rev 8, TXFS 8, RXFS 8, DMA 1)
[    0.700342] m25p80 spi32766.4: s25fl064k (8192 Kbytes)
[    0.704176] 8 fixed-partitions partitions found on MTD device spi32766.4
[    0.710783] Creating 8 MTD partitions on "spi32766.4":
[    0.715902] 0x000000000000-0x000000020000 : "uboot"
[    0.723136] 0x000000020000-0x000000030000 : "gphyfirmware"
[    0.729466] 0x000000030000-0x0000007e0000 : "firmware"
[    0.786757] 2 uimage-fw partitions found on MTD device firmware
[    0.791298] 0x000000030000-0x0000001f0000 : "kernel"
[    0.798359] 0x0000001f0000-0x0000007e0000 : "rootfs"
[    0.804260] mtd: device 4 (rootfs) set to be root filesystem
[    0.808801] 1 squashfs-split partitions found on MTD device rootfs
[    0.814730] 0x000000470000-0x0000007e0000 : "rootfs_data"
[    0.822393] 0x0000007e0000-0x0000007f0000 : "sysconfig"
[    0.828797] 0x0000007f0000-0x0000007f2000 : "ubootconfig"
[    0.835218] 0x0000007f2000-0x0000007f3000 : "ART"
[    0.840855] 0x0000007f3000-0x0000007f4000 : "pot"
[    0.846581] 0x0000007f4000-0x000000800000 : "ret"
[    0.855666] libphy: Fixed MDIO Bus: probed
[    0.963492] libphy: lantiq,xrx200-mdio: probed
[    0.967669] net-xrx200: invalid MAC, using random
[    1.043113] Intel XWAY PHY22F (xRX v1.2 integrated) 0:13: attached PHY driver [Intel XWAY PHY22F (xRX v1.2 integrated)] (mii_bus:phy_addr=0:13, irq=-1)
[    1.159057] ltq-cputemp cputemp@0: Current CPU die temperature: 52.5 °C
[    1.164735] wdt 1f8803f0.watchdog: Init done
[    1.173739] NET: Registered protocol family 10
[    1.178878] NET: Registered protocol family 17
[    1.181937] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.194906] 8021q: 802.1Q VLAN Support v1.8
[    1.215369] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.225267] Freeing unused kernel memory: 1228K
[    1.228407] This architecture does not have kernel memory protection.
[    1.782564] random: crng init done
[    2.362938] init: Console is alive
[    2.365217] init: - watchdog -
[    3.103690] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.307551] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.317598] init: - preinit -
[    4.724280] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.087139] jffs2: notice: (436) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.108053] mount_root: switching to jffs2 overlay
[    8.168351] urandom-seed: Seeding with /etc/urandom.seed
[    8.402872] procd: - early -
[    8.404489] procd: - watchdog -
[    9.089799] procd: - watchdog -
[    9.092119] procd: - ubus -
[    9.278771] procd: - init -
[    9.825083] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.833784] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[    9.843811] NET: Registered protocol family 8
[    9.846859] NET: Registered protocol family 20
[    9.857478] PPP generic driver version 2.4.2
[    9.867292] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.891732] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
[    9.909685] 
[    9.909685] 
[    9.909685] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[    9.917401] 
[    9.917401] Predefined debug level: 3
[    9.929753] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.938739] Infineon Technologies DEU driver version 2.0.0 
[    9.944885] IFX DEU DES initialized (multiblock).
[    9.949749] IFX DEU AES initialized (multiblock).
[    9.953757] IFX DEU ARC4 initialized (multiblock).
[    9.958207] IFX DEU SHA1 initialized.
[    9.961907] IFX DEU MD5 initialized.
[    9.965429] IFX DEU SHA1_HMAC initialized.
[    9.969517] IFX DEU MD5_HMAC initialized.
[    9.980951] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   10.029246] NET: Registered protocol family 24
[   10.049670] xt_time: kernel timezone is -0000
[   10.061778] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.503366] lantiq,xrx200-net 1e108000.eth eth0: port 4 got link
[   19.510058] br-lan: port 1(eth0) entered blocking state
[   19.513967] br-lan: port 1(eth0) entered disabled state
[   19.519877] device eth0 entered promiscuous mode
[   19.541604] br-lan: port 1(eth0) entered blocking state
[   19.545474] br-lan: port 1(eth0) entered forwarding state
[   19.551229] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   20.466665] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

I'm guessing from the images you posted that you're based in the UK? Which ISP are you with?

The guide at Dropbox – HH5A – Simplify your life, while written for the BT Home Hub 5a, has details for connecting to popular UK ISPs which should be relevant to your setup.

2 Likes

Many thanks indeed - that's worked!

For anybody else finding this thread in future, I was trying to set up an ADSL connection (which I had at my old home) but my new home is a VDSL, fibre-to-the-cabinet, copper-to-the-property installation. I (mostly to experiment) plugged in the VDSL FTTC settings for my ISP (Plusnet; section 9.5 (and a little bit of 7.5) from @krazeh's HH5A guide), rebooted the modem, and that got me a connection.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.