Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 05-21-2009, 07:33 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 19

Rep: Reputation: 0


I am trying to setup the network interface on a fresh board. I have compiled a fresh kernel and inserted ethernet drivers.
I brought the interface up through ifconfig command and now I can ping from board to my PC and also from PC to board both ways.

Board and PC are connected back to back through an ethernet cable

Board <---------> PC

Now I have run a simple TCP Echo client on the board and TCP Echo Server on the PC. TCP client which is running on the board while "connect" system call fails with "Time out" error code.

I have captured the ethereal traces and found that SYN, SYN_ACK are being exchanged but no ACK is returned by the TCP client running on the board.

The same TCP echo client works fine when run on some other Linux PC machine and is able to connect with the echo server running on my PC.

Kindly suggest what could be the probable reason for this on the fresh board.


Last edited by nitinarora; 05-21-2009 at 07:34 AM.
Old 05-21-2009, 07:31 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,526

Rep: Reputation: 137Reputation: 137
The SYN_ACK should be checked, such as sequence number, port number. Maybe echo client doesn't recognize the SYN_ACK. If you can port ethereal trace, that's great.


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
iptables; ACK/SYN/etc; understand the bits, and potential firewall entries TheLinuxDuck Linux - Security 2 10-18-2011 10:17 PM
TCP handshake fails, SYN/ACK ignored by system. xnomad Linux - Networking 1 09-28-2011 12:10 PM
TCP stack imediately sends RST after it receives SYN-ACK berkon Linux - Networking 2 05-03-2009 02:56 PM
TCP packet flags (SYN, FIN, ACK, etc) and firewall rules TheLinuxDuck Linux - Security 12 04-29-2005 12:30 AM
Ack, Help! meddleRPI Linux - General 2 05-23-2003 11:32 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

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