Packages Won't Install or Update

bozeman1941

New Member
I just installed the custom firmware and web if a few days ago, and finally got around to looking at the 'PackageManagement' page. However, when I try to install some of the useful-looking packages, I get a '
!! ERROR - No network connectivity to package repository !!
Check your Internet connection and DNS service and then try again.' warning. My internet and network connections are working fine (I work from home) so I now the problem is not at this end. Is there a way to fix this.

btw I also have a FoxSAT HDR in the same room, on which I installed the custom firmware on the same day, and that is working fine, so I don't think I am doing anything wrong.
 

Wallace

Traveler 34122
You know your home Internet connection is OK, that's good. But do you know if your Humax connected to you network? Can you check the router and see? How is the Humax connected to the router, via powerline adaptor or direct cable? Check all connections are OK.
 
OP
B

bozeman1941

New Member
Hi,
Yeah; both the Humax's are on my network, and are accessible via the web if. On the FoxT2, everything else appears to be working fine, it's just the Package download/update facility that throws the error, which is very frustrating!
 

af123

Administrator
Staff member
To diagnose what's going on here, you need to get on to the Humax command line via telnet (see http://wiki.hummy.tv/wiki/Telnet )

Once you get to the telnet menu, choose the 'cli' option and then type this at the prompt:

Code:
tcpping hpkg.tv 80
and see what it says. Here's the output on mine:

Code:
humax# tcpping hpkg.tv 80
OK
 
OP
B

bozeman1941

New Member
Hi,

Mine says
'HDRFoxT2# tcpping hpkg.tv 80
CONNECT Network is unreachable'
HDRFoxT2#

Which is odd because I'm looking at it in the web IF!
 

af123

Administrator
Staff member
Well that definitely looks like your Humax can't talk to the package server.

try

Code:
tcpping google.com 80
traceroute hpkg.tv
ip addr
route
 
OP
B

bozeman1941

New Member
HDRFoxT2# tcpping google.com 80
traceroute hpkg.tv
ip addr
CONNECT Network is unreachable
HDRFoxT2# traceroute hpkg.tv
traceroute to hpkg.tv (89.248.55.75), 30 hops max, 38 byte packets
1traceroute: sendto: Network is unreachable
 
OP
B

bozeman1941

New Member
HDRFoxT2# tcpping google.com 80
traceroute hpkg.tv
ip addr
CONNECT Network is unreachable
HDRFoxT2# traceroute hpkg.tv
traceroute to hpkg.tv (89.248.55.75), 30 hops max, 38 byte packets
1traceroute: sendto: Network is unreachable
HDRFoxT2# ip addr
1: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:03:78:b9:ca:d1 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.5/24 brd 192.168.1.255 scope global eth0
2: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
HDRFoxT2# HDRFoxT2# tcpping google.com 80
/bin/sh: HDRFoxT2#: not found
HDRFoxT2# traceroute hpkg.tv
traceroute to hpkg.tv (89.248.55.75), 30 hops max, 38 byte packets
1traceroute: sendto: Network is unreachable
HDRFoxT2# ip addr
1: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:03:78:b9:ca:d1 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.5/24 brd 192.168.1.255 scope global eth0
2: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
HDRFoxT2# CONNECT Network is unreachable
/bin/sh: CONNECT: not found
HDRFoxT2# HDRFoxT2# traceroute hpkg.tv
/bin/sh: HDRFoxT2#: not found
HDRFoxT2# traceroute to hpkg.tv (89.248.55.75), 30 hops max, 38 byte packets
/bin/sh: syntax error: unexpected "("
HDRFoxT2# 1traceroute: sendto: Network is unreachable
/bin/sh: 1traceroute:: not found
HDRFoxT2# HDRFoxT2# ip addr
/bin/sh: HDRFoxT2#: not found
HDRFoxT2# 1: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast q
len 1000
/bin/sh: can't open BROADCAST,MULTICAST,UP,LOWER_UP: no such file
/bin/sh: 1:: not found
HDRFoxT2# link/ether 00:03:78:b9:ca:d1 brd ff:ff:ff:ff:ff:ff
/bin/sh: link/ether: not found
HDRFoxT2# inet 192.168.1.5/24 brd 192.168.1.255 scope global eth0
/bin/sh: inet: not found
HDRFoxT2# 2: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
/bin/sh: can't open LOOPBACK,UP,LOWER_UP: no such file
/bin/sh: 2:: not found
HDRFoxT2# link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
/bin/sh: link/loopback: not found
HDRFoxT2# inet 127.0.0.1/8 scope host lo
/bin/sh: inet: not found
HDRFoxT2# HDRFoxT2#
/bin/sh: HDRFoxT2#: not found
 

af123

Administrator
Staff member
That's a pain - it must think some of the output that you're pasting in is a web address.
All the signs are that your Humax does not have connectivity to the Internet.
It can obviously also do DNS lookups (it can get the IP address for hpkg.tv and for google.com) so it has some connectivity. The most likely fault is a lack of default route (gateway address)..
Can you look at the output of 'route' again? You should see two lines, one which is your local network and a second which is the address of the gateway:

Code:
gpttest# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.29.0.0      *               255.255.255.0   U     0      0        0 eth0
default         172.29.0.254 0.0.0.0         UG    0      0        0 eth0
 
OP
B

bozeman1941

New Member
upload_2016-8-24_15-51-21.pngHere you go. I did find the 'HTTPS Web Server?' function turned off, and since setting it to 'On', I can now see all the packages in the 'Installed' page of the Package Management setting, but I still get the '!! ERROR - No network connectivity to package repository !!' flag if I try to update them. :-(
 

af123

Administrator
Staff member
There's the problem then - your gateway address should not be 0.0.0.0 it needs to be set to the address of the router that gets you off the local network, possibly 192.168.1.17 (since on home networks, the local router often acts as the DNS server too)
Try copying the address over, save, reboot the Humax and see if it's any better.
 

af123

Administrator
Staff member
What are the settings on your PC (or whatever you're using to access the web interface)?
Most likely, the settings on the Humax should be the same apart from the assigned IP address.
 

Trev

The Dumb One
If I were looking at it, I would bung it on to DHCP reboot and have another look to see what addresses the router gives the box, esp. in the Gateway and DNS server boxes.
192.168.1.17, although no reason why not, is not a common router gateway address. Or at least, I haven't come across it before.

Or do what af123 says. Start > cmd >ipconfig will give the default gateway (amongst a load of other stuff)
 
OP
B

bozeman1941

New Member
Yay! I set both my STB's to DHCP instead of manual, rebooted them, and now they both work 100%, including downloading and updating packages. Thanks guys!
 

Black Hole

May contain traces of nut
The first step, when you get a connection error involving the Internet (just because it says "network", it actually means "Internet") is to prove the native TV Portal service.

Configuring IP Address (click)
 
Last edited by a moderator:
Top