Author Topic: Resolving Host - failure to access internet  (Read 7847 times)

0 Members and 1 Guest are viewing this topic.

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #15 on: July 31, 2015, 08:19:48 am »
Hi, Mark

Been a while since you asked me for some output partly because it has been OK but also because I've been away until yesterday.

Anyway, resolving host re-appeared this morning and I did as you asked and the results are below.  I may have made an error as when I asked for iiwconfig
it said something like not recognised or similar and did i mean iwconfig?  As I couldn't be sure if I had made a mistake I submitted that instead which may not of course be what you intended but at the time I couldn't check.  Afterwards I realised you did ask for iiwconfig so maybe the answer I first got was relevant.

Anyway let me know and I'll run it again if and when it fails.

It seems strange that I had no problem with P5 nor do I with W7 on two other laptops and the other minor thing is it seems to take longer to get into the internet than P5 did although that could be my imagination.

Regards, Doug.


doug@doug-1000 ~ $ ping -c 5 192.168.1.9
PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.
64 bytes from 192.168.1.9: icmp_seq=1 ttl=64 time=0.102 ms
64 bytes from 192.168.1.9: icmp_seq=2 ttl=64 time=0.123 ms
64 bytes from 192.168.1.9: icmp_seq=3 ttl=64 time=0.137 ms
64 bytes from 192.168.1.9: icmp_seq=4 ttl=64 time=0.144 ms
64 bytes from 192.168.1.9: icmp_seq=5 ttl=64 time=0.133 ms

--- 192.168.1.9 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3998ms
rtt min/avg/max/mdev = 0.102/0.127/0.144/0.020 ms
doug@doug-1000 ~ $ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"TALKTALK8B0FD7" 
          Mode:Managed  Frequency:2.432 GHz  Access Point: 8C:34:FD:8B:0F:E0   
          Bit Rate=121.5 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=62/70  Signal level=-48 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:4   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

doug@doug-1000 ~ $ sudo iwlist scan
[sudo] password for doug:
wlan0     Scan completed :
          Cell 01 - Address: 8C:34:FD:8B:0F:E0
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=62/70  Signal level=-48 dBm 
                    Encryption key:on
                    ESSID:"TALKTALK8B0FD7"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000012395c5ea3
                    Extra: Last beacon: 48ms ago
                    IE: Unknown: 000E54414C4B54414C4B384230464437
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030105
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1A8E191FFFFF000000000000000000000000000000001804810000
                    IE: Unknown: 3D1605070000000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A00B400C800140005001900
                    IE: Unknown: 7F0101
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C338E191FFFFF000000000000000000000000000000001804810000
                    IE: Unknown: DD1A00904C3405070000000000000000000000000000000000000000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: DD0600E04C020160
                    IE: Unknown: DDA60050F204104A0001101044000102103B00010310470010630412531019200612288C34FD8B0FE01021001B5265616C74656B2053656D69636F6E647563746F7220436F72702E1023000752544C387878781024000D45562D323031302D30392D32301042000F3132333435363738393031323334371054000800060050F2040001101100114144534C204D6F64656D2F526F757465721008000206801049000600372A000120
          Cell 02 - Address: E4:F4:C6:C5:76:50
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=32/70  Signal level=-78 dBm 
                    Encryption key:on
                    ESSID:"VM908585-2G"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000af41770331
                    Extra: Last beacon: 48ms ago
                    IE: Unknown: 000B564D3930383538352D3247
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 03010B
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0104
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAD0103FFFF0000000000000000000001000000000406E6A70C00
                    IE: Unknown: 3D160B080400000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080100000000000040
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD8A0050F204104A00011010440001021057000101103B00010310470010412B47BEF0F15F978E0CCE40281C0A2A102100074E65746765617210230007564D444734393010240007564D44473439301042000D343833313439573730323144361054000800060050F204000110110007564D444734393010080002210C103C0001011049000600372A000120
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.


Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 1166
  • Karma: 36
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #16 on: July 31, 2015, 09:24:17 am »
When you get that kind of failure, please can you also run:
Code: [Select]
ping -c 5 8.8.8.8

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #17 on: July 31, 2015, 11:46:21 am »
hi, chemicalfan

Hope you are OK.

Will do as you ask at the moment it's OK.

Regards, Doug.

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #18 on: August 04, 2015, 07:12:58 pm »
Hi, chemicalfan,

Output you  asked me to post.

Cheers.

ping -c 5 8.8.8.8

doug@doug-1000 ~ $ ping -c 5 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3998ms

doug@doug-1000 ~ $

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 1166
  • Karma: 36
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #19 on: August 05, 2015, 09:06:32 am »
Assuming you also ran "ping -c 5 192.168.1.9" and it returned the same as previous postings.....

