LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-08-2004, 04:37 PM   #1
devindude
LQ Newbie
 
Registered: Mar 2004
Posts: 12

Rep: Reputation: 0
ping command in terminal window


when i go to PING anything.. its doesn't matter what i'm pinging... its like it PINGS it, just does NOT display anything, like ping reply from or request timed out.. it just sits there until i hit CTRL - C to get it to stop.. & then it actually shows the statistics of the ping.. how many sent & recieved & everything.. however, i'm not sure i have got any of them to say they received, i'm wondering if there is some setting i'm missing out on here, or if anyone has hearda this b4?

thanks to all who can offer suggestions..


thadoc
 
Old 03-08-2004, 04:52 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
you should just be able to type ping <ip address> and it should show you as it sends each packet, then when u hit ctrl + c it will show u sent, received, loss, etc. you may be able to try ping -v <ip address>. I'm not at my linux comp so i am not sure, but i ping quite a bit and never had a prob
 
Old 03-08-2004, 05:19 PM   #3
devindude
LQ Newbie
 
Registered: Mar 2004
Posts: 12

Original Poster
Rep: Reputation: 0
yah I totally feel wat ur sayin.. i work for an ISP, so i use pinging/traces all day long & when i got fedup wit windoze the other day, i put redhat on here & see how i do on hyea


well anyway, u are correct.. that is the problem i'm having with it.. lemme see if i can paste sum shit..


this looks weird, but my internet works &all, just cant ping.. kinda crazy

ping www.yahoo.com
PING www.yahoo.akadns.net (216.109.117.110) 56(84) bytes of data.

--- www.yahoo.akadns.net ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5038ms
 
Old 03-08-2004, 05:21 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
Strange...You should see all sent packets. Try something like
ping -c 4 blah
-c 4 tells ping to send 4 pings.
 
Old 03-08-2004, 05:23 PM   #5
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
try pinging the ip and not the web address
 
Old 03-09-2004, 09:38 AM   #6
devindude
LQ Newbie
 
Registered: Mar 2004
Posts: 12

Original Poster
Rep: Reputation: 0
ahh, you were the man on the -c that actually had it show me the packets just like i wanted to... NOW... how in the hell do i get it to where i aint gotta put the -c 4 to get it to show? any ideas?

& bosewich how come i have to use the IP? cuz u were correct also. am i just retarded or wat? hehe dont answer that!!

thadoc

Last edited by devindude; 03-09-2004 at 09:41 AM.
 
Old 03-09-2004, 05:03 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
You probably have a problem with DNS setting. It's probably slow and it takes much time for the query about the site you're pinging to get to you. When you ping using IP,, DNS servers are not used. Please check your DNS configuration (in /etc/resolv.conf). Make sure you have your ISP servers in.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get colors in terminal window? emanresu Linux - Newbie 3 11-15-2005 03:55 PM
Nautilus (or some other FM) to terminal window? exitsfunnel Linux - Software 2 05-07-2004 02:30 AM
A permanent terminal window? flamesrock Linux - Software 2 10-09-2003 03:58 AM
Modifying your terminal window...!! tarballed Linux - General 1 05-23-2003 05:24 PM
problem with the terminal window juanb Linux - General 1 03-18-2003 06:44 PM


All times are GMT -5. The time now is 06:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration