cancel
Showing results for 
Search instead for 
Did you mean: 

Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Highlighted
Dabbler
Posts: 13
Thanks: 1
Registered: ‎24-10-2016

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Hi. Once lede is flashed to the router, how do you use the USB drive as networked storage?

Highlighted
Grafter
Posts: 27
Thanks: 3
Registered: ‎26-10-2016

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

A warning to those planning to install/upgrade OpenWRT today: today's build does not contain kmod-ath package, so there's no wifi on the router once installed. The package disappeared from the repo as well.
Highlighted
Grafter
Posts: 27
Thanks: 3
Registered: ‎26-10-2016

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

On a good side: I came up with this LED config and I suggest you try it too:
In LuCi, go to System - LED configuration
Add a new section or edit the default one called "internet"
From the first dropdown, choose "bthomehubv5a:green:power"
Trigger: "netdev"
Device: "pppoe-wan"
Out of three checkboxes below, only leave the first one ticked.
Save&apply, and after a restart, once router's internet connection is established, the colour strip in the front will change colour from poisonous blue to lively turquoise. Much nicer colour IMO.
Highlighted
Dabbler
Posts: 10
Registered: ‎14-03-2017

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Hey guys,

I wonder if someone can help me. I followed the instructions and got the the sysupgrade command which I executed and it ran to completion. Then I powered it off and back on again and it seems to be stuck in a loop. Here's the serial output I'm getting.

 

Is it possible to fix this? I downloaded the latest release from here

https://downloads.lede-project.org/releases/17.01.0/targets/lantiq/xrx200/lede-17.01.0-r3205-59508e3...

 

ROM VER: 1.1.4
CFG 06
NAND
NAND Read OK

U-Boot SPL 2014.01-openwrt4-g9abc897-dirty (Jun 27 2015 - 18:14:58)
SPL: applying tuned DDR SDRAM settings
MEM: DDR Echo DLL delay: 26/28
MEM: DDR Write DQS delay: 65/65
MEM: DDR Read DQS delay: 1f/1f
SPL: loading U-Boot to RAM
SPL: checking U-Boot image
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2014.01-openwrt4-g9abc897-dirty (Jun 27 2015 - 18:14:58) BTHOMEHUBV5A

Board: BT Home Hub 5A
SoC: Lantiq VRX268 v1.2
CPU: 500 MHz
IO: 250 MHz
BUS: 250 MHz
BOOT: NAND
DRAM: 128 MiB
NAND: 128 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: ltq-eth
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0xa0000, size 0x200000
2097152 bytes read: OK
## Booting kernel from Legacy Image at 81000000 ...
Image Name: MIPS LEDE Linux-4.4.50
Created: 2017-02-20 17:13:44 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1638088 Bytes = 1.6 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
[ 0.000000] Linux version 4.4.50 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Mon Feb 20 17:13:44 2017
[ 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 BTHOMEHUBV5A - BT Home Hub 5A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=0007bef0
[ 0.000000] Readback ErrCtl register=0007bef0
[ 0.000000] Memory: 123408K/131072K available (3914K kernel code, 161K rwdata, 884K rodata, 1232K init, 213K bss, 7664K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] Setting up vectored interrupts
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000010] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[ 0.007854] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.042325] pid_max: default: 32768 minimum: 301
[ 0.047163] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.053731] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.066660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.076354] pinctrl core: initialized pinctrl subsystem
[ 0.082825] NET: Registered protocol family 16
[ 0.091664] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.097183] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.207102] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.221471] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 0.227087] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.232371] IO 0x000000001ae00000..0x000000001affffff
[ 0.355639] PCI host bridge /fpi@10000000/pcie@d900000 ranges:
[ 0.375210] usbcore: registered new interface driver usbfs
[ 0.380709] usbcore: registered new interface driver hub
[ 0.386057] usbcore: registered new device driver usb
[ 0.391446] PCI host bridge to bus 0000:00
[ 0.395432] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.402340] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 0.409285] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.416140] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.424669] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 0.431556] PCI host bridge to bus 0000:01
[ 0.435539] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[ 0.442451] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff]
[ 0.449396] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 0.456252] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.464315] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 0.482343] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[ 0.491109] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff]
[ 0.497782] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref]
[ 0.505052] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit]
[ 0.512451] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref]
[ 0.519715] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 0.524751] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c1fffff]
[ 0.531604] pci 0000:01:00.0: bridge window [mem 0x1c200000-0x1c2fffff pref]
[ 0.538974] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 0.545579] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 0.551924] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 0.558590] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 0.565788] clocksource: Switched to clocksource MIPS
[ 0.572022] NET: Registered protocol family 2
[ 0.577276] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.584165] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.590546] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.597048] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.602898] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.609458] NET: Registered protocol family 1
[ 0.620781] gptu: totally 6 16-bit timers/counters
[ 0.625612] gptu: misc_register on minor 63
[ 0.629715] gptu: succeeded to request irq 126
[ 0.634206] gptu: succeeded to request irq 127
[ 0.638717] gptu: succeeded to request irq 128
[ 0.643231] gptu: succeeded to request irq 129
[ 0.647751] gptu: succeeded to request irq 130
[ 0.652260] gptu: succeeded to request irq 131
[ 0.657081] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[ 0.664350] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7DA0000
[ 0.670686] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7DA0000
[ 0.777372] No VPEs reserved for AP/SP, not initialize VPE loader
[ 0.777372] Pass maxvpes=<n> argument as kernel argument
[ 0.788724] No TCs reserved for AP/SP, not initializing RTLX.
[ 0.788724] Pass maxtcs=<n> argument as kernel argument
[ 0.800523] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.806576] Crashlog allocated RAM at address 0x3f00000
[ 0.831666] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.837391] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.851066] io scheduler noop registered
[ 0.854878] io scheduler deadline registered (default)
[ 0.860725] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 0.869615] console [ttyLTQ0] enabled
[ 0.869615] console [ttyLTQ0] enabled
[ 0.876944] bootconsole [early0] disabled
[ 0.876944] bootconsole [early0] disabled
[ 0.888366] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.893264] nand: AMD/Spansion S34ML01G1
[ 0.897182] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.905283] Bad block table found at page 65472, version 0x01
[ 0.911166] Bad block table found at page 65408, version 0x01
[ 0.916473] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 0.922915] Creating 4 MTD partitions on "14000000.nand-parts":
[ 0.928812] 0x000000000000-0x0000000a0000 : "u-boot"
[ 0.935508] 0x0000000a0000-0x0000000c0000 : "uboot-env"
[ 0.941362] 0x0000000c0000-0x000000100000 : "unused"
[ 0.947013] 0x000000100000-0x000007f80000 : "ubi"
[ 1.055520] libphy: lantiq,xrx200-mdio: probed
[ 1.067262] net-xrx200: invalid MAC, using random
[ 1.134522] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[ 1.202494] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:01, irq=-1)
[ 1.270479] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 1.338478] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 1.346114] net-xrx200: invalid MAC, using random
[ 1.410505] eth1: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[ 1.517813] ltq-cputemp cputemp@0: Current CPU die temperature: 58.0 °C
[ 1.523374] wdt 1f8803f0.watchdog: Init done
[ 1.530785] NET: Registered protocol family 10
[ 1.540464] NET: Registered protocol family 17
[ 1.543615] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.556117] 8021q: 802.1Q VLAN Support v1.8
[ 1.564480] UBI error: no valid UBI magic found inside VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 1.574684] Please append a correct "root=" boot option; here are the available partitions:
[ 1.583030] 1f00 640 mtdblock0 (driver?)
[ 1.588051] 1f01 128 mtdblock1 (driver?)
[ 1.593099] 1f02 256 mtdblock2 (driver?)
[ 1.598165] 1f03 129536 mtdblock3 (driver?)
[ 1.603192] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.612994] Rebooting in 1 seconds..

Highlighted
All Star
Posts: 986
Thanks: 161
Fixes: 26
Registered: ‎18-10-2008

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Did you use the new TFTP LEDE install image?

 

The old OpenWRT 'openwrt-lantiq-xrx200-BTHOMEHUBV5A-install-uImage-initramfs' install image won't work with LEDE since post r2363 - 30 November 2016 releases.

 

If you did use the OpenWRT install image, then check out two PDF instructions in these two threads:

http://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=138

http://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=145

 

ie. restore BT firmware and start all over again, or try the 'migrate' script and then rerun sysupgrade.

 

 

Highlighted
Moderator
Moderator
Posts: 20,080
Thanks: 3,678
Fixes: 394
Registered: ‎06-04-2007

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Moderator's note by Mike (Mav)

Post released from Spam Filter and duplicate removed 

Forum Moderator and Customer
Courage is resistance to fear, mastery of fear, not absence of fear - Mark Twain
He who feared he would not succeed sat still

Highlighted
Dabbler
Posts: 10
Registered: ‎14-03-2017

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Thanks. I managed to install 17.01 using 

tftpboot 0x81000000 lede-lantiq-xrx200-BTHOMEHUBV5A-installimage.bin; bootm 0x81000000

prepare then installed 

lede-17.01.0-r3205-59508e3-lantiq-xrx200-BTHOMEHUBV5A-ubifs-sysupgrade.bin

 

However, I pressed the "Restart" button at the top and it seems to have gone into the kernel panic mode again. Then when I cancel it says VR9# instead of the homehub5#

 

I'm going to try and flash it again. I tried the "lede-17.01.0-r3205-59508e3-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin" but it didn't like it. Complained about something I can't quite remember.

Highlighted
Dabbler
Posts: 10
Registered: ‎14-03-2017

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Further to my last message. I think I've messed up my device trying to restore then re-install.

 

I can get as far as tftpboot but just after the console screen where it prompts to specify a command i.e. prepare, restore etc, I see the error below

[   69.635882] ubi0 error: vol_cdev_read: damaged volume, update marker is set

 

I proceeded with entering "prepare" and got this:

 

root@(none):/# prepare
[ 247.949274] device eth0.1 entered promiscuous mode
[ 247.954542] device eth0 entered promiscuous mode
[ 248.437329] br-lan: port 1(eth0.1) entered forwarding state
[ 248.445545] br-lan: port 1(eth0.1) entered forwarding state
[ 250.447777] br-lan: port 1(eth0.1) entered forwarding state

This script will erase parts of the Nand flash memory on this Hub, and then
prepare it for running Sysupgrade.


WARNING: DO NOT CONTINUE unless you have saved a backup of the original firmware
to your COMPUTER or other storage device!


DO NOT POWER OFF THE DEVICE DURING THIS PROCEDURE.


Please enter YESIHAVEABACKUP to continue:

 

I entered the above then got the following:

YESIHAVEABACKUP

Starting installation...

Please select you device:

a) BT Home Hub 5 Type A
b) Plusnet Hub One

a

WRITING custom uboot-env to unlock u-boot console and update bootcmd...
Erasing 128 Kibyte @ 0 -- 100 % complete
Writing data to block 0 at offset 0x0

REMOVING ubi volume OpenRG...
ubirmvol: error!: cannot find UBI volume "OpenRG"
error 2 (No such file or directory)

REMOVING ubi volume FFS...
ubirmvol: error!: cannot find UBI volume "FFS"
error 2 (No such file or directory)


Preparation completed!

Your attached USB media is mounted as a subdirectory at /tmp/mounts/

To install LEDE, run:

sysupgrade /tmp/mounts/<directory>/lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin

Sysupgrade will automatically restart your device when it has finished.
If the UART prompt appears, power-cycle your device!
The hub should now boot up using LEDE.

 

I ignored the errors and entered

sysupgrade lede-17.01.0-r3205-59508e3-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin

 

Then got this:

Cannot save config while running from ramdisk.
killall: watchdog: no process killed
Watchdog handover: fd=3
- watchdog -
Nand upgrade failed