That means your internet was down, but your router connection was still active. I'm guessing other internet devices also dropped out (i.e. smartphones, other PCs)?

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #20 on: August 05, 2015, 05:05:55 pm »
What is 192.168.1.9 ?

What is the (local LAN) IP of your router ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #21 on: August 07, 2015, 06:27:24 am »
Hi, Mark

Do you mean my IP address which appears to be : 78.148.236.76?  If not what is it and where do I find it please?

Cheers.

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 1166
  • Karma: 36
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #22 on: August 07, 2015, 08:37:57 am »
I'd guess that was the WAN address your ISP had given you? In which case, you can ignore that, it's not useful to you :)

The router's IP is probably that number called "Gateway". 8.8.8.8 is just an external website IP (Google's public DNS server), proves you have external access through your router

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #23 on: August 07, 2015, 04:29:02 pm »
Hi,

I got that from the "what's my IP addrress" website currently website tells me it's 78 144 148 214!!

Cheers.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1834
  • Karma: 142
  • Gender: Male
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #24 on: August 07, 2015, 05:25:28 pm »
Quote
I got that from the "what's my IP addrress" website currently website tells me it's 78 144 148 214!!
Your routers WAN (external) IP address is not important in this case.
You need to be able to connect to your routers (gateway) LOCAL IP address.
To get this run:
Code: [Select]
ip route
This will tell you the IP address where all queries will be routed to.

You would also need to be able to connect to the outside world, so ping googles IP address:
Code: [Select]
ping -c 5 216.58.208.46
If that works then check if DNS can be resolved:
Code: [Select]
ping -c 5 google.com

If the query with googles IP address fails then you could investigate further:
Code: [Select]
traceroute 216.58.208.46
You may need to install traceroute first.

If the ping to google.com fails then you have a DNS resolver error.
Try to query say using an OpenDNS server (which has IP address 208.67.222.222):
Code: [Select]
dig @208.67.222.222 google.com

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #25 on: August 08, 2015, 06:12:40 am »
Hi, sezo

Will do as you ask when it next fails.

Is this "resolving host" problem common or unusual and is it likely to simply be the router itself that is faulty in some way?

Cheers.


Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #26 on: August 08, 2015, 08:22:31 pm »
"resolving host" is a common message when there's a problem accessing the web page (from the web server/host) .. problem is it's a generic message and doesn't really tell you whether the problem is between:-

a) your PC and the router
b) your router and the web
c) your local or ISP nameserver
d) or simply that the web server isn't responding properly

So troubleshooting starts with

1) do other websites work ?
2) if not, can you access a website via IP address rather than hostname
3) are you able to ping a known working website, such as google via IP address
4) if not, are you able to ping your router via IP address

each step narrowing the possible cause .. so ..

When it fails ..

are you able to access ANY website ?

are you able to access
http://www.google.co.uk

what's the output from
Code: [Select]
ping -c 5 8.8.8.8

what's the output from:
ping -c 5 <ip.address.of.router>
which BTW I'm not convinced is 192.168.1.9 .. that's an odd address for a router .. maybe try:
Code: [Select]
ping -c 5 192.168.1.1

if it turns out you can access/ping google via IP address but not by domain name, then as SeZo suggests we'll have to dig further .. or possibly just switch DNS server(s)
If it turns out to be a local problem we'll have to troubleshoot the cause.

it's ALWAYS a process of elimination ;)



HINT -

Whilst your network is working, running:
netstat -r -n
will give you output similar to
Quote
mark@mark-peppermint ~ $ netstat -r -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1      0.0.0.0         UG        0 0          0 wlan0
192.168.1.0     0.0.0.0        255.255.255.0     U         0 0          0 wlan0

your routers IP is listed under "Gateway" (I've highlighted it in red above)
« Last Edit: August 08, 2015, 08:31:14 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #27 on: August 10, 2015, 06:38:14 am »
Hi. mark

It's as you said :

doug@doug-1000 ~ $ netstat -r -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 wlan0
doug@doug-1000 ~ $

Will have to try the other suggestions when it next fails?

Regards.

Offline cicero

  • Full Member
  • ***
  • Posts: 169
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #28 on: August 26, 2015, 07:23:23 am »
When the "resolving host" issue began it more or less coincided with installing P6 and replacing a router with a new one so a couple of weeks ago I reinstalled the "old" router and two weeks on have had no recurrence of "resolving" host.

However. last weekend I was in an hotel and the problem re-appeared.  Back home again since Monday and no problem. Does this tell the experts among us anything?  Will try the new router again in the next day or two and see what happens a recurrence would indicate it's not a coincidence, perhaps?

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Resolving Host - failure to access internet
« Reply #29 on: August 26, 2015, 01:29:30 pm »
If you're able to ping the router, but not the internet then it's obviously the router dropping the internet connection for whatever reason and nothing to do with the PC's (no matter which OS they're running).
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal