cancel
Showing results for 
Search instead for 
Did you mean: 

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

starfry
Rising Star
Posts: 303
Thanks: 24
Fixes: 2
Registered: ‎14-09-2007

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

@Krazeh, @bill888 well I just did a sysupgrade via ssh to go from snapshot to stable, just wanted to report that it appears to have worked fine:

root@gateway:/# sysupgrade -n http://10.0.200.1:8000/lede-17.01.2-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin

I'll have a proper play later, but it looks good.

starfry
Rising Star
Posts: 303
Thanks: 24
Fixes: 2
Registered: ‎14-09-2007

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

@RRM that size seems ok. I have done two and they are 133693440 and 134086656 bytes, so not exactly the same. I have used one of those to do a factory restore so I believe they're good at that size.

 

I appreciate what you say about it being a bit of a mis-mash. That's the trouble with the internet and time mixing together.

But what I can say is that the information in my post #242 was accurate when I wrote it about 3 weeks ago Smiley

 

I have done two of these successfully now, and am in the middle of re-flashing the first one. But I don't use Windows.

 

FWIW, I think the message you got can be ignored; it's just a kernel message about your network link coming up.

 

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

Thanks.

I've done another pen drive now, it's just completed, the file size is exactly the same. 130560Kb.

Now on to the next stage!

 

 

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

Hi all,

another question.

I've followed the remainder of the instructions and got the LEDE logo appear after a reboot.

I've changed the password as advised.

I have connected my laptop to the hub and set the network adaptor back to DHCP and it obtains an IP address 192.168.1.175 from the homehub, I can ping the hub which I believe is on 192.168.1.1 but how do I configure the rest of it? I thought I would be able to go to the web address http://192.168.1.1 and be able to configure the rest via a GUI!

What am I missing?

Thanks

R

 

 

 

 

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

According to the LEDE logo I have

Reboot(SNAPSHOT, r4902-3fbf3ab)

Don't know if that helps.

starfry
Rising Star
Posts: 303
Thanks: 24
Fixes: 2
Registered: ‎14-09-2007

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

Hi @RRM. You installed a snapshot. It doesn't include LuCI. Install that with

$ opkg update
$ opkg install luci

Again from memory, see earlier posts for confirmation of that last command.

Had you installed a stable firmware rather than a snapshot, LuCI would have been included. I have just done "upgraded" a hub today from a snapshot to stable. See a few posts back.

 

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

Hi Sorry,

Totally lost.

I've tried the sysupgrade command from a SSH command, but it keeps telling me it can't find the file?

I can't figure out how to get it to load the file from my laptop c:\filepath\filepath.

I've even copied the file to a USB drive, inserted that. I see it detect it but don't know how to point to that for the sysupgrade command either.

Any help really appreciated.

Thanks in advance

 

 

 

 

starfry
Rising Star
Posts: 303
Thanks: 24
Fixes: 2
Registered: ‎14-09-2007

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

It wants a local file (i.e. on the router) or a URL. If you saw my example above, I ran a webserver on my computer hence the local IP URL that I used. What would probably be easier for you is this (assuming the hub can "ping google.com" i.e see the internet and have a working DNS):

$ sysupgrade https://downloads.lede-project.org/releases/17.01.2/targets/lantiq/xrx200/lede-17.01.2-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin

If you want to wipe any existing config changes, use "sysupgrade -n ..." otherwise it should preserve any settings you've made.

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

Hi Starfry,

 

Thank you so much for your response.

The hub is not connected to the internet!

I have the plusnet hub connected to my laptop via Ethernet, the laptop can connect to the internet via it's wireless card which I have currently turned off (ip address range conflict)

I also have the plusnet hub connected via serial to my PC which I am using to research how to solve this problem!

I'll see if I can install IIS on my laptop and try that.

Thanks

R

starfry
Rising Star
Posts: 303
Thanks: 24
Fixes: 2
Registered: ‎14-09-2007

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

Here's a couple of other options for you...

1. copy the file to the router. You're on Windows so I preume you're using PuTTY. Use "pscp" to copy the file to the router:

C:> pscp firmware_file root@192.168.1.1

(substitute "firmware_file".) This will copy the file to the login directory when you ssh to the hub. You should then be able to do (caveat: I have not tried this method myself)

$ sysupgrade firmware_file 

Or, if you have Python on your Windows computer, you could try this quick and dirty webserver (from the directory containing "firmware_file"):

C:> python -m SimpleHTTPServer

(it's just "http.server" if it's Python 3). It serves at "http://your-computer-ip-address:8000/firmware_file". That is how I did it.

 

The other thing you can do is set the hub up with network access by editing /etc/config/network to configure an IP and your current router as its gateway and DNS. Probably beyond what you want to do, but just in case... use "vi" to edit the file (if you know how to use vi that is!) and then do "$ /etc/init.d/network reload" to load your changes.

But options 1 or 2 or IIS are probably best for you Smiley

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

Hi Starfry,

Thanks again for the response.

The plusnet hub is running dhcp so gave my laptop an IP address of 192.168.1.175

I setup IIS and stored the file in a subdirectory under IIS (c:\inetpub\wwwroot\lede).

 

I allowed full permissions to the folder and made it visible via IIS Manager. Tested locally so I could see it, but once again windows firewall stopped the file being available to the plusnet hub. I corrected the settings in windows firewall and I think I have now successfully loaded LEDE 17.01.2.

The terminal shows... Reboot (17.01.2, r3435-65eec8bd5f)

However it is not asking me to change password? I did put the -n on the end of the command.

Thanks all.

R

 

starfry
Rising Star
Posts: 303
Thanks: 24
Fixes: 2
Registered: ‎14-09-2007

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

That's good. I'm running the same build. You can set the root password with

$ passwd

at the prompt when logged in over SSH. To use the web interface, point your browser at "http://192.168.1.1" and you should be good to go... Glad you got it installed Smiley

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

Hello again all,

strange behaviour.

When I reboot the router, I get the green light and it stays green. Connecting the serial port up in this state shows that the router has stopped at the VR9 prompt.

When I connect the Serial port and watch the boot it loads all the way and the light goes green to flashing green to blue.

Why will it not load without the serial port connected?

 

RRM
Rising Star
Posts: 115
Thanks: 23
Registered: ‎25-02-2013

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

Sorted, removed the wires to my usb serial connector and now it seems to boot ok.

Now I need to figure out how to configure the router using Luci.
starfry
Rising Star
Posts: 303
Thanks: 24
Fixes: 2
Registered: ‎14-09-2007

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

Has anyone tried installing SQM (smart queue management / bufferbloat) on their LEDE-powered HomeHub?

I've just done it this morning and noticed a slight drop in download/upload speed on the DSLReports speed test but my buffer bloat score has improved from a F to a B.

I first read about buffer bloat the used DSLReports speed test with their recommended configuration. I then followed the LEDE instructions to configure sqm on my router.

I don't really understand the configuration parameters and wondered if anyone had any insight...