LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-06-2002, 12:51 PM   #1
Zero
LQ Newbie
 
Registered: May 2002
Posts: 3

Rep: Reputation: 0
Unhappy Can't ping linux box


Please help,

I'm a real linux newbie but I know windows well. I've recently installed RH 7.2 and I can't access the server from any of my windows (XP or 2000) boxes. I can't even ping it by name or number.

Everything else seems to be working fine. I'm on a home network with a gateway and the linux box connects fine to the gateway (I'm using it to compose this). I can even see the linux box entry in my network listing on the windows boxes but can't access it (with samba running) and can't even ping it.

ifconfig:
eth0 Link encap:Ethernet HWaddr 00:10C:23:C8:1C
inet addr:192.168.0.21 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:2160 errors:0 dropped:0 overruns:0 frame:0
TX packets:2312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1814814 (1.7 Mb) TX bytes:380240 (371.3 Kb)
Interrupt:11 Base address:0x3000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10912 (10.6 Kb) TX bytes:10912 (10.6 Kb)

Route:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.15 0.0.0.0 UG 0 0 0 eth0

Also, I can ping the windows machines from linux just fine.

help,
Zero

Last edited by Zero; 05-06-2002 at 12:53 PM.
 
Old 05-06-2002, 01:56 PM   #2
Zero
LQ Newbie
 
Registered: May 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Well I've managed to get ping up and running for three seconds by turning off the firewall (I think) or by enabling the echo and echo.udp lines in xinetd.d

Turning off the firewall was problematic. I'm not sure what's happening but when I run gnome-lokkit (the program rh tells you to run) it gets to a point where it is checking mail and then it errors out and sits forever at a checking mail prompt (which I can close but nothing is said - did it work? who knows).

Anyway, after this I did a ipchains -F to refresh the firewall and now I can't ping anymore. What's going on here? As far as I can tell I've disabled the firewall and enabled the echo stuff but nothing seems to work right.

This stuff could be easier.

Zero

Last edited by Zero; 05-06-2002 at 02:08 PM.
 
Old 05-07-2002, 05:48 AM   #3
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
problem in ur firewall

Hi ,


yeh u definately have a firewall problem.

since ping uses ICMP u have a firewall rule that blocks icmp messages.

Try ftp or telnet application on the linux box ( ie ; telnet or ftp from the win machine .... and see the response )

disable the firewall scriptr from one of your startup scripts and restart the linux box.


Regards,
Xanthium.
 
Old 05-10-2002, 08:59 PM   #4
Zero
LQ Newbie
 
Registered: May 2002
Posts: 3

Original Poster
Rep: Reputation: 0
More info

Alright, I've reinstalled with no firewall and here's the symptom:

if I run tcpdump on the server Samba works fine. If I don't run tcpdump then I can't connect to the linux box.

Also, trying to run VncClient on a winxp box is frustrating. It can connect (usually) but then

a) I get a DCOPserver failure and can't run anything from KDE

b) If I exit it doesn't do this cleanly and I have to manually restart the vncserver

c) If I logout of KDE I get a blank screen that requires closing the client and restarting KDE manually at the server and restarting vncserver

Any ideas what's going on here? This is extremely frustrating.

Zero
 
Old 05-11-2002, 01:26 AM   #5
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
Exclamation damn strange

Hi Zero ,

Now iam not a security expert but it is baffling to know that
SAMBA should not work until tcpdump is running ( i guess u mean that while u were capturing packets ?)

Are u running tcpdump in promiscuous mode ?
Try switching it off and check .

Try using the tcpdump-smb utility ( although i have never used it myself ).


Regards,
Xanthium.

Last edited by xanthium; 05-11-2002 at 01:43 AM.
 
  


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
Cannot ping linux box from XP box antare Linux - Networking 10 03-10-2005 10:48 AM
canīt ping my linux box by its name :( pavalosv Linux - Networking 3 01-13-2005 11:03 PM
can't ping linux box jammy3 Linux - Newbie 3 12-03-2004 11:33 AM
Cannot ping the linux box amirbhai Linux - Networking 4 06-25-2004 04:43 PM
cant ping my linux box tommytomato Linux - Networking 56 05-18-2004 11:27 AM


All times are GMT -5. The time now is 11:02 AM.

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