LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2005, 02:30 AM   #1
sapna
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Question Networking Usign 1394 (IP over 1394)


Hi,

I have written my own ohci 1394 driver and IP over 1394 layer (compliant to RFC 2734 ). I am trying to intergrate it with Linux networking layer.
What is observe is that
I am able to ping each device over 1394.
But when I am sendign an HTTP request nothign seems to be happening.
I have captured a log usign Ethereal on linux and what I see is
the ARP request is going correctly and I am gettign a correct ARP respose for it too.
Then a TCP request with [SYN] set from the browser side goes to the server side ,
now from the server side I get a correct TCP respose with the flags [SYN ] and [ACK] set.
That is it, to this the browser side is supposed to send an TCP with flag[ACK] .
But in my case nothing happens , the browser keeps sending the first request again and again.

Questions:
Do i need to enable anything if I use the networking layer of Linux of IP over 1394.
Since the first response is comign correctly what could be the issue while sending the second response.

Any pointer woudl really be helpful

Regards,
Sapna
 
Old 04-04-2005, 08:33 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
can you ping across? is the routing table being populate dwith a route to the host?
 
Old 04-06-2005, 06:54 AM   #3
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Quote:
I am able to ping , and I have also captured the packets on ethereal. What i see is the ARP request are going fine and the respose for the ARP is also fine.
The first TCP request from the browser side is also correct and gets an [ACK] fromt he server side but the browser does nto send an [ACK] to this response ans keep send the first request again and again.
If you can ping accross the link, and recieve replies, then there is nothig wrong with the link. You networking stack works layers 1 - 4. Your web browser is a layer 7 protocol software and depends on the lower levels to work. If your web browser doesn't work, try a different browser, or verify that there is a route on the remote host to forward the packets to the destination. If the destination is the remote host, make sure that apache, or whatever server you're trying to access, is set up ro run on that port. Also check and see if you can ssh, telent, ftp, or smb connect to the remote host.
 
  


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
firewire (1394) networking mastahnke Linux - Networking 6 05-26-2009 11:06 AM
1394 woes... z_pcjr Linux - Newbie 1 10-04-2004 10:46 AM
Firewire 1394 help please studysession Red Hat 1 04-27-2004 03:00 PM
Ieee 1394 one9ooh6 Linux - Newbie 1 07-15-2003 12:32 PM
1394 Firewire flex411 Linux - General 0 05-10-2001 03:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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