Resolving Host - failure to access internet

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.

When it fails, are you able to ping the routers IP addreess and get a response
ping -c5 <ip.address.of.router>

eg.

ping -c 5 192.168.0.1

Which wireless adapter are you using, and which drivers ?

and what’s the output from:

lsusb

and

lspci -vnn | grep -i net

and

sudo lshw -C network

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

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.

You need to give

sudo lshw -C network

a short while to complete

it’ll sit at
PCI (sysfs)
for a while … then return what I need

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

OK, try this … open a terminal and run:

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:

cat /etc/modprobe.d/rt2800pci.conf

then delete the /etc/modprobe.d/rt2800pci.conf file you created earllier with:

sudo rm -v /etc/modprobe.d/rt2800pci.conf

then reboot, and you’ll be back to where you are now

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

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 :wink:

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.

No problem, that’'s what the forum is here for :wink:

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.

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.

ping -c 5 192.168.0.1

(the above is only an example, you must use YOUR routers IP address)

and

iiwconfig

and

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.

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)

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)

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.

When you get that kind of failure, please can you also run:

ping -c 5 8.8.8.8

hi, chemicalfan

Hope you are OK.

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

Regards, Doug.

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 ~ $

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)?