Resolving Host Issue
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Resolving Host Issue
Hello,
I have scanned the subjects in this thread but not seen a question like mine but if the answer exists already I apologize.
I have a Gateway NX86xxx that I have converted from Vista to Mint 17 32 bit MATE. Everything works fine except for the wireless. When using Firefox 30 quite often the page would hang on "transferring data from www.xxxx.com" or a similar message. In frustration I downloaded Chrome which for a while seemed to work but now constantly hangs with a "resolving host" message. Before posting this I did some research and was advised to change the DNS numbers on my router from those supplied by my ISP to those from Google, but that changed nothing. I saw another thread where the o/p was asked to provide the wireless card details. Here are mine.
Network: Card-1: Intel 82573L Gigabit Ethernet Controller driver: e1000e ver: 2.3.2-k port: 3000 bus-ID: 02:00.0
IF: eth0 state: down mac: 00:e0:b8:9d:0a:c9
Card-2: Intel PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
Sitting next to me is my wife's laptop running Windows 7 without any issues whatsoever so I am thinking that the issue is actually this controller.
Any thoughts
Thanks
Dave
I have scanned the subjects in this thread but not seen a question like mine but if the answer exists already I apologize.
I have a Gateway NX86xxx that I have converted from Vista to Mint 17 32 bit MATE. Everything works fine except for the wireless. When using Firefox 30 quite often the page would hang on "transferring data from www.xxxx.com" or a similar message. In frustration I downloaded Chrome which for a while seemed to work but now constantly hangs with a "resolving host" message. Before posting this I did some research and was advised to change the DNS numbers on my router from those supplied by my ISP to those from Google, but that changed nothing. I saw another thread where the o/p was asked to provide the wireless card details. Here are mine.
Network: Card-1: Intel 82573L Gigabit Ethernet Controller driver: e1000e ver: 2.3.2-k port: 3000 bus-ID: 02:00.0
IF: eth0 state: down mac: 00:e0:b8:9d:0a:c9
Card-2: Intel PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
Sitting next to me is my wife's laptop running Windows 7 without any issues whatsoever so I am thinking that the issue is actually this controller.
Any thoughts
Thanks
Dave
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Resolving Host Issue
probably is the driver?
could you post the kernel version?
could you post the kernel version?
Code: Select all
uname -a
Re: Resolving Host Issue
Run this in terminal and post the url it returns
Code: Select all
wget -N -t 5 -T 10 https://www.dropbox.com/s/jlohug6vfrr86lp/wireless_script2 && chmod +x wireless_script2 && ./wireless_script2
Re: Resolving Host Issue
PatH57 uname -a returns
Linux david-NX860XL 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014 i686 i686 i686 GNU/Linux
JeremyB wget -N -t 5 -T 10 https://www.dropbox.com/s/jlohug6vfrr86 ... ss_script2 && chmod +x wireless_script2 && ./wireless_script2 returns
--2014-07-26 09:39:14-- https://www.dropbox.com/s/jlohug6vfrr86 ... ss_script2
Resolving www.dropbox.com (www.dropbox.com)... 108.160.167.207
Connecting to www.dropbox.com (www.dropbox.com)|108.160.167.207|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: https://dl.dropboxusercontent.com/conte ... 8qs2IopPMB [following]
--2014-07-26 09:39:15-- https://dl.dropboxusercontent.com/conte ... 8qs2IopPMB
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... failed: Connection timed out.
wget: unable to resolve host address ‘dl.dropboxusercontent.com’
Thanks for your quick replies.
Dave
Linux david-NX860XL 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014 i686 i686 i686 GNU/Linux
JeremyB wget -N -t 5 -T 10 https://www.dropbox.com/s/jlohug6vfrr86 ... ss_script2 && chmod +x wireless_script2 && ./wireless_script2 returns
--2014-07-26 09:39:14-- https://www.dropbox.com/s/jlohug6vfrr86 ... ss_script2
Resolving www.dropbox.com (www.dropbox.com)... 108.160.167.207
Connecting to www.dropbox.com (www.dropbox.com)|108.160.167.207|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: https://dl.dropboxusercontent.com/conte ... 8qs2IopPMB [following]
--2014-07-26 09:39:15-- https://dl.dropboxusercontent.com/conte ... 8qs2IopPMB
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... failed: Connection timed out.
wget: unable to resolve host address ‘dl.dropboxusercontent.com’
Thanks for your quick replies.
Dave
Re: Resolving Host Issue
Dave,
a lot of drivers are integrated into the kernel.
a lot of drivers are integrated into the kernel.
Code: Select all
lsmod | grep iwl
Code: Select all
rfkill list all
Re: Resolving Host Issue
PatH57
Here are the results of the lines you sent
david@david-NX860XL ~ $ lsmod | grep iwl
iwl4965 106859 0
iwlegacy 88016 1 iwl4965
mac80211 545990 2 iwl4965,iwlegacy
cfg80211 409394 3 iwl4965,iwlegacy,mac80211
david@david-NX860XL ~ $ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
david@david-NX860XL ~ $
Dave
Here are the results of the lines you sent
david@david-NX860XL ~ $ lsmod | grep iwl
iwl4965 106859 0
iwlegacy 88016 1 iwl4965
mac80211 545990 2 iwl4965,iwlegacy
cfg80211 409394 3 iwl4965,iwlegacy,mac80211
david@david-NX860XL ~ $ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
david@david-NX860XL ~ $
Dave
Re: Resolving Host Issue
How about the results of
Code: Select all
ifconfig
Code: Select all
nmcli dev list iface wlan0 | grep IP4
Re: Resolving Host Issue
Sure thing here we go,
david@david-NX860XL ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:b8:9d:0a:c9
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)
Interrupt:16 Memory:d4000000-d4020000
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:2967 errors:0 dropped:0 overruns:0 frame:0
TX packets:2967 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:524941 (524.9 KB) TX bytes:524941 (524.9 KB)
wlan0 Link encap:Ethernet HWaddr 00:13:e8:07:3a:97
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:e8ff:fe07:3a97/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:111814 errors:0 dropped:0 overruns:0 frame:0
TX packets:81841 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:131407058 (131.4 MB) TX bytes:10589228 (10.5 MB)
david@david-NX860XL ~ $ nmcli dev list iface wlan0 | grep IP4
IP4.ADDRESS[1]: ip = 192.168.1.100/24, gw = 192.168.1.1
IP4.DNS[1]: 208.69.225.200
IP4.DNS[2]: 208.69.255.201
IP4.DNS[3]: 10.20.25.1
david@david-NX860XL ~ $
If it matters the DNS(1) and (2) numbers above are the numbers my ISP gave me and are what my Linksys router is set to. The DNS (3) number I have not seen before.
Just for fun I changed the DNS numbers in the control center - network to those 208 numbers (they were 127.0.1.1) Now it might have been the placebo effect but I thought that might have made things better however despite clicking on the padlock to prevent changes when I rebooted the laptop they reset to 127.0.1.1.
Does any of this help?
Thanks
Dave
david@david-NX860XL ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:b8:9d:0a:c9
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)
Interrupt:16 Memory:d4000000-d4020000
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:2967 errors:0 dropped:0 overruns:0 frame:0
TX packets:2967 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:524941 (524.9 KB) TX bytes:524941 (524.9 KB)
wlan0 Link encap:Ethernet HWaddr 00:13:e8:07:3a:97
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:e8ff:fe07:3a97/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:111814 errors:0 dropped:0 overruns:0 frame:0
TX packets:81841 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:131407058 (131.4 MB) TX bytes:10589228 (10.5 MB)
david@david-NX860XL ~ $ nmcli dev list iface wlan0 | grep IP4
IP4.ADDRESS[1]: ip = 192.168.1.100/24, gw = 192.168.1.1
IP4.DNS[1]: 208.69.225.200
IP4.DNS[2]: 208.69.255.201
IP4.DNS[3]: 10.20.25.1
david@david-NX860XL ~ $
If it matters the DNS(1) and (2) numbers above are the numbers my ISP gave me and are what my Linksys router is set to. The DNS (3) number I have not seen before.
Just for fun I changed the DNS numbers in the control center - network to those 208 numbers (they were 127.0.1.1) Now it might have been the placebo effect but I thought that might have made things better however despite clicking on the padlock to prevent changes when I rebooted the laptop they reset to 127.0.1.1.
Does any of this help?
Thanks
Dave
Re: Resolving Host Issue
Go into network connections, select your wifi connection and edit, set IPv6 to ignore and under IPv4 add this in additional DNS servers and see if it helps
Code: Select all
8.8.8.8, 8.8.4.4
Re: Resolving Host Issue
Well I think that last step may have made things better. I have seen the resolving host message a couple of times but rather than just hang it did resolve the host after say 5 seconds. I will continue to monitor things and come back in a few days.
Thanks for your help
Dave
Thanks for your help
Dave
Re: Resolving Host Issue
Can you get the DNS[1] to change to 192.168.1.1Dave Box wrote:Well I think that last step may have made things better. I have seen the resolving host message a couple of times but rather than just hang it did resolve the host after say 5 seconds. I will continue to monitor things and come back in a few days.
Thanks for your help
Dave
This should work if you have DHCP enabled and the DNS is set in the router
Re: Resolving Host Issue
Do you mean in Control Center - Network Connections? If so I need to change from Automatic DHCP to manual and then it looks like I need a Net mask number and a Gateway. Sorry if this is a newby question.
Dave
Dave
Re: Re: Resolving Host Issue
Just leave DHCP in auto. I was thinking that if the DNS was set in the router there is no reason for those same numbers on the PCDave Box wrote:Do you mean in Control Center - Network Connections? If so I need to change from Automatic DHCP to manual and then it looks like I need a Net mask number and a Gateway. Sorry if this is a newby question.
Dave
Re: Resolving Host Issue
Run this in terminal and attach the wireless-info file it creates in a post
Code: Select all
wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
Re: Resolving Host Issue
I tried to attach the wireless info but apparently "the extension is not allowed" So here is is cut and paste. By the way thank you for perceiving with this I appreciate your time.
#!/bin/bash
#
# Copyright (c) 2012
#
# Authors: Wild Man, Krytarik
# Helpers: chili555
#
# This script gathers the infos necessary for troubleshooting a wireless
# connection and saves them in a text file, wrapping it in an archive if it
# exceeds the size limit of 19.5 kB for .txt files on the Ubuntu Forums.
#
############################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
FILEBASE="wireless-info"
MODMATCHES="(air|ar5|ath|carl|at7|iwl|ipw|rt(2|3|5|6|7)|rtl|r(818|871)|8192(cu|du)|ssb|wl|b43|bcma|brcm|eth1|ndis|wlan0|firm|etwork)[^[:punct:] ]*"
exec 3>&1 4>&2
exec 1> $FILEBASE.txt 2> /dev/null
if [ "$?" != "0" ]; then
printf "\nCannot write output file, aborting.\n\n"
exit 1
fi
printf "\n########## wireless info START ##########\n"
printf "\n##### release #####\n\n"
lsb_release -idrc
printf "\n##### kernel #####\n\n"
uname -a
printf "\n##### lspci #####\n\n"
lspci -nnk | grep -iA2 net | sed 's/^--$//'
printf "\n##### lsusb #####\n\n"
lsusb
printf "\n##### PCMCIA Card Info #####\n\n"
pccardctl info
printf "\n##### rfkill #####\n\n"
rfkill list all
printf "\n##### lsmod #####\n\n"
lsmod | egrep "(^|[[:punct:] ])${MODMATCHES}([[:punct:] ]|$)"
printf "\n##### iw reg get #####\n\n"
iw reg get
printf "\n##### interfaces #####\n\n"
sed 's/wpa-psk [[:graph:]]\+/wpa-psk <WPA key removed>/' /etc/network/interfaces
printf "\n##### iwconfig #####\n\n"
iwconfig
printf "\n##### route #####\n\n"
route -n
printf "\n##### resolv.conf #####\n\n"
grep -v '^#' /etc/resolv.conf
printf "\n##### nm-tool #####\n"
nm-tool
printf "\n##### NetworkManager.state #####\n\n"
cat -s /var/lib/NetworkManager/NetworkManager.state
printf "\n##### NetworkManager.conf #####\n\n"
grep -v '^#' /etc/NetworkManager/NetworkManager.conf
if [ -f /etc/NetworkManager/nm-system-settings.conf ]; then
printf "nm-system-settings.conf (used up to 10.04):\n"
grep -v '^#' /etc/NetworkManager/nm-system-settings.conf
fi
printf "\n##### iwlist #####\n\n"
if [ -t 0 ]; then
sudo iwlist scan || echo "Aquiring of root rights failed."
elif [ -x /usr/bin/gksudo ]; then
gksudo iwlist scan || echo "Aquiring of root rights failed."
elif [ -x /usr/bin/kdesudo ]; then
kdesudo iwlist scan || echo "Aquiring of root rights failed."
else
echo "No way to aquire root rights found."
fi
printf "\n##### iwlist channel #####\n\n"
iwlist chan
printf "\n##### modinfo #####\n\n"
MODULNAMES=$(lsmod | egrep "^$MODMATCHES" | awk '{print $1}')
for MODULE in $MODULNAMES; do
modinfo $MODULE
echo
done
printf "\n##### modules #####\n\n"
grep -v '^#' /etc/modules
printf "\n##### blacklist #####\n"
for CONFFILE in /etc/modprobe.d/*.conf; do
if [[ -n $(egrep -v '/etc/modprobe.d/(alsa-base|blacklist-(firewire|framebuffer|modem|oss|watchdog)|fglrx|nvidia)' <<< $CONFFILE) ]]; then
BLACKLIST=$(grep '^blacklist' $CONFFILE)
if [ -n "$BLACKLIST" ]; then
printf "\n[%s]\n%s\n" $CONFFILE "$BLACKLIST"
fi
fi
done
printf "\n##### udev rules #####\n"
egrep '^(#.*device|[^#]|$)' /etc/udev/rules.d/70-persistent-net.rules
printf "\n##### dmesg #####\n\n"
dmesg | egrep "[[:punct:] ]${MODMATCHES}[[:punct:] ]"
printf "\n########## wireless info END ############\n\n"
exec 1>&3 3>&-
exec 2>&4 4>&-
RESULTS=$(cat -s $FILEBASE.txt)
sed 's/\([[:alnum:]][[:alnum:]]:\)\{5\}[[:alnum:]][[:alnum:]]/<MAC address removed>/' <<< "$RESULTS" > $FILEBASE.txt
if [ $(stat -c %s $FILEBASE.txt) -gt 19968 ]; then
tar -czf $FILEBASE.tar.gz $FILEBASE.txt
rm $FILEBASE.txt
printf "\nResults archived in \"%s.tar.gz\", as they exceed the 19.5 kB size limit for .txt files on the Ubuntu Forums.\n\n" "$FILEBASE"
else
printf "\nResults saved in \"%s.txt\".\n\n" "$FILEBASE"
fi
#!/bin/bash
#
# Copyright (c) 2012
#
# Authors: Wild Man, Krytarik
# Helpers: chili555
#
# This script gathers the infos necessary for troubleshooting a wireless
# connection and saves them in a text file, wrapping it in an archive if it
# exceeds the size limit of 19.5 kB for .txt files on the Ubuntu Forums.
#
############################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
FILEBASE="wireless-info"
MODMATCHES="(air|ar5|ath|carl|at7|iwl|ipw|rt(2|3|5|6|7)|rtl|r(818|871)|8192(cu|du)|ssb|wl|b43|bcma|brcm|eth1|ndis|wlan0|firm|etwork)[^[:punct:] ]*"
exec 3>&1 4>&2
exec 1> $FILEBASE.txt 2> /dev/null
if [ "$?" != "0" ]; then
printf "\nCannot write output file, aborting.\n\n"
exit 1
fi
printf "\n########## wireless info START ##########\n"
printf "\n##### release #####\n\n"
lsb_release -idrc
printf "\n##### kernel #####\n\n"
uname -a
printf "\n##### lspci #####\n\n"
lspci -nnk | grep -iA2 net | sed 's/^--$//'
printf "\n##### lsusb #####\n\n"
lsusb
printf "\n##### PCMCIA Card Info #####\n\n"
pccardctl info
printf "\n##### rfkill #####\n\n"
rfkill list all
printf "\n##### lsmod #####\n\n"
lsmod | egrep "(^|[[:punct:] ])${MODMATCHES}([[:punct:] ]|$)"
printf "\n##### iw reg get #####\n\n"
iw reg get
printf "\n##### interfaces #####\n\n"
sed 's/wpa-psk [[:graph:]]\+/wpa-psk <WPA key removed>/' /etc/network/interfaces
printf "\n##### iwconfig #####\n\n"
iwconfig
printf "\n##### route #####\n\n"
route -n
printf "\n##### resolv.conf #####\n\n"
grep -v '^#' /etc/resolv.conf
printf "\n##### nm-tool #####\n"
nm-tool
printf "\n##### NetworkManager.state #####\n\n"
cat -s /var/lib/NetworkManager/NetworkManager.state
printf "\n##### NetworkManager.conf #####\n\n"
grep -v '^#' /etc/NetworkManager/NetworkManager.conf
if [ -f /etc/NetworkManager/nm-system-settings.conf ]; then
printf "nm-system-settings.conf (used up to 10.04):\n"
grep -v '^#' /etc/NetworkManager/nm-system-settings.conf
fi
printf "\n##### iwlist #####\n\n"
if [ -t 0 ]; then
sudo iwlist scan || echo "Aquiring of root rights failed."
elif [ -x /usr/bin/gksudo ]; then
gksudo iwlist scan || echo "Aquiring of root rights failed."
elif [ -x /usr/bin/kdesudo ]; then
kdesudo iwlist scan || echo "Aquiring of root rights failed."
else
echo "No way to aquire root rights found."
fi
printf "\n##### iwlist channel #####\n\n"
iwlist chan
printf "\n##### modinfo #####\n\n"
MODULNAMES=$(lsmod | egrep "^$MODMATCHES" | awk '{print $1}')
for MODULE in $MODULNAMES; do
modinfo $MODULE
echo
done
printf "\n##### modules #####\n\n"
grep -v '^#' /etc/modules
printf "\n##### blacklist #####\n"
for CONFFILE in /etc/modprobe.d/*.conf; do
if [[ -n $(egrep -v '/etc/modprobe.d/(alsa-base|blacklist-(firewire|framebuffer|modem|oss|watchdog)|fglrx|nvidia)' <<< $CONFFILE) ]]; then
BLACKLIST=$(grep '^blacklist' $CONFFILE)
if [ -n "$BLACKLIST" ]; then
printf "\n[%s]\n%s\n" $CONFFILE "$BLACKLIST"
fi
fi
done
printf "\n##### udev rules #####\n"
egrep '^(#.*device|[^#]|$)' /etc/udev/rules.d/70-persistent-net.rules
printf "\n##### dmesg #####\n\n"
dmesg | egrep "[[:punct:] ]${MODMATCHES}[[:punct:] ]"
printf "\n########## wireless info END ############\n\n"
exec 1>&3 3>&-
exec 2>&4 4>&-
RESULTS=$(cat -s $FILEBASE.txt)
sed 's/\([[:alnum:]][[:alnum:]]:\)\{5\}[[:alnum:]][[:alnum:]]/<MAC address removed>/' <<< "$RESULTS" > $FILEBASE.txt
if [ $(stat -c %s $FILEBASE.txt) -gt 19968 ]; then
tar -czf $FILEBASE.tar.gz $FILEBASE.txt
rm $FILEBASE.txt
printf "\nResults archived in \"%s.tar.gz\", as they exceed the 19.5 kB size limit for .txt files on the Ubuntu Forums.\n\n" "$FILEBASE"
else
printf "\nResults saved in \"%s.txt\".\n\n" "$FILEBASE"
fi
Re: Re: Resolving Host Issue
Have to do this the other wayDave Box wrote:I tried to attach the wireless info but apparently "the extension is not allowed" So here is is cut and paste. By the way thank you for perceiving with this I appreciate your time.Code: Select all
#!/bin/bash # # Copyright (c) 2012 # # Authors: Wild Man, Krytarik # Helpers: chili555 # # This script gathers the infos necessary for troubleshooting a wireless # connection and saves them in a text file, wrapping it in an archive if it # exceeds the size limit of 19.5 kB for .txt files on the Ubuntu Forums. # ############################################################################ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # FILEBASE="wireless-info" MODMATCHES="(air|ar5|ath|carl|at7|iwl|ipw|rt(2|3|5|6|7)|rtl|r(818|871)|8192(cu|du)|ssb|wl|b43|bcma|brcm|eth1|ndis|wlan0|firm|etwork)[^[:punct:] ]*" exec 3>&1 4>&2 exec 1> $FILEBASE.txt 2> /dev/null if [ "$?" != "0" ]; then printf "\nCannot write output file, aborting.\n\n" exit 1 fi printf "\n########## wireless info START ##########\n" printf "\n##### release #####\n\n" lsb_release -idrc printf "\n##### kernel #####\n\n" uname -a printf "\n##### lspci #####\n\n" lspci -nnk | grep -iA2 net | sed 's/^--$//' printf "\n##### lsusb #####\n\n" lsusb printf "\n##### PCMCIA Card Info #####\n\n" pccardctl info printf "\n##### rfkill #####\n\n" rfkill list all printf "\n##### lsmod #####\n\n" lsmod | egrep "(^|[[:punct:] ])${MODMATCHES}([[:punct:] ]|$)" printf "\n##### iw reg get #####\n\n" iw reg get printf "\n##### interfaces #####\n\n" sed 's/wpa-psk [[:graph:]]\+/wpa-psk <WPA key removed>/' /etc/network/interfaces printf "\n##### iwconfig #####\n\n" iwconfig printf "\n##### route #####\n\n" route -n printf "\n##### resolv.conf #####\n\n" grep -v '^#' /etc/resolv.conf printf "\n##### nm-tool #####\n" nm-tool printf "\n##### NetworkManager.state #####\n\n" cat -s /var/lib/NetworkManager/NetworkManager.state printf "\n##### NetworkManager.conf #####\n\n" grep -v '^#' /etc/NetworkManager/NetworkManager.conf if [ -f /etc/NetworkManager/nm-system-settings.conf ]; then printf "nm-system-settings.conf (used up to 10.04):\n" grep -v '^#' /etc/NetworkManager/nm-system-settings.conf fi printf "\n##### iwlist #####\n\n" if [ -t 0 ]; then sudo iwlist scan || echo "Aquiring of root rights failed." elif [ -x /usr/bin/gksudo ]; then gksudo iwlist scan || echo "Aquiring of root rights failed." elif [ -x /usr/bin/kdesudo ]; then kdesudo iwlist scan || echo "Aquiring of root rights failed." else echo "No way to aquire root rights found." fi printf "\n##### iwlist channel #####\n\n" iwlist chan printf "\n##### modinfo #####\n\n" MODULNAMES=$(lsmod | egrep "^$MODMATCHES" | awk '{print $1}') for MODULE in $MODULNAMES; do modinfo $MODULE echo done printf "\n##### modules #####\n\n" grep -v '^#' /etc/modules printf "\n##### blacklist #####\n" for CONFFILE in /etc/modprobe.d/*.conf; do if [[ -n $(egrep -v '/etc/modprobe.d/(alsa-base|blacklist-(firewire|framebuffer|modem|oss|watchdog)|fglrx|nvidia)' <<< $CONFFILE) ]]; then BLACKLIST=$(grep '^blacklist' $CONFFILE) if [ -n "$BLACKLIST" ]; then printf "\n[%s]\n%s\n" $CONFFILE "$BLACKLIST" fi fi done printf "\n##### udev rules #####\n" egrep '^(#.*device|[^#]|$)' /etc/udev/rules.d/70-persistent-net.rules printf "\n##### dmesg #####\n\n" dmesg | egrep "[[:punct:] ]${MODMATCHES}[[:punct:] ]" printf "\n########## wireless info END ############\n\n" exec 1>&3 3>&- exec 2>&4 4>&- RESULTS=$(cat -s $FILEBASE.txt) sed 's/\([[:alnum:]][[:alnum:]]:\)\{5\}[[:alnum:]][[:alnum:]]/<MAC address removed>/' <<< "$RESULTS" > $FILEBASE.txt if [ $(stat -c %s $FILEBASE.txt) -gt 19968 ]; then tar -czf $FILEBASE.tar.gz $FILEBASE.txt rm $FILEBASE.txt printf "\nResults archived in \"%s.tar.gz\", as they exceed the 19.5 kB size limit for .txt files on the Ubuntu Forums.\n\n" "$FILEBASE" else printf "\nResults saved in \"%s.txt\".\n\n" "$FILEBASE" fi
Code: Select all
sudo apt-get install pastebinit
Code: Select all
tar -xf wireless-info.tar.gz
Code: Select all
pastebinit wireless-info.txt
Re: Resolving Host Issue
I don't know if this matters but I used an ethernet cable to bypass the wireless from the laptop to the router and still saw resolving host issues. Anyway here is the url returned
http://pastebin.com/rqcfRrMY
Once again many thanks.
http://pastebin.com/rqcfRrMY
Once again many thanks.
Re: Resolving Host Issue
Code: Select all
dig @208.69.225.200 wiki.archlinux.org +short
dig @208.69.225.201 wiki.archlinux.org +short
I have no idea where this is "is" in LinuxMint.
but if you went straight ethernet and got the same result, -> check your router.
Code: Select all
dig @8.8.8.8 wiki.archlinux.org +short
5.9.250.164
dig @8.8.4.4 wiki.archlinux.org +short
luna.archlinux.org.
5.9.250.164
Re: Resolving Host Issue
So what happens if you delete the DNS info from your router and reboot it?Dave Box wrote:I don't know if this matters but I used an ethernet cable to bypass the wireless from the laptop to the router and still saw resolving host issues. Anyway here is the url returned
http://pastebin.com/rqcfRrMY
Once again many thanks.
Re: Resolving Host Issue
I will try that but in the meantime I went into Control Center - Network (not network connection) and just for fun changed the DNS that the system sets (127.0.1.1) to the two numbers my ISP provided. I also added 8.8.8.8 and 8.8.8.4 to the search domains field. Now it appears that everything is working. Firefox 31 works (it used to hang on transferring data) and Chrome has not displayed a resolving host message in the last hour. The problem is that even though I click the padlock to the lock position if I reboot the laptop the wireless DNS numbers are wiped out and replaced with 127.0.1.1
In the light of the above information do you still want me to erase the DNS numbers on the router (which I am more than willing to do). Are you familiar enough with Mint 17 to know why the DNS number keeps reseting to 127.0.1.1 on reboot or how to stop that happening which I think might resolve my issue.
Many thanks
Dave
In the light of the above information do you still want me to erase the DNS numbers on the router (which I am more than willing to do). Are you familiar enough with Mint 17 to know why the DNS number keeps reseting to 127.0.1.1 on reboot or how to stop that happening which I think might resolve my issue.
Many thanks
Dave