LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-21-2003, 06:01 PM   #16
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15

david. All that returned like you said. here are my results trying to ping various websites in format of "ping URL -c 1"

Google.
Code:
--- 127.0.0.1 ping statistics ---
[root@dhcp-214-1141 root]# ping google.com -c 1
PING google.com (216.239.37.100) 56(84) bytes of data.
 
--- google.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
aol.
Code:
[root@dhcp-214-1141 root]# ping aol.com -c 1
PING aol.com (149.174.130.216) 56(84) bytes of data.
 
--- aol.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
Linuxquestions.org
Code:
[root@dhcp-214-1141 root]# ping linuxquestions.org -c 1
PING linuxquestions.org (64.179.4.146) 56(84) bytes of data.
 
--- linuxquestions.org ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
I don't know if that helps any. I get good results when I ping myself, but everything else doesn't work. I have no firewall on too by the way.

**Also someone asked me what type of ip mine is and I looked it up and it is a dhcp connection. I have the ability to change to static and bootp

Last edited by Manny88; 09-21-2003 at 06:04 PM.
 
Old 09-21-2003, 06:10 PM   #17
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
ok. a little update. I just pulled up my .xsession errors in hope of something and I found something with my ping command that maybe might help us figure this out.

Code:
[root@dhcp-214-1141 root]# cat .xsession-errors
SESSION_MANAGER=local/dhcp-214-1141:/tmp/.ICE-unix/1949
 
** (gnome-panel:2008): WARNING **: Unable to load panel stock icon 'go'
 
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
 
(nautilus:2010): Eel-WARNING **: emit_event() returning FALSE!
 
Shutting down interface eth0:  [  OK  ]
Shutting down loopback interface:  [  OK  ]
Setting network parameters:  [  OK  ]
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  [  OK  ]
Window manager warning: Tried to ping a window with CurrentTime! Not allowed.
I noticed the last one. Thought it might mean something.

Last edited by Manny88; 09-21-2003 at 06:11 PM.
 
Old 09-21-2003, 06:12 PM   #18
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I can ping all but AOL which has most likely disabled pings. The fact that it is giving you the IP address of the server correctly - ie "linuxquestions.org (64.179.4.146)" means that your DNS is working. This means that along the way pings are being dropped. What type of internet connection do you have? Perhaps you have an iptables rule blocking outbound pings:
iptables -L
 
Old 09-21-2003, 06:54 PM   #19
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
I'm running an NIC ethernet cable connection. I can telnet fine and I can search the WWW fine. Its just that ping command thats really bugging me. I tried that iptables -L and it says command not found
 
Old 09-21-2003, 07:13 PM   #20
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Iptables has to be run as root.
 
Old 09-21-2003, 07:22 PM   #21
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
I am root when I do all this. This is what happens

Code:
[root@dhcp-214-1141 root]# iptables -L
bash: iptables: command not found
 
Old 09-21-2003, 07:53 PM   #22
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
It's in the /sbin directory. Have a look there. If it's not there, make sure you've installed the iptable package.
 
Old 09-21-2003, 08:12 PM   #23
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Ok. I don't see ip*, iptunnel, and ipmaddr. No iptable. What package would that be?
 
Old 09-21-2003, 08:48 PM   #24
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
What kernel version are you running?
 
Old 09-21-2003, 08:51 PM   #25
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
uhh... Whatever the Mandrake 9.1 is. Also what type of package would that be? I searched through my package options under rpmdrake and didn't see anything. Although I did finally get my traceroute I didn't see anything to do with extra bash commands ect ect.

Last edited by Manny88; 09-21-2003 at 08:53 PM.
 
Old 09-21-2003, 10:15 PM   #26
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Have a look on google for a package called iptables or something. I'm not sure what the mandy packages are called. To find out your kernel version type uname -r.
 
Old 09-21-2003, 10:28 PM   #27
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
its 2.4.21-0.13MDK
 
Old 09-21-2003, 10:42 PM   #28
Manny88
Member
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
Ok. I got the iptable package and extracted it, but I can't install because there isn't a config file...
 
Old 09-21-2003, 11:31 PM   #29
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Before you go into the compilation too far, try to find an rpm so you'll save yourself the trouble of compiling.

If you can't find an rpm then I guess you'll have to compile. So, you're saying that ./configure brought up an error?
 
Old 09-22-2003, 04:00 AM   #30
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Manny88, a silly things for you to do.
Try to check network, such as have you configured your broadcast IP correctly.

I am not sure and this is only a silly things, but its worth to try it, you have nothing to lose.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
ping command hypnotiks Linux - Networking 1 07-15-2004 09:34 PM
ping command in terminal window devindude Linux - Newbie 6 03-09-2004 04:03 PM
Ping command is acting weird xailer Linux - Newbie 2 11-17-2003 09:37 AM
ways to log command 'ping' 'telnet' noelcantona Programming 3 09-28-2003 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration