Networking :: Ping Using PHP Exec("ping -n 1 $ip",$output[],$retval)?
Apr 23, 2010
I try to ping with php : exec("ping -n 1 $ip",$output[],$retval); it works fine in window. but in linux i got this error : ping: icmp open socket: Operation not permitted are there any ways to solve this ?
View 5 Replies
ADVERTISEMENT
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
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
May 3, 2011
Let's say I am pinging a host, and want to output to a file each reply and its timestamp of when this started.
I know that it can be done with a loop and a shell script. Something like this
DO
echo "$(date)" >> results.txt ###includes the time and outputs results to txt###
ping -c 4 HOST >> results.txt ###a total of 4 pings at a rate of 1 per second###
REPEAT UNTIL USER PRESSES CTRL-C
Now, my first issue is that I need to be able to see results real-time as well.
Is there a way one can print to BOTH a screen and output? If one uses the ">>" command, it is essentially sending everything to the file. Running another ping command in parallel is not an option.
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
Feb 23, 2011
This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
View 3 Replies
View Related
May 13, 2011
Even ping google's ip address doesn't work. unknown host error using backtrack4 able to browse net with these settings.
My network settings:
What's the problem with these settings...
View 10 Replies
View Related
Apr 6, 2011
I have a debian server installed with a static ip. Now i am able to ping my ip, but when i try to configure a domain name with the nameserver as my ip, i am not able to ping the domain name
eg:
View 7 Replies
View Related
Aug 5, 2010
When i ping www.google.es, i get something like:Quote:
ping www.google.es
(wait 20 seconds)
64 bytes from 66.249.92.104: icmp_seq=2 ttl:53 time=80 ms
[code].....
View 2 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
Jan 18, 2011
How do i write ping output to txt file?
View 3 Replies
View Related
Apr 12, 2011
How can I make the Linux ping to show the requests 'time out' instead of omitting the output?
Just like the Windows version of ping.
View 3 Replies
View Related
Jul 8, 2011
I try to use the "ping -a" command for getting an audible ping. But there is just silence The command "beep" works fine, so everything should be ok with the speaker (in the konsole).
View 3 Replies
View Related
Feb 5, 2009
I installed nss-mdns in Fedora Core 10 and can see all the Bonjour published hosts on the lan. However, I am always forced to append the .local domain when referring to a host:
Code:
% ping foo.local
works
[code]....
View 2 Replies
View Related
Feb 5, 2010
I all, I 've two computer with Ubuntu 9.10 (desktop version)connected by cross over cable.
I try to connect this computers in LAN with the following command:
ifconfig eth0 [address] netmask [netmask] up
When I ping from first computer to second the output is "Network is unreachable"
View 2 Replies
View Related
Jan 12, 2009
I have an IBM Bladecenter HS21 with 3 blade servers. All 3 blade servers were initially installed with RedHat Linux 4. I then installed ixMOS on one of the blade servers, and Mandriva Linux was also installed (over RedHat) automatically along with ixMOS.
Now, I have some network problems. The other 2 servers with RedHat can ping each other, but it appears that the server with ixMOS/Mandriva Linux is isolated, that is, I can't ping the other 2 servers from it, and I can't ping it from the other 2 servers.
Does anyone have any ideas on what is wrong and how I can solve this problem? One more thing, my installation of Mandriva Linux has no GUI, so I have to do everything using the command line interface.
View 4 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:
$ ping -c3 192.168.0.55
fails
View 2 Replies
View Related
Dec 15, 2010
I have a router which have 4 ethernet ports(eth0,eth1,eth2,eth3,eth4 ) & One ADSL Line & One USB, I need to configure My router eth3 as a WAN & eth0 as a LAN ... using iperf , I am going to findout test a my Application(using iptables) whether my application is correct or wrong ...As of now I configured like server pc1(192.168.1.230)--->eth0(gw)(192.168.1.1)Router--eth3(gw)(192.168.2.1) -->pc2(192.168.2.157)...For eth3 as a WAN and eth0 as a LAN.... But I am not able to ping between two pc's..From router I can able to ping This ipaddress (192.168.1.230,192.168.1.1,192.168.2.1,192.168.2.1 57)
View 2 Replies
View Related
May 28, 2011
I setup my computer to use dyndns. I can ping my computer from another computer and I get thisping vielma-server2.dyndns-server.com
PING vielma-server2.dyndns-server.com (71.237.223.228) 56(84) bytes of data.
64 bytes from c-71-237-223-228.hsd1.or.comcast.net (71.237.223.228): icmp_seq=1 ttl=53 time=24.8 ms
[code]...
View 2 Replies
View Related
May 26, 2011
When we use ping, the option -i is referred as the interval time between sending each packet. Is this interval is the same as 'Inter Frame Gap(IFG)'?? As far as I have heard, IFG is introduced in the Physical layer. So using this option can we really change the Inter Frame Gap??If I use 'ping -i 0' which means that the interval is 0, I still get some value of 18.3 or somethin as ipg in the ping output. So IFG and 'ping -i' are same or not??
View 2 Replies
View Related
Oct 15, 2010
I have installed redhat 9 on my pc i want to configure samba i connect these two pc with cross cable i given both c class ip add when i going to ping from linux pc getting ping but xp getting ping
View 3 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