ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.