Ubuntu Networking :: 'Resolving Hosts' On Lucid - Pinging Self On WAN Temporarily Fixes
Oct 16, 2010
So I've been reading around a bit, and have found a few fixes for this Resolving Hosts problem, but none of them have fixed mine yet. Basically what happens is all browsers fail to load pages, pinging local network works, but pinging default gateway doesn't. Cannot ping external websites and cannot reach update or upgrade servers for ubuntu. All networking works as normal on all other PCs in house, as well as the windows 7 boot I have on my ubuntu PC.
What I've tried:Disabled IPv6 completely by preventing the module from booting up Manually setting network settings instead of using the router's DHCP server Changing DNS servers from ISP to Google public DNS to OpenDNS Buying a new ethernet card And a few other things I can't remember off the top of my head, none of which worked. From memory, all this just started happening out of the blue. I recently changed from Windows to Ubuntu, and was enjoying the switch but all of a sudden I couldn't get on the internet on Ubuntu.
Now, I'm not sure why, but I decided to ping myself. Not my LAN ip, but our router's WAN ip. It worked, albeit took a little while to return a response the first packet, but each subsequent packet after that was a normal speed (~0.5ms). The strange thing about this was that I found that for a few seconds after pinging myself, I could access the internet. After a few seconds though, it returns to it's resolving hosts self again, which another self-ping would fix.
Consequently, in order to browse, I have an open terminal constantly pinging myself which appears to be working. Not ideal, and certainly not something I would like to keep doing for long, but it works for now. I really like Ubuntu, but if I can't get this net thing fixed, I can't finish moving over from Windows!
View 7 Replies
ADVERTISEMENT
Jan 25, 2010
In my network my proxy / firewall (iptables + squid) works as dns forwarder. I needed to configure an url at my /etc/hosts in my linux boxes which are behind the firewall into the lan. I want my machine to look at its local /etc/hosts file before querying the dns to the firewall.
Despite I configured my /etc/host.conf this way:
My machine keeps resolving the name through the dns forwarder (firewall) and not from the /etc/hosts file first.
Is there any action needed after configuring /etc/host.conf? Any service to restart?
View 4 Replies
View Related
Aug 17, 2011
Well, as many proxy applications, GNOME Network Proxy Preferences only allow to ignore hosts. What I want to do is exactly the opposite. I only want to use the proxy for few sites. Is it possible to define only the allowed hosts in any way?
PS: I know FoxyProxy add-on for Firefox does this, but 1)I don't use Firefox and 2)I want the proxy settings system wide not only for browser.
View 9 Replies
View Related
Apr 27, 2011
Ive recently installed lubuntu 10.04 on an old sony vaio. ive been able to connect to the internet (satellite broadband) for a few months then no connection. the connection is fine so its definatly the network on the vaio. ive tried pinging to no avail.
View 5 Replies
View Related
Feb 6, 2010
when i type ping"proxy address" in my command line i get
pinging with 64 bit data while in windows i used to get 32 bit data...
whats the difference between the two??
View 2 Replies
View Related
Jan 30, 2011
I had a router crap out yesterday. I'd been testing out a new one for the last few days and just reconfigured it to be the main. Took the old one down and everything in my house (Windows 7 PC, XP Files server, Ubuntu PC , windows 7 laptop, android tablet, ps3, etc) seems to be working fine whether it be hard wired or wifi. All except my ubuntu 10.04 laptop. It worked fine before the swap so I can't figure out what's going on.
I'm able to connect to the new SSID without issue but I can't resolve any external names and when I try to ping the default gate way every other packet has (DUP!) behind it. If I'm hardwired I don't get the dup! when pinging the default gateway but I still can't resolve any external names. I have provided the results of an ifconfig and the results of a ping to the default gateway below.
cooley@Quigon:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.98 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=3.04 ms (DUP!)
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=3.50 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=5.72 ms (DUP!)
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=8.09 ms
[Code]...
View 9 Replies
View Related
Jan 13, 2011
I was doing some one-handed-one-fingered typing while talking on the phone. Due to lack of paying attention, I executed the following command: ifconfig eth0 1300 (was meant to be ifconfig eth0 mtu 1300) this of course killed the connection, so I got the box rebooted. This box functions as an openswan/firewall server. everything came up okay, end users are reporting no problems with the vpn or the firewall function. However, one service is failing because the route to localhost seems to be originating from eth0. when I `ping localhost`, the traffic dump shows the ping packet originating from the external address. On all my other boxes, when I ping localhost, the traffic originates from localhost. The reply to my ping behaves normally.
here is a dump of my pinging localhost: fw-ps:~/scripts# tcpdump -n -i lo listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes 10:00:01.885033 IP 194.246.23.22 > 127.0.0.1: ICMP echo request, id 6893, seq 12, length 64 10:00:01.885068 IP 127.0.0.1 > 127.0.0.1: ICMP echo reply, id 6893, seq 12, length 64
I considered trying to manually add some routes, but since the reply is working, I am not sure that is the problem. I also considered trying to change the default interface, but I don't want external traffic originating from the loopback.
View 4 Replies
View Related
Jan 6, 2010
I'm using kubuntu 9.10 desktop edition as a server and I set the IP statically, what happens is that when I ping it from another machine on the same network, I get intermittent packet loss (up to 80% and sometimes even higher). When I ping any other machine on the local network everything's fine with 0% packet loss. Packets go directly through switch, no router or anything in between.
I suspected wiring issues, but that doesn't seem to be the problem after I changed the wiring. I was connected to wireless and suspected that but no go either. Same thing when I turn wired. I just changed the ethernet card suspecting drivers but that's no good either. Iptables is a cleanslate installation, it's totally empty.
View 9 Replies
View Related
Mar 14, 2011
I am running Fedora 14 with KDE on my IBM T60p Thinkpad laptop. The wireless network adapter is Intel PRO/Wireless 3945ABG. The wireless network uses WPA2 with AES encryption.
Until yesterday my wireless worked fine. I originally installed wlassistant and it enabled my Network Manager to work with WPA2. My XP on the same machine still works on wireless without any issues, so both the adapter hardware and the router are eliminated as sources of the problem.
Yesterday I booted up my Linux and noticed there were 20+ security updates and I installed them all. It asked me to logoff and log back in. I did, and since then my wireless is dead as a doorknob. When the wireless adapter initializes it prompts me for the WPA2 password, however the password is visible in the password field. I click to accept it but it cant connect. Network manager just sits there waiting for authentication and nothing happens. The wpa_supplicant service is disabled, however I honestly cant remember if it was enabled before, considering that I use wlassistant. If I enable it, still nothing happens.
Anyway, thinking that the security updates possibly broke wlassistant, I uninstalled it and installed the latest version. The old version was 12, the new one is 13. It makes no difference though.I always use my laptop on wireless, therefore I am dead in the water.
Its really frustrating how something always breaks on this OS. It resembles a leaky boat that always has at least one hole. By the time I plug it another one appears, so I spend 90% of my Linux time fixing problems and have the remaining 10% for work and play. Windows and Mac work out of the box and apparently thats what 99% of users want, hence the 1% market share
Anyway, sorry about this, however losing my network connectivity from installing security updates really ticked me off. Its pretty unacceptable. Anyone has any ideas which recent fixes may be to blame? I am sure it didnt only happen to me.
View 6 Replies
View Related
Jan 13, 2010
I have an HP BL460c G5 with 5.3 installed fresh
it can ping its own IP address just fine
its a bit slow but constant pinging the switch its connected to
and i get alot of Destination host unreachables(a few do get through) when pinging the gateway
port on the switch is hardcoded to GB/full. and the server itself reads that its connecting at GB/full.
View 10 Replies
View Related
Mar 9, 2009
Installed Fedora 10 with Mozilla-Firefox, I can get out on the internet by pinging outside IP's but Firefox browser returns cannot locate www. does anyone know what package I need so browser connects.
View 7 Replies
View Related
Feb 26, 2011
I have two network interfaces and their entries are shown as eth0 and eth1... I want to assign them static IPs which I do by
ifconfig eth0 192.168.9.245 netmask 255.255.0.0 up
ifconfig eth1 192.168.8.245 netmask 255.255.0.0 up
But I am not sure if it will ping both the interfaces if I issue a command
ping -I eth0 192.168.9.113 (machine in network)
ping -I eth1 192.168.9.113 (machine in network)
I am getting pings from eth0 but not from eth1
View 10 Replies
View Related
Aug 28, 2010
I'm running wicd 1.7.0 on Kubuntu 10.04, with an Actiontec DSL wireless router (with an internal dd-wrt "bridged" router as well;Any idea what "magic" those lines are performing and if it's possible to make wicd do it all the time (instead of just the third time)?Very happy to pursue any debugging if anyone has any ideas, as it's pretty annoying to have to wait an extra couple minutes on every boot until connecting.
View 1 Replies
View Related
Apr 30, 2010
I have a strange problem with wireless internet connection. We have 3 computers, 2 of them with Win 7 and 1 with Ubuntu 9.10 + Win XP.
Now if all three computers are connected to the internet through wireless router, the computer with Ubuntu 9.10 frequently fails to resolves hosts using various web browsers. I have to disconnect and reconnect to the router to get internet back but it only works for a maximum of 1 minute before it fails again. If the 2 computers with Win 7 logs out from wireless connection then the Ubuntu 9.10 machine works just fine for long periods.
If i boot with Win XP internet works perfect even when the other computers are connected but i really want to use Ubuntu 9.10. The wireless chip is an Atheros 9285.
View 5 Replies
View Related
Jun 6, 2011
I'm on 11.04 on VMware 4.1, trying to get name resolution working. I can ping by IP other systems including on the internet. The network manager Icon on top shows a wireless icon, but the 'Wired Network' is grayed out and below that says 'device not managed'. What can I do to fix this? The interfaces file has the auto lo, then below that
iface eth0 inet static
stuff...
It doesn't work with or without the auto eth0 entries.
I have the nic set to DHCP and on my dhcp server gave it the mac address of the box to assign it an address, that is working.
View 2 Replies
View Related
May 29, 2011
I have just installed Fedora 15 and while I can ping websites from the CLI I cannot access sites via my browser, I have installed it on my laptop and it is not presently connected to a network, just a single device connecting wirelessly via a home broadband line to the internet,
What entries should be made in my hosts.conf file, I have entered
Do I need to make entries in the nsswitch.conf file, At the moment it reads,
I have also checked the permissions on these 3 files and all users and groups have read permissions.
View 6 Replies
View Related
Dec 13, 2010
I have debian lenny amd64 with two network cards. I have had one and when problem started to occur I tried installing second, but problem still appear.
Quote:
Quote:
I have tried dnsmasq to solve problem but I failed, and that is reason why 127.0.0.1 is there.
With first dns:
Quote:
Same is first time with dnsmasq, but then it gets cached.
My local network works perfectly, and I am writing this with remote desktop from some other computer.
View 6 Replies
View Related
Mar 16, 2010
I have a ubuntu server running which acts as a firewall/dhcp router for sharing internet to all computers on the network. On the network i have my stationary computer (win7) and my laptop (macbook).The server has 3 nics installed.ETH2 for internet. ETH1 (192.168.1.2) for windows pc. ETH0 for macbook (192.168.2.2).I can share files no problems over the network. Between windows <-> server, macbook <-> server, windows <-> macbook.The problem i'm experiencing is that i can't seem to find either hostnames between windows and macbook. They connect to each other fine with the right ip addresses, but they can't seem to connect when using computer names.
On both the macbook and windows pc i can see the server and connect to it without using the ip adress.What can i do to make them see each other with their computer names? Is there anything i can install on the server and configure in order for it to work automatically?In osx you have a tab in the finder that says "shared" which shows the computers on the network and only my server pops up.The same in windows, i can only see the server but not the macbook.As said, it works perfectly fine if i use \192.168.2.2 (or smb://192.168.1.2 on the macbook) but i'd rather be able to connect via the computer names.Would also love if they could resolve automatically so when a friend connects to the network i'll see his computer name right from the start, without any re-configuration.
View 9 Replies
View Related
Feb 12, 2010
EDIT: The problem is more basic than dnsmasq. On testing to see if the nameservers are reachableCode:root@ps1:~# ping 218.248.255.146connect: Network is unreachablePost title pre-pended with [DO NOT REPLY] dnsmasq on a recent Slackware 13.0 install is not resolving. Usually dnsmasq "just works". I have tried all the problem analysis techniques I know and am stumped.
First the symptoms:
Code:
root@ps1:~# vi /etc/dnsmasq.conf
[code]...
View 1 Replies
View Related
Jun 8, 2011
I have this in my resolv.conf file:
Code:
I have also used external DNS servers just to eliminate there being a problem with 192.168.1.67 (which many other computers are using successfully).
When I attempt to ping Google just to see if it works I receive this:
Code:
If I issue a host command against google.com I receive this:
Code:
I had thought that host and the name lookup routine would use the same DNS server and it should fail on the host command as well as the ping, but evidently not.
View 8 Replies
View Related
Aug 6, 2011
As part of my job, I have to configure a lot of network devices that are configured through web pages. This generally means plugging in to them via ethernet, going to their default IP address and reconfiguring them. I set my IP address using ifconfig, which is much faster than plugging numbers in to networkmanager's GUI. The problem is, NetworkManager seems to take the interface down at random.I could disable NetworkManager but then I don't have a wireless connection.Is there a way to tell NetworkManager to temporarily ignore what is happening on a specific interface or should I just ditch NM altogether when doing this kind of work and use wpa_supplicant to get on my wireless?My co-worker with the Windows machine is looking over my shoulder and chuckling
View 2 Replies
View Related
Jul 14, 2010
My ip address is not resolving to the domain name.
I have checked etc/host reboot and all but it's not working.
I can't seem to find where to post my issue then I found you and you are on line
View 6 Replies
View Related
May 24, 2010
I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.
View 2 Replies
View Related
Jul 4, 2011
I've got an Asus EEE 1000HE, and it's worked fine for a long time with the EEEBUNTU distro (a distro based on Jaunty (i think) with a custom kernel). Unfortunately, Eeebuntu is no longer maintained, so I recently did a clean install of Ubuntu 10.04.2. I am now unable to get my wifi to work reliably.
The wifi tries to connect for a while, then pops up the "Wireless Network Authentication Required" window. If I hit "connect" it will try again for a while, then pop up the window. Etc. Note I know that my connection information is OK. I haven't mistyped the password (see below). Also note that the wifi antenna is turned on. For example, iwlist scan is able to find my network.
There is a weird twist though: The netbook is always able to connect through an ethernet cable on eth0 just fine. If I boot the netbook with the ethernet cable plugged in, the wifi instantly connects as well! I can then unplug the ethernet cable (eth0 goes away), but I am still able to use the wifi connection for about 5 minutes before it disconnects, and goes back to trying and failing to connect.
This behavior is 100% replicable--the wifi always works fine (for about 5 minutes) if it boots with the ethernet cable plugged in. Very rarely, the wifi will also connect on boot without the ethernet cable, but that is not replicable.
Other EEE netbooks seem to have issues with multiple wireless drivers, like in this thread. Perhaps something similar is happening here? My card seems to be using rt2860sta as a driver. I tried blacklisting it, to see if another driver was trying to load instead, but that just negated my wifi altogether. (It's unblacklisted again)
My router is a very reliable Linksys WRT54GL with factory firmware which has never been flaky.
I'm at my wit's end. This netbook will be useless without wifi.
Below is the suggested information for a first post:
Here's lspci (note there is nothing listed as "Wireless Brand" to grep out):
Code:
lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
[Code]....
View 9 Replies
View Related
May 5, 2011
I have the requirement that if our website receives 20 or more requests within 60 seconds, to block the offending IP address for 5 minutes, then allow them access again. My only certain mechanism to do this is iptables. I wrote the following series of commands:
iptables -N RATE_CHECK
iptables -N DOSAttack
iptables -N RemoveBlock
[code]...
I am limited in my testing, but the little I have been able to test seems to be having no effect. will the above commands have the desired effect.
View 4 Replies
View Related
Jul 27, 2010
At work we run DHCP. hostnames have the format: computername.city.mycompany.com
I have a laptop runing Fedora 13 and a desktop I use for backups, etc. My laptop is named copernicus. Desktop is named galileo. If ping either hostname from itself I get back the localhost IP address. If I ping the fully resolved hostname it tells me unknown host. The desktop is exporting an NFS share I use for backing up work data. I need the laptop to be able to resolve host names to mount the share since we use DHCP. The desktop is dual boot and if it is booted into windows my laptop can resolve the hostname properly. What do I need to do in Fedora to get it to register a hostname with the DNS and/or DHCP server? Should the domain and the search path below both say the same thing?
Here is resolv.conf on the laptop (I am at home). The desktop looks the same, except for a different nameserver. Both computers can resolve other hostnames, just not each other.
View 6 Replies
View Related
Feb 6, 2011
I just set up my first ever bind9 DNS server running on ubuntu server 10.04. This server is also my gateway/dhcp server.
Here is what is weird: If I do a dig @8.8.8.8 dschuett-lmtl.scs.local from any of my clients it resolves?!?! Dig shows that it got the answer from MY Bind9 DNS server (and NOT Google's of course), but why is it still resolving when I'm telling it to use and external DNS server?
The other weird thing is that the SAME EXACT dig command above does NOT resolve internal host names if I do it from the Bind9 DNS server. - Which is what i would expect SHOULD be happening if done from the client machines...
Here are the dig results:
From any internal client:
Code:
View 2 Replies
View Related
Jun 15, 2010
I had configured Squid in RHEL 5 and facing an issue with pinging. Not able to ping any website,hostname is resolving to ip address but not able to ping
[code]...
View 8 Replies
View Related
Mar 8, 2010
I have a CentOS 5.3 box running Samba and OpenVPN. I have the Samba server setup as a WINS server and OpenVPN pushes the WINS server to clients when they connect. Everything is working great except for one problem. When I connect to the VPN using a Windows machine at a remote location, I can ping all the host names of computers on the VPN network no problem at all. However, when I ping the host name of the OpenVPN server it resolves to 192.168.122.1. All my machines are on a 10.x subnet and I have no idea where this ip is coming from. I've checked the hosts file, lmhosts, etc. and can find no reference to this 192.168.122 subnet.
I think I recall seeing this 192.168.122.1 ip when I had installed the Virtualization group and it created a virtbr0 network bridge with that ip. I've since removed the Virtualization software and deleted that bridge.
View 9 Replies
View Related
Jan 15, 2011
I have a Windows 7 professional x64 pc that intermittently fails to resolve host aliases. The nameserver is a Fedora 11 system running bind 9.6.2-p2. Its cannonical name is trixter.intranet.org, and it serves several web sites, each with a different host alias: hg.intranet.org, svn.intranet.org, bugzilla.intranet.org, etc.
Occasionally, the Windows pc will be unable to find any of the aliased hosts, even when it can find the canonical name. The aliases will be un-resolvable for a period of several minutes, and then, with no intervention, they can be found again. Trixter can always resolve the aliases to itself.
Even stranger, when I use Cygwin from the problematic Windows 7 PC, it CAN resolve the hosts. I can ping hg.intranet.org from a Cygwin shell, but not from a cmd.exe window. Administrator privileges make no difference.
View 1 Replies
View Related