cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Beginner
958 Views
Message 1 of 14

HH5 and connecting to Linux PC

Go to solution

I have experienced frustration trying to access the Internet through both wired (Ethernet connection) and wireless. We recently changed to BT as provider and since the Home Hub 5 was set up, my Linux systems can change settings ( via the 192.168.1.254 address) but the browsers cannot link to a web site nor can any web functions talk (e.g. apt commands).

 

The browsers keep returning an error page 'thr website cannot be found, please check your setting'.

I have tried manually setting IP addresses in the network manager and resetting the hub. The addresses I used were:

 


IP Address - 192.168.1.203 ( mine is 203 at the end, this is what shows on the hub as well when I look at the DHCP settings)
Subnet Mask 255.255.255.0
Gateway - 192.168.1.254
DNS Server - 192.168.1.254.

 

I have turned off BT Protect and Parental Controls and Simple Setup.

 

Our other devices, I-pads, I-phones, Kindle and Android tablet connect OK

Happy for any advice

0 Ratings
13 REPLIES 13
Highlighted
Recognised Expert
952 Views
Message 2 of 14

Re: HH5 and connecting to Linux PC

Go to solution

Do you have a default route set on the Linux host? What do you see if you run the command ip route show? This is from my Ubuntu server, although I'm using a static IP address on this host.

 

smf22@lampu:~$ ip route show
default via 192.168.1.254 dev eth0
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.200

 

What Linux flavour? If Ubuntu and you want to set a static IP, here's my interfaces file.

 

smf22@lampu:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.254
dns-nameservers 192.168.1.254

 

Regards

0 Ratings
Highlighted
Beginner
928 Views
Message 3 of 14

Re: HH5 and connecting to Linux PC

Go to solution

Thanks for the fast reply. I have been using Xubuntu and Lubuntu 15.10 on Linux kernel 4.2.0-35

 

The info from ip route show is:

default via 192.168.1.254 dev enp3s0 pronto static metric 100
192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.203 metric 100

 

 

 

 

0 Ratings
Highlighted
Beginner
913 Views
Message 4 of 14

Re: HH5 and connecting to Linux PC

Go to solution

I have typed your text with my IP address into the interface file as you suggest, it doesn't seem to matter whether I try eth0 or enp3s0, the IP route show command still returns the same as before and the router still returns:

 

IP address assignment -static

IP address - 192.168.1.203

 

and no internet of course

 

Any ideas?

0 Ratings
Highlighted
Recognised Expert
901 Views
Message 5 of 14

Re: HH5 and connecting to Linux PC

Go to solution

So to confirm:

 

- The Linux servers you have were able to connect to the Internet

- A change of provider and move to the HH5 now means they don't have Internet connectivity

 

Do you at least still have local connectivity? If you run the ifconfig command does it show the interface as up and with an IP address? Can you post the output of an ifconfig?

 

Can you ping the default gateway i.e., 192.168.1.254? Can you execute ping 192.168.1.254 and then ip neigh show and post those?

 

Regards

Highlighted
Beginner
886 Views
Message 6 of 14

Re: HH5 and connecting to Linux PC

Go to solution

Info as requested


ifconfig

enp3s0 Link encap:Ethernet HWaddr 1c:87:2c:5c:b7:83
inet addr:192.168.1.203 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::1e87:2cff:fe5c:b783/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44 errors:0 dropped:2 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4402 (4.4 KB) TX bytes:5432 (5.4 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=2.25 ms
64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=0.937 ms
64 bytes from 192.168.1.254: icmp_seq=3 ttl=64 time=0.993 ms
64 bytes from 192.168.1.254: icmp_seq=4 ttl=64 time=0.967 ms
64 bytes from 192.168.1.254: icmp_seq=5 ttl=64 time=0.990 ms
64 bytes from 192.168.1.254: icmp_seq=6 ttl=64 time=0.971 ms
64 bytes from 192.168.1.254: icmp_seq=7 ttl=64 time=1.17 ms
64 bytes from 192.168.1.254: icmp_seq=8 ttl=64 time=0.946 ms
64 bytes from 192.168.1.254: icmp_seq=9 ttl=64 time=0.977 ms
64 bytes from 192.168.1.254: icmp_seq=10 ttl=64 time=0.974 ms
64 bytes from 192.168.1.254: icmp_seq=11 ttl=64 time=2.18 ms
64 bytes from 192.168.1.254: icmp_seq=12 ttl=64 time=1.17 ms
64 bytes from 192.168.1.254: icmp_seq=13 ttl=64 time=0.972 ms

ip neigh show
192.168.1.254 dev enp3s0 lladdr d4:63:fe:0e:30:6c REACHABLE

 

Tags (2)
0 Ratings
Highlighted
Recognised Expert
879 Views
Message 7 of 14

Re: HH5 and connecting to Linux PC

Go to solution

And can you ping anything on the Internet? What about ping 8.8.8.8 or ping 8.8.4.4. If that works, then try ping www.google.co.uk or www.bbc.co.uk

 

Regards

0 Ratings
Highlighted
Beginner
872 Views
Message 8 of 14

Re: HH5 and connecting to Linux PC

Go to solution

Ping: sendmsg: Network is unreachable

 

0 Ratings
Highlighted
Recognised Expert
865 Views
Message 9 of 14

Re: HH5 and connecting to Linux PC

Go to solution

Looks like it's not seeing the default route that we could see back in message 3. It showed:

 

default via 192.168.1.254 dev enp3s0 pronto static metric 100
192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.203 metric 100

Was that a copy / paste or did you enter it manually? It shows the word "pronto" rather than "proto" which is odd.

 

What's the current interfaces file now? Are you using something similar to the one I posted or back to your original? either way can you post here. Also what does ip route show show now? Does it still show the default route?

 

You could try and add the default route, but if it already exists it'll throw an error. Type sudo add route default gw 192.168.1.254 and try the pings again.

 

You could also try sudo route add -net 8.8.0.0/16 gw 192.168.1.254 and then try the ping 8.8.8.8 and ping 8.8.4.4 again.

 

Regards

0 Ratings
Highlighted
Beginner
859 Views
Message 10 of 14

Re: HH5 and connecting to Linux PC

Go to solution

The typing was manual, apols.

 

Will look again.

0 Ratings