I am using a Sony vaio with Xubuntu - Ubuntu 16.04.1.
Struggling with an odd problem browsing the internet. I am connected the internet but can't access any website except Gmail and Google search engine or Yahoo, without being able to access any link through the result of my search, I was able to use software center to download chromium since I thought Firefox my default browser had an issue but I got the same behaviour from Chromium.
Using terminal I got these info:
sa@sa-VPCW11S1E:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
sa@sa-VPCW11S1E:~$ ipconfig
No command 'ipconfig' found, did you mean:
Command 'ifconfig' from package 'net-tools' (main)
Command 'iconfig' from package 'ipmiutil' (universe)
Command 'iwconfig' from package 'wireless-tools' (main)
ipconfig: command not found
sa@sa-VPCW11S1E:~$ ifconfig
enp2s0 Link encap:Ethernet HWaddr 00:24:be:02:ee:c8
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:2004 errors:0 dropped:0 overruns:0 frame:0
TX packets:2004 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:172993 (172.9 KB) TX bytes:172993 (172.9 KB)
wlp3s0 Link encap:Ethernet HWaddr 00:1f:3a:fa:28:44
inet6 addr: fe80::d441:1543:60ed:70a2/64 Scope:Link
inet6 addr: 2a02:1205:504e:f700:8c07:b952:591d:f8c0/64 Scope:Global
inet6 addr: 2a02:1205:504e:f700:406:ff40:6767:4e81/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:130950 errors:0 dropped:137 overruns:0 frame:0
TX packets:64181 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:153436646 (153.4 MB) TX bytes:7818221 (7.8 MB)
sa@sa-VPCW11S1E:~$ sudo service network-manager restart
[sudo] password for sa:
sa@sa-VPCW11S1E:~$ ping wwww.ba.com
ping: unknown host wwww.ba.com
sa@sa-VPCW11S1E:~$ ping www.google.com
connect: Network is unreachable
sa@sa-VPCW11S1E:~$
I appreciate the comments and tips, after trying several times I was able to set up a static ipv4 addresse and it work , can't recall how I did it since I was following a toturial, but the next day I got back to the same problem and my current configuration as this;
ifconfig;
sa@sa-VPCW11S1E:~$ ifconfig
enp2s0 Link encap:Ethernet HWaddr 00:24:be:02:ee:c8
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:9393 errors:0 dropped:0 overruns:0 frame:0
TX packets:9393 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:823872 (823.8 KB) TX bytes:823872 (823.8 KB)
wlp3s0 Link encap:Ethernet HWaddr 00:1f:3a:fa:28:44
inet addr:192.168.1.8 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d441:1543:60ed:70a2/64 Scope:Link
inet6 addr: 2a02:1205:504e:f700:8c07:b952:591d:f8c0/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:98000 errors:0 dropped:411 overruns:0 frame:0
TX packets:19165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43087964 (43.0 MB) TX bytes:2701583 (2.7 MB)
route -n;
sa@sa-VPCW11S1E:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0 wlp3s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0
192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0
sa@sa-VPCW11S1E:~$
traceroute www.google.com;
sa@sa-VPCW11S1E:~$ traceroute www.google.com
traceroute to www.google.com (172.217.19.4), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
sa@sa-VPCW11S1E:~$
Could somebody please explain to me the conflict here or the problem, kind of lost here
All right as requested the output of telnet n.a..com 80
sa@sa-VPCW11S1E:~$ telnet www.ba.com 80 Trying 104.66.171.91... telnet: Unable to connect to remote host: Connection timed out sa@sa-VPCW11S1E:~$
****Current configurations *****
sa@sa-VPCW11S1E:~$ ifconfig
enp2s0 Link encap:Ethernet HWaddr 00:24:be:02:ee:c8
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:17370 errors:0 dropped:0 overruns:0 frame:0
TX packets:17370 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1418792 (1.4 MB) TX bytes:1418792 (1.4 MB)
wlp3s0 Link encap:Ethernet HWaddr 00:1f:3a:fa:28:44
inet addr:192.168.1.8 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d441:1543:60ed:70a2/64 Scope:Link
inet6 addr: 2a02:1205:504e:f700:8c07:b952:591d:f8c0/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1672187 errors:0 dropped:819 overruns:0 frame:0
TX packets:1057202 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2009166409 (2.0 GB) TX bytes:212308493 (212.3 MB)
sa@sa-VPCW11S1E:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0 wlp3s0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0 sa@sa-VPCW11S1E:~$
and the file /etc/network/interfaces
interfaces(5) file used by ifup(8) and ifdown(8)
auto lo iface lo inet static address 192.168.1.1 gateway 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 dns-search example.com dns-nameservers 192.168.1.1 192.168.8.10
also resolv.conf;
Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.3.45 nameserver 192.168.8.10 nameserver 127.0.1.1 search example.com 8.8.4.4 home
last is interfaces-order;
interface-order(5)
lo.inet lo.inet6 lo.@(dnsmasq|pdnsd) lo.!(pdns|pdns-recursor) lo tun* tap* hso* em+([0-9])?(+([0-9]))* p+([0-9])p+([0-9])?(+([0-9]))* @(br|eth)([^.]).inet6 @(br|eth)([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc) @(br|eth)([^.]).inet @(br|eth)([^.]).@(dhclient|dhcpcd|pump|udhcpc) @(br|eth)* @(ath|wifi|wlan)([^.]).inet6 @(ath|wifi|wlan)([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc) @(ath|wifi|wlan)*([^.]).inet
This is the latest config to shorten the "chat" the the comment section
sa@sa-VPCW11S1E:~$ sudo ifconfig
[sudo] password for sa:
enp2s0 Link encap:Ethernet HWaddr 00:24:be:02:ee:c8
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:238 errors:0 dropped:0 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:17585 (17.5 KB) TX bytes:17585 (17.5 KB)
wlp3s0 Link encap:Ethernet HWaddr 00:1f:3a:fa:28:44
inet addr:192.168.1.115 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d441:1543:60ed:70a2/64 Scope:Link
inet6 addr: 2a02:1205:504e:f700:8c07:b952:591d:f8c0/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:363 errors:0 dropped:0 overruns:0 frame:0
TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52244 (52.2 KB) TX bytes:15243 (15.2 KB)
sa@sa-VPCW11S1E:~$ routen'n
^C sa@sa-VPCW11S1E:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0 wlp3s0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0 sa@sa-VPCW11S1E:~$