Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ping]

ping is a command line tool/network utility often used to troubleshoot connectivity and network latency issues. PING is an acronym for Packet INternet Groper. Questions about the ping command should use this tag.

0
votes
1answer
43 views

Why can I successfully ping stats.nba.com and not stats.nba.com/stats

Very new to Unix and experimenting with a Digital Ocean droplet. Why can I successfully ping stats.nba.com whereas ping stats.nba.com results in ping: unknown host stats.nba.com/stats
0
votes
1answer
47 views

Log of lost internet connections

I am having a big problem with lost internet connections with my DSL. I would like to create a log to be able to show the technician when he comes next week. I have this. while true; do date >&...
1
vote
0answers
19 views

Ubuntu 18.04 VPN cannot ping window samba host-names but can resolve via IP

I am currently running ubuntu 18.04 box and I have configured pptpd to run a PPTP VPN server. I have followed this guide: https://help.ubuntu.com/community/PPTPServer I’ve tried configuring the ...
0
votes
2answers
43 views

Ubuntu 18.04 server unable to ping websites but can ping IP addresses

Total newbie here, got fed up with Windows world and gone over to the dark side Yesterday I installed Ubuntu 18.4 LTS on VirtualBox with bridge connections. It seems I can ping IP addresses ...
1
vote
0answers
13 views

I am not able to connect to internet under bridge adapter in ubuntu using vbox

I have used Bridge Adapter in Vbox Earlier I could connect but over a period of time IP address of Vbox kept increasing by 1 and then it displayed no IP address Now after reinstalling Vbox, I got a IP ...
0
votes
0answers
32 views

Remastering an Ubuntu Image with custom software

I want to customize a Ubuntu Desktop Iso and I have come that far, that I am in the chroot enviorement. The problem is that I do not have Internet access in there to install anything. I just can ...
0
votes
1answer
38 views

Simple Ping Tool Failing

I am trying to apply what I learned about shell scripting to a ping tool, but I can't seem to work out what I'm doing wrong. I want my ping tool to contain a prompt that creates a variable for the ...
0
votes
1answer
88 views

unable to connect to <ip-address:port>: No route to host

I was trying to connect my phone with adb over wi-fi (I did tcpip to 5555), but not working since I bought a new router. It works fine when using my other phone as a hotspot. I was trying to ping to ...
0
votes
0answers
17 views

Ping Very Very High in DUAL-BOOT when runnig Ubuntu

Good morning, I have a notebook [Asus 120GB SSD; 1TB HDD; 8GB RAM; running Intel core i7] with dual boot (Windows 10; Ubuntu 18.04). When I use Windows 10 I have no problem with internet and ping keep ...
0
votes
0answers
33 views

EXTREME long ping times

My config is gigabit ethernet adapter <> gigabit switch <> Synology NAS under 18.04 While pinging my DS218+ NAS with native IP, I am getting an unbelievable 200-300ms, average > 230 ms with ...
0
votes
1answer
145 views

How do I make two Ubuntu machines in vmware to ping each other?

Do I need to install special tools for that, or is it all just networking settings ? I've seen people do this in windows machines on vmware but never with ubuntu Both ubuntu machines have this ...
1
vote
1answer
79 views

What does ping -l mean?

Can anyone help me in understanding this command? ping -l 1 google.com I don't see the difference between ping google.com and ping -l 1 google.com as they both ping Google continuously. Your help ...
2
votes
1answer
212 views

Need help on getting ping to run under wine on Ubuntu 16.04

I need help getting ping to work under wine on Ubuntu 16.04. I am trying to run a Battlefield Bad Company 2 server for testing (I might be doing some development on a mod at some point) and I am ...
0
votes
0answers
29 views

ping -I not receiving through all device names. Varying results puzzle

Can anyone shed light here? Do I have a misconfiguration or a misunderstanding? I have three interfaces on this one machine. Here is the address table from the ip command: 1: lo: <LOOPBACK,UP,...
1
vote
1answer
123 views

ping multiple IP's from mysql using bash?