Highlighted
All Star
Posts: 986
Thanks: 161
Fixes: 26
Registered: ‎18-10-2008

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

You have to restore BT firmware and start all over again, to be able to use the 'prepare' script again.

 

 

Highlighted
Grafter
Posts: 27
Thanks: 3
Registered: ‎26-10-2016

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

When I was in a similar situation to yours, and with no backup, I managed to re-vive the device by flashing it with an older OpenWRT build (non-lede) - after which I could use the "migrate" command of a new script.
Your logs are different though, they suggest you might have wrecked your NAND storage and that's why no script succeeds in writing to it.
Do you live in Glasgow by any chance? Wink
Highlighted
Dabbler
Posts: 10
Registered: ‎14-03-2017

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

No. I live in London 🙂

Somehow, God knows how, I managed to get the darn thing to fully run a sysupgrade and managed to get into luci only to see that there's no wifi interface under network Cry

 

Here's the serial output (note the ath10k errors):

Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[ 7.833875]
[ 7.833875] Predefined debug level: 3
[ 7.844832] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[ 7.851027] Backport generated by backports.git backports-20160324-9-g0e38f5c
[ 8.153319] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 8.157663] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[ 8.163461] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 8.359707] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 8.369030] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 8.492749] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[ 8.500821] ath10k_pci 0000:02:00.0: firmware, attempted to load /lib/firmware/ath10k/cal-pci-0000:02:00.0.bin, but failed with error -22
[ 8.512696] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -22
[ 8.523100] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 8.671210] firmware ath10k!cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[ 8.780448] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 8.788322] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 8.803692] ath10k_pci 0000:02:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[ 8.853047] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 8.862102] ath10k_pci 0000:02:00.0: Falling back to user helper
[ 8.980305] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 8.988677] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 9.104664] ath10k_pci 0000:02:00.0: otp calibration failed: 2
[ 9.109094] ath10k_pci 0000:02:00.0: failed to run otp: -22
[ 9.114664] ath10k_pci 0000:02:00.0: could not init core (-22)
[ 9.120594] ath10k_pci 0000:02:00.0: could not probe fw (-22)
[ 9.275509] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.286861] Infineon Technologies DEU driver version 2.0.0
[ 9.292930] IFX DEU DES initialized (multiblock).
[ 9.297189] IFX DEU AES initialized (multiblock).
[ 9.301336] IFX DEU ARC4 initialized (multiblock).
[ 9.305992] IFX DEU SHA1 initialized.
[ 9.309491] IFX DEU MD5 initialized.
[ 9.313192] IFX DEU SHA1_HMAC initialized.
[ 9.317225] IFX DEU MD5_HMAC initialized.
[ 9.341576] nf_conntrack version 0.5.0 (1947 buckets, 7788 max)
[ 9.365752] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 9.371117] owl-loader 0000:00:0e.0: firmware, attempted to load /lib/firmware/ath9k-eeprom-pci-0000:00:0e.0.bin, but failed with error -22
[ 9.382619] owl-loader 0000:00:0e.0: Direct firmware load for ath9k-eeprom-pci-0000:00:0e.0.bin failed with error -22
[ 9.393195] owl-loader 0000:00:0e.0: Falling back to user helper
[ 9.410873] NET: Registered protocol family 24
[ 9.448942] xt_time: kernel timezone is -0000
[ 9.466349] firmware ath9k-eeprom-pci-0000:00:0e.0.bin: firmware_loading_store: map pages failed
[ 9.473988] owl-loader 0000:00:0e.0: no eeprom data received.
[ 10.868736] random: jshn: uninitialized urandom read (4 bytes read, 45 bits of entropy available)
[ 13.794992] PTM 1.0.27 PTM (E1) firmware version 0.30
[ 13.798915] ifxmips_ptm: PTM init succeed
[ 18.088848] device eth0.1 entered promiscuous mode
[ 18.092268] device eth0 entered promiscuous mode
[ 18.111578] br-lan: port 1(eth0.1) entered forwarding state
[ 18.115829] br-lan: port 1(eth0.1) entered forwarding state
[ 18.181956] IPv6: ADDRCONF(NETDEV_UP): ptm0: link is not ready
[ 20.117775] br-lan: port 1(eth0.1) entered forwarding state
[ 31.569817] random: nonblocking pool is initialized

 

