LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-21-2002, 09:20 PM   #1
thaque
LQ Newbie
 
Registered: May 2001
Posts: 10

Rep: Reputation: 0
RH7.3 cant Ping my embedded system


Hi everybody,
I programmed my embedded system as a html server. Windows (98,NT,2000,Xp,ME) can ping, get html files, pics, even java classes, but I cant Ping my system from a Linux box with newer or older versions. The linux box has 2 NICs, Eth0 for road runner, and Eth1 for local network (home network). Anyone has idea what I'm doing wrong with my linux box? Or is it my embedded program? Any difference between Windows ping and Linux ping? Please help.

thaque
 
Old 09-21-2002, 10:30 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what's the embedded systems ip address including netmask
what's the linux ip address including netmask
what's the output of route on the linux box
how are you pinging, name or ip address

how are they connected
 
Old 09-23-2002, 09:06 PM   #3
thaque
LQ Newbie
 
Registered: May 2001
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for your response. My embedded system ip:10.0.0.100,netmask:255.255.255.0. Linux ip:10.0.0.1, netmask:255.255.255.0. I'm pinging with ip address. Roadrunner is directly connected to eth0, and eth1 is connected to a passive hub, 1 win98 and my embedded system are also on the hub. Output route on libux box looks like this:
destination=10.0.0.0,genmask=255.255.255.0,Iface=eth1.
dest=66.57.172.0,genmask=255.255.254.0,Iface=eth0.
dest=127.0.0.0, genmask=255.0.0.0,Iface=Lo.
dest=default,gatway=case57-172-001.s,genmask=0.0.0.0,If=eth0
all other gateway=*, and flag=U

Thanks again.
thaque
 
Old 09-23-2002, 09:17 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
can you ping the windows box at 10.0.0.???

if not, it must be a firewall problem with the linux box



bring down the firewall with

/etc/rc.d/init.d/iptables stop

or

/etc/rc.d/init.d/ipchains stop
 
Old 09-24-2002, 09:37 PM   #5
smiddi
LQ Newbie
 
Registered: Jun 2002
Distribution: RH7.3
Posts: 9

Rep: Reputation: 0
This may help, but I had a similar prob where I couldn'e ping a WinXP box to RH7.3 or back.

Turned out the subnet mask for Linux was 255.255.255.0 whereas the subnet mask for WinXP/2k/ME/etc. (DHCP with no DHCP controller - using windows auto IP config) is 255.255.0.0

Is the Win box a static IP address?
 
Old 09-25-2002, 07:51 PM   #6
thaque
LQ Newbie
 
Registered: May 2001
Posts: 10

Original Poster
Rep: Reputation: 0
yes, my linux box can ping my win98 machine but not the embedded system. and my win98 machine can ping the embedded system. More and more it looks like the embedded system software is to blame??? Netmask for all 3 are 255.255.255.0. and ips are static. I also tried on a larger network (around 100 nodes) with the same result - windows can ping but linux cant.

thaque
 
Old 10-06-2002, 11:31 AM   #7
thaque
LQ Newbie
 
Registered: May 2001
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks guys.. for your time. The problem was my embedded software. Anyone writing web/network software for linux should know that there are some differences between Linux browser and Windows browsers - the number of bytes they send to the server. Thanks again.
 
Old 10-06-2002, 06:17 PM   #8
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
What are you using to create the embedded image?

I am still looking for something (nube easy)

Regards,
Peter
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded system programming anantshri Programming 1 09-17-2005 01:21 PM
Unable to ping internet through RH7.3 box w/ 2nics dc78 Linux - Networking 3 02-07-2004 07:56 PM
Embedded system. hemanexp Linux - Software 0 01-14-2004 03:58 AM
Ping But No Telnet Access Using RH7 london1970 Linux - Networking 1 08-23-2001 09:44 AM
Unable to ping out from RH7.1/Network Disabled Sully Linux - Networking 18 08-12-2001 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:41 PM.

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