Networking :: Web Name Resolution Fails - Ping Works
Aug 2, 2010
I'm trying to install Mandriva Spring 2010 for a friend on his laptop after MS Windows crashed. The installation appeared to work, but I've got an odd networking problem - firefox is unable to load URLs. Every URL I try returns a server not found error.
When I drop into bash I'm able to do the following
Code:
ping 66.102.9.103
ping google.com
However when I try
Code:
wget http://google.com
I just get a message that tells me that wget is "unable to resolve host address google.com'". This is odd - ping is able to resolve google.com, but wget isn't. I assume that firefox and Konqueror both have the same problem. Could it be cause I've specified the http protocol?
My problem is the following:I can only connect to the internet and download through the FTP, but not through HTTP.I am in a hospital at this moment and have a netbook (Lemote Yeelong). Also there is a computer here with internet access.I would like to access the internet by using the cable from the computer.I configured my netbook just like the local computer (same host name, same MAC address, DHCP), just to be sure.I can ping google.com and I also can download from ftp.debian.org though ftp.However, when I try to connect to google.com through epiphany, it just loads and loads without success
Since I installed FC11 I can't get vpnc to work (I always getno response from target").Also I can't ping any external IP even with the firewall disabled.What I see strange is that I had the same configuration in FC10 and the router configuration seems okay to me:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.64.64.64 * 255.255.255.255 UH 0 0 0 ppp0
My Windows machine can ping Ubuntu by name, but Ubuntu can only ping the Windows machine by using it's IP address. This was working fine in both directions until I purged Samba. After purging Samba, I couldn't ping in either direction unless I used the IP address. I did some reading and found that Samba provides NetBIOS functionality that allows the machines to resolve host names without a DNS. Since I'm not running a local DNS, I decided to reinstall Samba. Unfortunately, I've not been able to restore it to full working condition. I don't want to use hosts files as all the IP addresses are assigned automatically by DHCP. I want to be able to access the Windows machine by name.
I can't ping by netbios name or fully qualified domain name, BUT nmblookup works just fine. I know it's a dns problem(s) I just don't know what or how to fix it. I'm very new to all of this(networking, domain administration, posting on forums etc) so I hope this is the right way to ask for help here. I've searched around the forums and the internet for a bit but I haven't found a solution to my problem yet.
here is some background on how the network is setup2 different domains sharing the same dhcp scope.
DC for DomainA is running windows 2003 std DC for DomainB is running windows 2008 sbs DC-A has ip of 192.168.1.249 DC-B has ip of 192.168.1.3 router is sonicwall (192.168.1.1) DC-A is hosting both DHCP and DNS
there are 25 computers in DomainB and 1 computer (not in domain) with ubuntu 10.04 and Free Open Ghost running on it (dhcp off) all 25 computers can ping the fog server by name (and eachother) all 25 computers pxeboot to fog just fine
I've encountered a problem after doing a fresh install with xubuntu 10.10 (2.6.35-23-generic).some sites are blocked like [url]....if I do dig [url]....- I receive the A, CNAME records and the IP address and everything.when ping[url].... - I receive 'unknown host'.when ping <theipaddress> - I receive responses
I'm trying to set-up a back-up (mode 1) bonding nic. I can't ping the LAN, pinging bond0 locally however works. Here is my config:
/etc/modprobe.conf Code: alias eth0 e1000e alias eth1 e1000e alias eth2 e1000e alias eth3 e1000e alias scsi_hostadapter ahci alias scsi_hostadapter1 usb-storage alias bond0 bonding [Code].....
I posted this already in the absolute beginner section, but no answer was found, so I thought I might try this place..Long story as short as possible:
- I installed Ubuntu 9.10 for a friend who was fed up with WinXP crashing all the time
- After the install, networks was broken. I could ping sites outside the LAN, could connect to the router via firefox, but NO application could access the web. - The router works just fine, I tried with my own notebook.
- Disabling ipv6 in grub (edit /etc/default/grub and 'sudo update-grub') seemed to solve the problem.
- Then update the standard packages + install restricted extras and boom, Network gone: No ping to sites outside the LAN, no nothing. Still can connect fine to the router and even the remote desktop connection works, connecting over the internet. But that's it.
I have tried setting the mpu to a value recommended by my isp, I have set static ip and dns, I really don't now what to try any more.
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
I want to ssh to a pc in our home network. It is a standard network in terms of a DSL router, dynamic IPs via DHCP, WPA2/PSK security, wireless network connection for all pcs except one which is wired to the router.I got the error "no route to host" from ssh. Openssh-server was already installed. It turned out later that the laptop I want to ssh to (namely the one which is connected by cable) cannot be pinged by any other laptop on the network.
The pc in question (lucid lynx with most recent updates) is online, can ping itself and the router, but cannot ping others in the network and cannot be pinged by them. I suspect a firewall setting of being the problem.
I'm trying to use a remote procedure call. When I call my server, my server should activate gammu and send an sms with it. I've used the code in the following tutorial: [URL]. The command for the uptime, and the command for the greeting work perfectly. But when I write my own method on my server, it fails ..
Code: function uptime_func($method_name, $params, $app_data) { return `uptime`; } function greeting_func($method_name, $params, $app_data) { $name = $params[0]; return "Hello, $name. How are you today?"; } function gammu_func($method_name, $params, $app_data) { $text = $params[0]; $number = $params[1]; $result = "echo '$text' | gammu sendsms TEXT $number"; exec("$result"); return $result; } On my Client (the one that calls the server) I see the output of $result. So my gammu_func is definitely working... He just doesn't execute Code: exec("$result")
I know that syntax is right cause I tried it in a different php file. I think it has something to do with the user rights. I don't think I have the privileges to run that command ...
When connecting to any wireless network, DNS lookups completely fail to work. Over a wired connection, there's no trouble.
I can ping machines by IP address, and I can dig and nslookup domain names using the DNS servers assigned by Network Manager or by myself. When I try to ping by domain name, however, nothing happens. Similarly, I cannot ssh into machines by domain name or browse the web.
My wireless card (Intel 4965AGN) is managed by Network Manager. The issue is seen regardless of whether DNS servers are obtained automatically by DHCP or assigned by me through Network Manager. This started about a month or two ago while I was using Maverick and presents again with Natty. I dual-boot Natty and Windows 7, and everything works fine in Windows.
Somehow, this seems to be linked to Nautiluswhile connected to a wireless network, Nautilus won't open, my desktop icons won't show, all that jazz. If I'm connected to a wired connection at login time, Nautilus works fine.
I've managed to workaround the browsing issue by setting up an ssh tunnel through a machine at school and forwarding Firefox's DNS resolution through that tunnel. But I'm at a loss as to how to resolve the core problem.
Here's some diagnostic info. I've modified my IP and hardware addresses below.
I've tried all the basic steps killing and restarting Network Manager, renewing my DHCP lease using dhclient, restarting /etc/init.d/networking. I'm at the end of my rope, though, and ready to reinstall. I'd be much obliged if anyone can think of a less "Microsoft" solution.
I have a usb modem which I plug into my ubuntu 10.10 system for a dial-up service. The modem is recognised by wvdial and dials properly, but the connection is not established.I get "Unable to run /usr/sbin/pppd" (although pppd is certainly in /usr/sbin), followed by "Check permissions of specify a 'PPPD Path' option in wvdial.conf", and finally "Connected, but carrier lost", then it gives up.
I have an ubuntu kk laptop connected via wireless to my mixed network (xp, win7, other ubuntu), but i can not ping said machine or connect via ssh. Internet and smb-browsing ON this machine work, as does pinging FROM it. If this was a windows machine, I'd say a firewall is in the way, but since it's a vanilla karmic install, this should not be the case (or should it?).
I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.
Here's the not-so-quick-and-dirty description of the situation:
I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.
I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).
The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.
Every machine has an equivalent resolv.conf:
As an example, I will show the output of a handful of my development machines:
I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:
columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200
Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL: - Ping by IP address - Ping by hostname - ssh, scp, vnc, etc by IP addess
Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.
Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.
Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.
Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.
I have two machines on this network, one running Ubuntu and the other running Fedora.
When I'm using the Wireless network on the Ubuntu machine, I cannot ping the Fedora machine. Everything else works. I can browse the net fine.
If I switch over to the Wired Network then I can ping the other machine.
I don't understand why ping doesn't work only over the Wireless. I can ping the router so I'm guessing it's getting blocked by the router but I didn't block ICMP traffic.
I tried asking on IRC and they ran out of ideas too to find out where the problem is.
I just installed my first EVER bind DNS server. I am running bind9 on Ubuntu 10.04. Everything seems to be working great except one thing: If I ping a host that I have set up in bind by its HOSTNAME the pings take 5-6 seconds to reply/print to the screen between each echo response. If I ping by the host's IP address, they echo back very quickly.
I have read that IPv6 can cause this, but I have disabled it in /etc/sysctl.conf and the problem still exists.
I know everyone says this can't be a DNS issue, but this never was an issue with dnsmasq (which i was using prior), and it doesn't make sense that the ping are ONLY slow when pinging by hostname and not IP.
Configs below:
Ping by hostname - there is a 5-6 second delay between each one of the responses:
Code:
Ping by IP - the responses come VERY quickly one after the other:
So, I have an Virtual Machine running CentOS 5.4. It sits behind a hardware firewall which also does NAT'ing. I've set up plenty of these, so I know for sure the firewall and NAT rules are set up correctly. From the host, I can ping anything in my subnet and the gateway. But I can't ping anything else beyond the gateway. I can perform DNS queries and when I try to ping, it finds the appropriate IP address.But from the outside, I can ping the PUBLIC address (It's a 1 public to 1 private address NAT, not 1 public to multiple private). I've tried it with IPTABLES on and off, with no change.
I have Mandriva One 2009.0 (192.168.1.100) on one box and Mandriva Free 2010.0 (192.168.1.118) on the other. I can ping router (192.168.1.1) from both of these boxes but I can't ping one box to the other and the other way around. What's going on?.
Do I have to change some settings in router?. Or is it firewall issue on those two machines?. Both of these boxes are connected by cable. Symbol of the router: TL-WR340G.
I have a very strange problem.ometimes, yes sometimes not all the time, I get a Destination Host Unreachable when I ping a computer on my network. If I switch to root using su I can ping that same computer. Here is a screen shot:
joseph@laptop:~$ ping 192.168.1.14 PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data. From 192.168.1.9 icmp_seq=2 Destination Host Unreachable
Originally after an installation of openSUSE 11.4, I had no internet connection at all, even when connecting with ethernet cable. But then I tried switching back to YaST and then back to Network Manager, and restarted a couple times, and now I have internet connection. DNS is also working, for Ping. The problem is that firefox does not use DNS and cannot resolve host names. I can use Firefox with IP numbers.
I have connected xp and fedora through crossover cable . xp has ip address 192.168.0.1/24 (manually assigned) fedora has 192.168.0.2/24 with default route equal to 192.168.0.1
I can ping fedora from xp computer but i can't able to ping xp from fedora computer.
I have manully edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with correct subnet mask and ip address because when i tried to give ip address manully in network manager the subnetmask is replaced with gateway address don't know why.
Now i want to share internet through crossover cable . xp is connected to internet through wireless usb adapeter.
I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup.
* open a shell session to NFS server and execute the "id" command to get my samba user information.
Code:
$> ssh l alberto our_nfs_server $> id uid=7090(alberto) gid=100(users) groups=100(users)
* Create locally a login on my Linux workstation with the same login and uid.
Code:
$>sudo useradd u 7090 g 100 d /home/alberto s /bin/bash alberto
[code].....
Code:
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) mount.nfs: access denied by server while mounting our_nfs_server:/d0/homedirs/alberto It does not work at all!!?? However, the same procedure on a RedHat workstation works fine. No errors.
I've added my public key to the remote machine's authorized_keys file, and I can ssh over without password. But when I try to mount the remote share using sshfs it -always- asks for my user's password. I have set sshd_config|PasswordAuthentication no ... and when I mount the share as root it says, "read: Connection reset by peer". My mount is being done as user, so it shouldn't be a root authentication problem: sshfs#bill@droog://media/droogfuseuser,noauto,gid=6,umask=007,cache=no,ServerAliveInterval=15,reconnect,allow_other,comment=sshfs 0 0 I can't mount as user because /dev/fuse is not suid, and I'd rather not set it such.
I am able to boot from the Ubuntu 10.04 LiveCD fine, but the Kubuntu CD fails to boot. Trying to run Kubuntu sends me to a command line and after the first three steps of the install option I am again sent to a command the line. I have burnt and verified several Kubuntu CDs and each time I get this result. I am running Ubuntu, but I would like a fresh install of Kubuntu (I would rather not just install kubuntu-desktop).
I'm having an issue with a BIND server. After a restart, (or randomly, I assume whenever a cache expires,) when I try to resolve any domain I get a "Host yahoo.com not found: 2(SERVFAIL)" Eventually it starts working and works fine till the cache expires again;
I can't get a program (wbar) to run directly from my user account, it fails saying "Image not found -> maybe using a relative path?". But if I run su -c "wbar", it shows up and manages to load the image. I think it has something to do with ImLib2 or whatever loads the image. I checked permissions on libImlib2.so.1 and it's world-readable and executable. Can libImlib2.a be causing this problem, set to 644? What else should I be checking?