What older version of OpenWRT did you install? Perhaps I could try that method.

Highlighted
All Star
Posts: 986
Thanks: 161
Fixes: 26
Registered: ‎18-10-2008

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Correct me if I'm wrong.

Did you originally use the OpenWRT procedure making use of the  'openwrt-lantiq-xrx200-BTHOMEHUBV5A-install-uImage-initramfs' install image to mistakenly install LEDE 17.01.0 from stock BT firmware?

Then you immediately used the LEDE installation image and tried to execute the 'prepare' script without restoring stock BT firmware as this would be one reason why the wifi is not working.

Alternatively, to convert from OpenWRT partition layout to LEDE/OEM partition layout, you can use the 'migrate' script.  You cannot use the 'prepare' script.  This may fix the missing wifi problem if the original OpenWRT partitions are still intact.  You will need to run sysupgrade again to install 17.01.0.

 

The only two shared versions of OpenWRT for HH5a can be found here:

http://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=138

 

If you made a full nand backup of the stock BT firmware, I suggest you start all over again.  Refer to the 'LEDE for HH5a' PDF guide.  Or this thread may be helpful to resturn to stock BT firmware:

http://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=142&start=10#p1395

 

 

 

Highlighted
Grafter
Posts: 29
Thanks: 1
Registered: ‎12-10-2016

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

I would recommend reverting to stock BT and then restarting from there. There is a NAND backup on this forum to help you incase you dont have your own backed up. Alternatively, I can post a copy of mine to help you.

Grafter
Posts: 27
Thanks: 3
Registered: ‎26-10-2016

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

Wi-Fi interface being down is quite common, you can see my own post about this same thing at the top of this page Smiley
So congratulations, you revived the box, take your UART stuff away, don't do anything over UART any more and have a good night sleep Wink tommorow, go download a nightly build of LEDE and sysupgrade to it over the one you got just now. This will, among other things, reinstall packages relating to ath10k firmware.
And make sure you setup your internet connection and get it to work before you do the sysupgrade. This is because nightly builds do not contain LuCi and you'll need to be online to download and install it. So set up your internet, and once it works, backup /etc/config/network file before you do the sysupgrade.
Highlighted
Dabbler
Posts: 10
Registered: ‎14-03-2017

Re: Running OpenWRT on the Plusnet Hub One (& BT Home Hub 5a)

 hello all. I'm now back to Lede with luci. I'm running version "LEDE Reboot 17.01.0 r3205-59508e3 / LuCI lede-17.01 branch (git-17.051.53299-a100738)". Is this the one with the wifi issue?

To get the router to access the internet, I've set its LAN subnet to 192.168.10.0/24 and set the WAN port to eth1 and set it as a DHCP client. The ideas is to access the router itself via the LAN switch (eth0) and give it access to the Internet via the WAN port. I added a new interface called "WAN_Port" and set it to use eth1. I realised that it was using eth1 in the WAN port by checking the kernel log. I also put it in the same zone as LAN for the firewall. However, for some reason it won't get an IP address. I can see log entries:

Mon Feb 20 18:39:10 2017 kern.info kernel: [ 1636.141765] br-WAN_Port: port 1(eth1) entered forwarding state
Mon Feb 20 18:39:12 2017 daemon.notice netifd: WAN_Port (5188): udhcpc: sending discover
Mon Feb 20 18:39:15 2017 daemon.notice netifd: WAN_Port (5188): udhcpc: sending discover

I also tried setting a static IP address but it won't receive any packets

RX: 0 B (0 Pkts.)
TX: 251.77 KB (741 Pkts.)

Any ideas? Also, which build should I download to fix the wifi issue?