LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-11-2004, 05:36 AM   #1
spies
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Connecting Linux and XP with IP over Firewire


Hi!

I hope somebody can help me.

I tried to connect an windows PC (Win XP) and a linux machine (Suse Linux 2.4.20) with IP over Firewire. (1394b)!!!

I tried to ping, but that doesn't work.

To view the traffic on the 1394 bus, I recorded the ping operation each between two linux PCs and two XP PCs with FireSpy.

Both packed the IP frame in their data block. So far, so good, here comes my problem:

Linux seems to use the split transaction mode resp. concatenated transaction mode. That means, after a WriteBlockRequest comes a WriteResponse.

XP seems to use the unified transaction mode. Means there is no response subaction. The acknowledge packet informs the requester that the subaction is complete. (I hope I am right so far).

Why do XP and Linux use different transaction modes? Where is this defined? How can I influence this?

I think it must be possible to connect XP and Linux, because Linux is able to transfer data with IP over Firewire to anothe Linux machine.



I would be glad, if somebody could help me!!
 
Old 02-23-2004, 01:08 PM   #2
level
Member
 
Registered: Jan 2004
Posts: 82

Rep: Reputation: 15
I'm having the exact same problem. Linux to linux via firewire, pinging is no problem; WinXP to WinXp, complete network capabilities. Linux to WinXP and I get nothing. My windows box does; however, show up in gscanbus, but that's all.

If you get it solved, I'd like to know how you did it.
 
Old 02-25-2004, 04:36 AM   #3
spies
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi!
I can not say that I have solved the problem completely, but i can ping a XP machine from a linux PC and the other way round. I can also do a file transfer.

I found a problem in the ohci1394.c driver module for ieee1394.
The module is not RFC 2734 compliant. The configuration ROM entry of the Linux 1394 card is not complete. The Linux card and the windows card swap their Config ROM entries.
The Linux driver does not write the IP capability to its config ROM as described in RFC 2734. For XP than the linux PC is not IP capable.

If you add this entry to the driver module ohci1394.c as described on page 13/14 in RFC2734, the connection works.

But it is very unstable. I suggest, because of that, the driver developers removed this entry out of the driver module to avoid the crash of the Linux system (that is sometimes the result of the connection).

I will work on that problem.

Last edited by spies; 02-26-2004 at 04:53 AM.
 
Old 02-25-2004, 09:19 AM   #4
pavgust
Member
 
Registered: May 2003
Distribution: Debian
Posts: 40

Rep: Reputation: 15
Wow, fantastic work in figuring that out... let the guys at www.linux1394.org know about your findings... if you think it's stable, I'd really appreciate specific instructions on how to achieve the connection, and there are plenty more..

Please keep us posted with your progress...

*goes to see ohci1394.c for himself *

Keep up the good work!
 
Old 03-13-2007, 03:52 PM   #5
intangir
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
On a similar issue, I'm trying to connect WinXP to win2k. I know this would be much easier using a Mac, but I haven't gotten one just yet *lucky ol' me*. Anyway, I managed to set the IP addresses on the two boxes, I just can't seem to connect to on or the other through the other. Would I use Remote Desktop Connection or SSH? I've seen some people use SCP, but I pretty much want to move some files over. Also, I'm only using one Firewire cable, someone mentioned that I have to use a crossover firewire for this to work.
 
  


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
Firewire HD problem connecting [HELP] maginotjr Slackware 8 12-20-2005 02:40 AM
Will a firewire host adaptor with a Linux supported IEEE1394 chipset work in linux? mmx87 Linux - Hardware 1 09-25-2004 02:22 AM
linux on firewire mswift Linux - General 1 01-19-2004 07:58 PM
Firewire array in linux? charon Linux - General 1 09-07-2003 08:27 PM
Firewire in linux Jalorathalis Linux - Networking 1 06-08-2002 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration