Fedora Networking :: Can Ping But Can't Resolve In Curl - Firefox
Aug 13, 2009
I'm having a strange problem with my Fedora 11 install under VMWare Server. I can look up hosts in nslookup, host, and I can ping servers using their names, but when I use curl, firefox, or yum, it says it can't resolve the host name.
View 6 Replies
ADVERTISEMENT
Feb 28, 2011
Background: In attempting to move from XP to linux, I have a F14 live USB stick -- can boot Dell M6400, see the internal drive and USB sticks. Wired ethernet network is seen only if ethernet cable is plugged in before booting. Then, I can ping sites by name (yahoo.com, google.com) -- however, FireFox does not load any web-page over the internet -- it does not put up an error message either, it just keeps waiting (it is in on-line mode).Info on the system
uname -a
Code:
Linux localhost.localdomain 2.6.35.6-45.fc14.x86_64 #1 SMP
Mon Oct 18 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
[code]...
View 2 Replies
View Related
Oct 31, 2010
Cannot connect to internet via Firefox or Midori on my Dell Inspiron 8200 laptop with a Netgear wireless card. However, I can update via yum, I can ping google from the CLI, I can ssh to my desktop, I can point a browser to find my router which /etc/resolv.conf points to, but can't get a browser to resolve hostname. I'm posting from a different machine (desktop), here is my /etc/resolv.conf:
[Code]....
View 14 Replies
View Related
Jan 7, 2011
I have a weird problem since yesterday that I can't solve. I can't ping / ssh my machine anymore using its hostname... says "unknown host", "network unreachable". I have no idea why - it used to work perfectly. I can still ping / ssh using the IP so it must be a problem of hostname not being resolved.
I have a dynamic IP (I'm at work...) but that doesn't seem to be the problem - network manager automatically adds a line in /etc/hosts with <mycurrentip> <hostname> (I checked, it's indeed the IP given by ifconfig and that I can use to ping/ssh).
2nd question: Another computer has a similar problem but slightly different: the hostname is resolved but points to a wrong IP (seen in ping or nslookup), different from what ifconfig returns. As a result, ping times out and ssh says "no route to host".
View 9 Replies
View Related
Jan 26, 2011
I have a strange problem with using curl function in php on slackware machines. So far I tested this on 2 PCs. I din't test it on any other distributions, so I don't know if it's only slackware problem.
Problem is that I can't use php curl in normal way. It can be tested wit simple code:
Code:
$ch = curl_init("url");
$content = curl_exec($ch);
if (curl_error($ch)) {
echo(curl_error($ch) . "<br>");
}
echo($content);
When I'm opening this php script in browser I'm getting error message:
Code:
Couldn't resolve host 'google.lv'
but I can use curl command in terminal, also it works when I run this php script in terminal like:
Code:
php ./curl_test.php
So problem is not in curl or php itself, but in apache, because this happens only when this script is running in apache.
Searching google a lot, I got to conclusion that apache can't read /etc/resolve.conf file during startup. Strange thing is that it happens only when httpd starts during system startup, but if I'm stopping httpd and starting it again manually, it works as it should until I'll reboot my PC. Restarting httpd also do not work, I need to do start -> stop.
I think that apache reads /etc/resolve.conf only when it starting up and as I have DHCP, maybe network is still not ready at the moment of httpd startup.
I didn't try to configure php as php-cgi instead of apache module, I think then it would work normally because each php script would be separate process and it would read dns information each time, so the same like starting php script in terminal with command:
Code:
php ./curl_test.php
I think there are some ways to workaround it, e.g. delay somehow start of httpd during system startup, or something like that, but I want to find reason of this problem and make it work without any workaround.
View 1 Replies
View Related
Oct 15, 2009
As the title suggest, I have downlaoded the latest copy of Ubuntu Server from the ubuntu website.Everything installed fine. DHCP configured ok as far as I can tell. I can ping other machines on my network (which are running Windows) and they can ping the Ubuntu machine and conenct to Apache which is running on it.If I try to ping google.com or any other domain, it gives the correct IP address but gives no response to any pings, dont telnet on port 80 (or any toher potr for that matter) on any machine on the internet. I checked the settings using ifconfig to see what DHCP had assigned, and they matched the windows machines configuration (other than the IP address obvisouly). I tried assigning a static IP, even reserving a particular IP for my NIC.
Whatever I do, i cant connect to any machine outside the network via IP or domain.I have searched everywhere and tried everything i can find on the net but still to no avail.The Windows machines are part of a domain called alcom-uk.local and run off of a Windows Small Business 2003 Server. Not sure if i need to manually setup Ubuntu to connect using a domain or anything.
View 14 Replies
View Related
Jul 15, 2011
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.
View 2 Replies
View Related
May 2, 2010
I have an Acer Aspire One that worked fine with version 9.* of Ubuntu, then I upgraded to v10.1. Now Thunderbird, Evolution, and Firefox (Namoroku?) can't connect, either wirelessly or by Ethernet cable, to my ISP. I get error messages like "connection timed out" or "cannot find {link}". I can PING my ISP from Terminal, though, and I have the machine set up for dual boot with Windows 7 and Firefox works fine under Windows.
I have no idea what to look for or where to start. Any help would be greatly appreciated.
Here's the output from sudo lshw -c net
*-network
description: Ethernet interface
product: Atheros AR8132 / L1c Gigabit Ethernet Adapter
vendor: Atheros Communications
[Code]....
View 2 Replies
View Related
Jul 22, 2010
Ubuntu and after installing it i can't browse any internet through firefox although ping is working good and downloading plugins to system to run MP3 or videos is also working fine but can't open any website through firefox and i tried the live cd of Ubuntu 10.4 at other PC and internet was working fine and firefox was working fine
View 3 Replies
View Related
May 21, 2009
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.
View 8 Replies
View Related
May 2, 2010
I have the latest Fedora 12 and just installed firefox from the software package manager
but every time i close it either by the x or tool bar it crashes and gives a message process /usr/lib/firfox3.5/firefox was killed by signall 11 (sigsegv)
i have the report if you require it
View 1 Replies
View Related
Jun 24, 2010
Is there any curl API to configure only the required protocol. If I have proper openssl installed, the installed curl will have all the protocols (like HTTP, HTTPS, FTP, File etc...) supported by default. Is there any way to allow or disallow only some of the protocol at the runtime. Say I need to support only HTTPS, FILE and I dont want to allow HTTP. Is there any way to do this?
View 1 Replies
View Related
Jan 21, 2010
I know this is not a win-doze forum but i always ask my questions here so here goes.I am having what appears to be a DNS problem on a friends laptop. He is running windows XP. I CAN connect to networks and even ping websites but i CANNOT browse in Internet Explorer or FIrefox.
View 1 Replies
View Related
Jan 19, 2010
Host - Fedora 12 64bit
KVM
VM - Windows Server 2008 64 bit
bridge-utils
VM can ping host and Internet but host can't ping VM.
I set VM static IP 192.168.0.205.
It turns out dynamic IP - 192.168.0.55
On host:
View 2 Replies
View Related
Apr 23, 2009
I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.
View 2 Replies
View Related
Jul 9, 2010
Ive got a problem on my server ....installed Debian 5 , Webmin and than syscp settung up syscp ready ....
I try to ping "localhost" ansver ping: unknown host
I try to ping "localhost." there is a host with IP 127.0.0.1
I need it to change it in "localhost"
Is that the bind9 maybe?
View 1 Replies
View Related
Jul 24, 2010
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.
View 7 Replies
View Related
Feb 1, 2011
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:
Code:
/etc/resolv.conf:
Code:
Code:
rev.0.168.192.in-addr.arpa:
Code:
View 10 Replies
View Related
Apr 29, 2010
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.
View 11 Replies
View Related
May 26, 2010
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.
View 2 Replies
View Related
Jan 13, 2009
For some reason some command line commands are unable to resolve urls, whereas other commands work as they should. I have checked most setting but am unable to find out what is wrong and am no closer to figuring out what and why.
[root@subzero ~]# yum update
Loaded plugins: refresh-packagekit
[URL]: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
[root@subzero ~]# .....
View 11 Replies
View Related
Jul 15, 2009
My ISP (Insight if you know them) says I had open ports. OK I did! Shame on me! I'll blame my $15.00 router but I know it's my fault. OK took care of that.But when I run Shields Up from grc.com it keeps telling me it can ping (IMCP) me. I tried to get the firewall to stop, or drop the ping and it seems to on my local network, I can't ping my my boxes locally and I can't even ping my router. But Shields Up keeps telling me it can ping meAny one know how I can see what's sending the ping, or I guess they call it the pong, back to echo the ping?
View 4 Replies
View Related
Apr 29, 2010
I have been beating my brains out the last few days trying to get my linux box to ping my Pc's via the netbios name. (ping pc_name) I have read post after post with no luck at all. What i do know is that my pc's can ping the linux box via netbios name with no problem. Samba works from the pc's but not the other way around. I have added wins to my host in the nsswitch.conf fileMy smb.conf file:Quote:
global]
workgroup = OFFICE
server string = Samba Server Version %v
[code]....
View 10 Replies
View Related
Aug 27, 2010
I am using f13
Quote:
$ uname -rsmi
Linux 2.6.33.8-149.fc13.i686.PAE i686 i386
I am using a dhcp network. Problem is I can SSH/ping to my machine but can't SSH/ping to my machine from the remote one(In internal network of my lab). What to do? I understand this is very little information....but I dont know what to provide.
View 4 Replies
View Related
Nov 5, 2010
Have installed fedora 14 on a HyperV virtual machine, have added a Legacy network adapter in the Hyper-V settings for this virtual machine that fedore pics up as eth0. I'm pretty sure this card is able to pick up an IP address from a DHCP server on our network but I'm unable to ping any boxes from this fedora virtual machine or ping the fedora machine from another box on the network. I have tried to disable the firewall and SELinux incase it was that stopping the pinging each way but that didn't help.
View 1 Replies
View Related
Jun 25, 2011
Not sure what iis going on, I can ping some hosts on the internet but not others see below (adobe is not the only example) Works OK from another host on the same network with same GW and DNS iptables is turned off
[root@havoc init.d]# ping www.arrl.org
PING www.arrl.org (184.106.62.248) 56(84) bytes of data.
64 bytes from www.arrl.org (184.106.62.248): icmp_req=1 ttl=55 time=94.1 ms
64 bytes from www.arrl.org (184.106.62.248): icmp_req=2 ttl=55 time=93.0 ms
64 bytes from www.arrl.org (184.106.62.248): icmp_req=3 ttl=55 time=99.4 ms
64 bytes from www.arrl.org (184.106.62.248): icmp_req=4 ttl=55 time=96.8 ms
[Code]...
View 2 Replies
View Related
Jul 3, 2011
I have 4 installations of Fedora 14 running on a Win 2008 R2 server in Hyper-V.
When I try to ping my desktop or the host server via the hostname from within any of the Fedora installations, the ping fails. I can ping by IP without issue. Also if I try to ping the VMs from my desktop it fails. I have an XP VM setup that I can ping without issue via hostname and IP.
All of the VMs can access the Internet without issue. I have disabled all firewalls on all systems with no luck. My desktop can ping the Hyper-V server without issue so it would appear that the problem lies with the Fedora installations.
My resolv.conf
Code:
Does anyone have anything I can try to get the name resolution working?
View 4 Replies
View Related
Nov 9, 2010
I use slackware current, and curl and wget give the following errors:
Code:
repo@cannabis ~]$ wget -r http://users.telenet.be/reggersjans
--2010-11-09 13:48:14-- http://users.telenet.be/reggersjans
Resolving users.telenet.be (users.telenet.be)... ::ffff:74.117.221.11, 74.117.221.11
Connecting to users.telenet.be (users.telenet.be)|::ffff:74.117.221.11|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
[Code]...
View 7 Replies
View Related
Jun 19, 2009
I'm using FC10 on my box at work. It is behind an anthenticated proxy for internet connection. In Gnome, I configured the Network Proxy through the GUI, as my browsers too.
So I can browse internet pages, install packages thru Add/Remove Software GUI, but I cant do it in the command line, using yum install, for example. Then trying to figure it out, I saw that it cant reach the package mirrors. It isnt a DNS problem, I set the /etc/resolv.conf correctly, as the host command works correclty. I can ping the local pcs on the network too. Firewall is disabled. Below some simple tests:
[rtovo@davinci ~]$ ping mirrors.fedoraproject.org
connect: Network is unreachable
[rtovo@davinci ~]$ host mirrors.fedoraproject.org
mirrors.fedoraproject.org is an alias for wildcard.fedoraproject.org.
[Code].....
View 3 Replies
View Related
Aug 6, 2009
I have a pretty strange problem I can ping www.yahoo.com:
Code:
[root@localhost ~]# ping www.yahoo.com
PING www-real.wa1.b.yahoo.com (69.147.76.15) 56(84) bytes of data.
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=1 ttl=52 time=20.1 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=2 ttl=52 time=20.7 ms
64 bytes from f1.www.vip.re1.yahoo.com (69.147.76.15): icmp_seq=3 ttl=52 time=23.3 ms
[Code]...
View 7 Replies
View Related