LinuxQuestions.org
Register a domain and help support LQ
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 02-22-2013, 07:22 AM   #1
bhupesh2020123
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
one way ping problem


I have two linux based machine (different kernel version), say A and B. B is a freescale board on which i installed linux-3.0.35 and usb ncm gadget driver. I am trying to ping one machine by another via USB.
I am able to ping B from A. But unable to ping A from B.

Routh table of machine A is (ip address 192.168.5.2)

Destination Gateway enmask Flags Metric Ref Use Iface

192.168.5.0 * 255.255.255.0 U 0 0 0 usb0

Routh table of machine B is (ip address 192.168.5.1)

Destination Gateway enmask Flags Metric Ref Use Iface

192.168.5.0 * 255.255.255.0 U 0 0 0 usb0

any guess about the problem ??
 
Old 02-22-2013, 08:02 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Can you do a nslookup on each machine for other one. And what does /etc/hosts say?
 
Old 02-22-2013, 08:09 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,956

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
"I am able to ping B from A. But unable to ping A from B."

When you issued command ping to A, the ping left B and went to A. It then was allowed to reply back to B. The connection was fully tested both ways.

That single ping proved that both sides did in fact transmit and receive. Ping is a two way connection in order to pass. It is also a poor choice for most uses anymore.

Since we know both systems are connected as proved by a single passing ping we then need to look at ways one system would deny local use or remote use.
 
Old 03-02-2013, 05:36 AM   #4
bhupesh2020123
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yes ping inot a good way to test connection. In ping response comes on the same path by which it goes A to B. So sometimes A to B ping is possible but B to A has some problem . I open TCp socket and tried to write some data. I am able to do both read and write opearation. I think problem is in NCM gadget driver. Thanx for the help
 
  


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
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 06:32 AM
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 13 03-17-2011 03:47 AM
Debian 5 , after SysCp Installation and configure Ping Valure ( ping: unknown host ) brenner23 Linux - Networking 1 07-14-2010 10:01 PM
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 06:59 PM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 05:57 AM


All times are GMT -5. The time now is 02:18 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