How can I ping a list of IPs found in a mysql database from bash? I have a table called nics containing these fields: id user_id machine_id mac ipv4 ipv6 dns icmp => used as a binary (0=disable, 1=...
0
votes
0answers
649 views

Problem in installing ROS in Ubuntu 18.04 (Bionic)

I set the proxies that is needed to connect to internet unable to PING to google , I used the command "ping google.com" but it did not show up anything and I am facing difficulty when trying to get ...
0
votes
0answers
52 views

Can ping but not access -Nextcloud

I am running my own little instance of a nextcloud server on ubuntu 18.04. Recently I rebooted the machine and since then it has some issues. At first it could not resolve names so I added a DNS ...
0
votes
0answers
22 views

VM1 must not respond to incoming ping requests (use iptables only)

Task : VM1 must not respond to incoming ping requests. (use iptables) I running 5 virtual machines on VirtualBox. VM1 and VM2 are hosts in subnet 10.10.1.0/26, VM3 and VM4 are hosts in subnet 10.1.0....
0
votes
0answers
69 views

Ping returns Unknown Host and no eth0

Per this AskUbuntu post (ifup eth0: unknown host) the OP couldn't ping google.com His answer was to modify /etc/network/interfaces as follows: auto enp0s2 iface enp0s2 inet dhcp After re-...
0
votes
0answers
76 views

can't ping gateway from second ipv6

i have a ubuntu 16.0.4 and a /64 block of valid ipv6 to use. my ips : 2001:xxxx:yyyy:4::/64 my gateway : 2001:xxxx:yyyy:3::1 when i set fist ip to use via : ip addr add 2001:xxxx:yyyy:4::1/48 dev ...
0
votes
0answers
127 views

ping to alias IP failes

I'm using Ubuntu 16.04.4 on lenovo yoga 900. I have a tp-link ethernet adapter. I configured the network (/etc/network/interfaces) with 2 fixed IPs as follows: auto lo iface lo inet loopback auto ...
0
votes
0answers
35 views

CSGO interval lags on Ubuntu 16.04

In ubuntu 16.04 I have interval delays, 20-30 seconds ping is normal, then jumps to 200-300 for a few seconds and returns back ( 0 loss all the time ), I checked on the normal internet and on a mobile,...
1
vote
0answers
22 views

OpenVPN eth0 rejects ping

I have installed OpenVPN server in one Ubuntu 16.04 machine. I need to connect from outside my home with OpenVPN clients Ping from server(192.168.2.50) using tun0 network works Client-1 ...
0
votes
2answers
57 views

ping between client to client not working

setup Openvpn Server ip 192.168.70.22 tun0 - 10.8.0.1 Client1 ip 192.168.1.3 tun0 - 10.8.0.6 Client2 ip 192.168.30.44 tun0 - 10.8.0.10 ping tun0 works ping server from client1 and client2 works ...
1
vote
0answers
76 views

how to create multiple wan connection to single lan?

I am trying to have 2 connections simultaneously using DSL, my topolog is has given below: My LAN and WAN PCs are ubuntu 14.04 virtual machines running on 2 different Windows PCs. LAN-eth1(192....
5
votes
1answer
165 views

One single ping, Vasily

The BSD version of Ping(8), notably on OS X, includes a convenient "one ping only" option (-o) that mirrors Sean Connery's famous quote from Hunt for Red October. The option terminates Ping once the ...
0
votes
0answers
1k views

Ping hangs and SSH times out

After upgrading from Ubuntu 16.04 LTS to the new 18.04, even before rebooting the system, ping won't work anymore. It just hangs indefinitely and doesn't matter if I ping a DNS, an IP or even the IP ...
0
votes
0answers
26 views

How can I ping from Ubuntu to windows which are in different subnets? [duplicate]

I am not able to ping from aws ubuntu to windows which is in local where in pinging from windows to ubuntu is working fine. Is there any changes I need to make to ping from AWS to local. Please ...
0
votes
1answer
83 views

the average latency is 500 ms when I ping my PC in a LAN

In my network I have a Raspberry pi connectet via wifi And a pc optiplex 5050 running a fresh install of the Ubuntu 17.10 connected with the network adapter D-LINK DWA-548/EU. When I ping from the ...
1
vote
2answers
695 views

Cant ping a virtualbox created using NAT

So I created in my host machine (Ubuntu 17.10) a virtual machine with VirtualBox + Vagrant + Ansible. Vagrant.configure("2") do |config| config.vm.box = "centos-7.3-x86_64_latest.box" config.vm....
1
vote
1answer
108 views

Unable to ping but wireshark shows packets

I am trying to check my whether my ethernet network interface is working properly or not. I have two PC's and they are connected directly(without a switch). In one PC I tried to ping the other one ...
3
votes
0answers
47 views

communicating with another computer using a crossover cable [duplicate]

I have two identical Dell E5580 laptops running Xenial. I'm trying to pass data from one to another in an efficient way. Both are on the same wireless subnet, but I figure a cross-over cable ...
0
votes
0answers
22 views

Why does a host respond to pings from all subnets but its hosted VMs can not

It is possible to connect to all VLAN subinterfaces of an Ubuntu host from any subnet (assuming open firewalls) but it is not possible to connect to the virtual network adaptors of Ubuntu VMs from any ...
0
votes
0answers
1k views

“no route to host”: Peer to Peer Network between laptop and Raspberry Pi not working

I've been attempting to establish a peer-to-peer network between my laptop (Ubuntu 16.04.2, Codename: Xenial) and my Raspberry Pi 3 (Raspbian, Codename: Stretch, 9.1). After attempting to connect with ...
0
votes
0answers
1k views

ssh error: no route to host and connection timed out

I have three machines with fixed public ip addresses. They are connected to different routers. Machine A: Ubuntu 14.04 Desktop, manager@a.a.a.a, Port 8022 Machine B: Ubuntu 14.04 Desktop, manager@b.b....
0
votes
1answer
643 views

100% Packet loss when pinging my external IP [closed]

There's a ddns domain pointing to my external ip & I am able to ping it from an off site computer. However, when I ping my external ip from my local computer, all of the packets fail & I end ...
0
votes
0answers
1k views

Can't access Openstack VM instances using floating IP

I performed a single node installation on an Ubuntu 16.04 LTS Server using conjure-up (https://www.ubuntu.com/download/cloud/try-openstack) . The installation completed successfully.I am able to ...
1
vote
1answer
1k views

50% packet loss on ubuntu 16.04 (and 17.04) [closed]

Recently I've started getting terrible packet loss (up to 50-60%) on ubuntu. (even when pinging local addresses, like my router). The packet loss begins at intervals and lasts for about 20 seconds, ...
5
votes
1answer
3k views

Ping for 60 seconds

I want to ping an IP Address for 60 seconds. Like in Windows, you specify the time with '-t' flag. ping 192.168.1.1 -t60 Is it possible in Linux?
-1
votes
1answer
172 views

ping the list of IP transmitted by Terminal

Good day! I have this script: #!/bin/sh # Оболонка для ping # ІНІЦІАЛІЗАЦІЯ ЗМІННИХ CONFIG_FILE=$HOME/pingall-hosts # Ім'я конфігураційного файлу TARGET= # Ціль VERBOSE=off ...
-2
votes
0answers
88 views

Loop over text file with URLs and execute ping on each [duplicate]

How can I execute four ping requests for each URL from a text file that includes URLs, calculate the average respond time and store the results in another text file?
0
votes
1answer
269 views

What is the right network settings in order to ping the IP address of the printer successfully?

I have installed hplip-3.17.10.run and hplip-3.17.10-plugin.run on my Ubuntu 14.04 LTS. After that, I invoked hp-setup in terminal or clicked HP Device Manager to find and add the printer. I chose the ...
0
votes
2answers
414 views

Ubuntu 17.10 can't ping a server, which was a home network previously

I have a mystery problem after upgrade to Ubuntu 17.10: All works ok, then I go to University with my laptop, work there, connected to the local network, then I come home and cannot browse even the ...
0
votes
0answers
35 views

Can browse, can nslookup but cannot ping/ssh/ftp/

I can also use apt-get to install stuff and I can ping hosts in my lan. Ping gets stuck: ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. this is my route table: Kernel IP routing table ...
0
votes
0answers
91 views

Really odd behavior in my ping command

I was experimenting with echoing $? for error codes so I was trying to test successful pings and ping timeouts and non-existent host names, etc. I tried ping -c 1 lkmdsalkmsalkmdaklsldm.com to give ...
0
votes
1answer
54 views

How can I ping from specific network card on Ubuntu v16.04 LTS?

This is my network config on my laptop running Ubuntu v16.04.3 LTS: luis@Hipatio:~$ ifconfig enp2s0 Link encap:Ethernet direcciónHW 68:f7:28:d2:a4:ce Direc. inet:192.168.11.119 Difus.:...
4
votes
0answers
979 views

System error when pinging another network's name

Before I upgraded to Ubuntu 17.04, the following allowed me to ping another computer connected to the same network: sudo apt install winbind libnss-winbind Modify a line in /etc/nsswitch.conf to ...
1
vote
1answer
2k views

prevent ping output from showing (truncated) instead of time=

prevent ping output from showing (truncated) instead of time=##.# ms The problem of undesired output format is clearly due to the test I'm running: determining packet loss threshold by packet size. ...
0
votes
1answer
560 views

How to force ICMP to run through TOR?

As far as I know, ping send ICMP echo request to host. And ICMP is the layer 3 of OSI model. But TOR use TCP , which is the layer 4 of OSI model. So ping can't be run through TOR normally. But here ...
2
votes
1answer
374 views

Ubuntu 16.04 how to use ping in a bash script to decide whether to skip a block of code

I have data loggers spread around the solar power system, and a single program that runs at midnight to collect the day's data and put it on a hard drive. The bash script on the Ubuntu server steps ...