Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

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


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.

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

Old 04-04-2005, 09:33 PM   #2
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, 07:54 AM   #3
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
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.


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

All times are GMT -5. The time now is 04:59 PM.

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