Author Topic: Resolving Host - failure to access internet  (Read 7844 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
Resolving Host - failure to access internet
« on: June 30, 2015, 07:38:30 am »
Hi, guys

For a while now when trying to access the internet I get a message saying "resolving host" and then finally it falls over.

The error messages vary from DNS server to internet connections but in reality when using my other laptop running W7 and Firefox i never have any
problems.

Anyone got any ideas as to a solution.

Regards.

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 #1 on: June 30, 2015, 09:52:09 am »
When it fails, are you able to ping the routers IP addreess and get a response
ping -c5 <ip.address.of.router>

eg.
Code: [Select]
ping -c 5 192.168.0.1



Which wireless adapter are you using, and which drivers ?

and what's the output from:
Code: [Select]
lsusb
and
Code: [Select]
lspci -vnn | grep -i net
and
Code: [Select]
sudo lshw -C network
« Last Edit: June 30, 2015, 09:55:18 am 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 #2 on: July 01, 2015, 09:59:01 pm »

hi, Mark

As requested.

doug@doug-1000 ~ $ lsusb
Bus 001 Device 003: ID 04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC Webcam / CNF7129
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
doug@doug-1000 ~ $
doug@doug-1000 ~ $ lspci -vnn | grep -i net
01:00.0 Network controller [0280]: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe [1814:0781]
04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet [1969:1026] (rev b0)
doug@doug-1000 ~ $
doug@doug-1000 ~ $ sudo lshw -C network
[sudo] password for doug:
PCI (sysfs) 


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 #3 on: July 01, 2015, 10:00:59 pm »
hi, Mark

Will try to look up the first two questions in the next couple of days as I'm not around much until Saturday,

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 #4 on: July 02, 2015, 02:21:09 pm »
You need to give
Code: [Select]
sudo lshw -C network
a short while to complete

it'll sit at
"PCI (sysfs)"
for a while .. then return what I need
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 #5 on: July 02, 2015, 03:59:15 pm »
Hi, Mark

Didn't realise there was all that output missing!!  :-[

doug@doug-1000 ~ $ sudo lshw -C network
[sudo] password for doug:
  *-network               
       description: Ethernet interface
       product: AR8121/AR8113/AR8114 Gigabit or Fast Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth0
       version: b0
       serial: 00:22:15:a4:60:84
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL1E driverversion=1.0.0.7-NAPI firmware=L1e latency=0 link=no multicast=yes port=twisted pair
       resources: irq:17 memory:fbfc0000-fbffffff ioport:ec80(size=128)
  *-network
       description: Wireless interface
       product: RT2790 Wireless 802.11n 1T/2R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlan0
       version: 00
       serial: 00:22:43:13:2a:3e
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.16.0-41-generic firmware=0.34 ip=192.168.1.5 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:19 memory:fbef0000-fbefffff
doug@doug-1000 ~ $

Hope this helps.

Doug

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 #6 on: July 03, 2015, 12:11:17 am »
OK, try this .. open a terminal and run:
Code: [Select]
echo "options rt2800pci nohwcrypt=1" | sudo tee /etc/modprobe.d/rt2800pci.conf
Now REBOOT.

Test wireless.

If it's worse, please first post the output from:
Code: [Select]
cat /etc/modprobe.d/rt2800pci.conf
then delete the /etc/modprobe.d/rt2800pci.conf file you created earllier with:
Code: [Select]
sudo rm -v /etc/modprobe.d/rt2800pci.conf
then reboot, and you'll be back to where you are now
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 #7 on: July 04, 2015, 03:20:17 am »
Hi, Mark

Because accessing the internet has been OK sometimes and not others I have done as you suggested but 'll try it like this for a day or three to see if it's
better or worse before returning it to "as now".

Have posted the output you asked for anyway but I repeat for now haven't reversed the change you asked me to make hopefully after a couple of days use
it might become apparent if the change has improved access or not.

Regards, Doug

 doug@doug-1000 ~ $ cat /etc/modprobe.d/rt2800pci.conf
options rt2800pci nohwcrypt=1

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 #8 on: July 04, 2015, 06:01:19 pm »
Yeah that's what I wanted you to do .. test it.

I only included the UNDO instructions in case it made things WORSE, possibly leaving you without internet at all ;)
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 #9 on: July 05, 2015, 10:33:15 pm »
Hi. Mark

Having given it a few days testing it has performed without any further "resolving host" problems and even although it would run OK for a day or two before but  then fail I reckon you have probably sorted this.

Anyway my thanks and gratitude for your help again - I'm losing count of the number of problems you have solved for me it's rather frustrating that I need to ask for help so often but needs must.

Thank you.

Doug.

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 #10 on: July 05, 2015, 11:29:13 pm »
No problem, that''s what the forum is here for ;)
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 #11 on: July 18, 2015, 07:44:00 am »
Hi, guys

Sorry to report but my resolving host issue returned a few days ago and although generally OK fails to connect maybe once in six or seven attempts.

I have started rebooting the router when this happens and this seems to clear it whether or not I reboot the netbook as well - and has cleared the problem this morning literally just before posting this. 

Is rebooting  the router relevant or merely a coincidence, I ask only because I recently had a new router from Talktalk but can't remember if the problem started
at around the same time. I have also have tried to remember if this happened with P5 and don't think it ever did so unless P6 is the difference maybe the router is the cause? Is that likely?

Sorry to be back asking questions again.  :-[

Doug.

   


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 #12 on: July 18, 2015, 09:48:36 am »
Peppermint 6 has a newer kernel so there's a possibility that the wireless drivers changed

but if rebooting the router works it's just as likely a router issue

have you waited to see if it reconnects on its own ?

is the networkmanager icon in the system tray a spinning circle when disconnected ?

when it happens again can you post the output from:
ping -c 5 <ip.address.of.router>
eg.
Code: [Select]
ping -c 5 192.168.0.1
(the above is only an example, you must use YOUR routers IP address)

and
Code: [Select]
iiwconfig
and
Code: [Select]
sudo iwlist scan

Save the output from those commands to a text file .. then do whatever you need to do to reconnect .. then post the output back here.

--
« Last Edit: July 18, 2015, 09:54:33 am 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 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 #13 on: July 20, 2015, 12:13:24 pm »
I've had (and continue to, in a lesser degree) issues with wireless connections that are only solved by a reboot of the router, both in Windows & Linux (and Android!). Strange this is, it doesn't affect all devices simultaneously. It'll be one device that drops connection and refuses to reconnect, while the others works fine. Another day, it'll be a different device. I think it's down to the IP leases or something, on the LAN side of the router. The only fix is a reboot really, a shame that it's down to bad software on the router (mostly unfixable bar a few models that can have their firmware replaced)

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 #14 on: July 20, 2015, 02:40:04 pm »
Yeah static IP's for everything might help .. but first things first .. we need to figure out if it's the LAN dropping out or the internet.
(might also be what donwatson's problem is)
« Last Edit: July 20, 2015, 02:43:48 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

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal