Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Hardware

Connecting PCs and Macs via Infrared Communications? 38

Stuee asks: "Isn't it about time my friend and I could sit opposite each other on the train and share documents or images without having to build a small network?! I mean, what's the point of both systems having infrared, and software to bridge the platform gap, if we can't connect? It's so frustrating that my XP laptop reports that my friend's iBook is in range, but cannot do anything about it, especially when my phone (which was a fraction of the cost of either laptop) and pocket device can communicate with both machines without any problem! If anyone knows of a workaround for this (other than cables), I think there would be a lot of people interested in hearing about it. Thanks for listening."
This discussion has been archived. No new comments can be posted.

Connecting PCs and Macs via Infrared Communications?

Comments Filter:
  • You said it yourself - cable. If you both have ethernet you can just use a single swapped cable. Lo tech = cheap, quick easy reliable etc. etc.

  • by blastedtokyo ( 540215 ) on Thursday October 17, 2002 @02:52AM (#4467325)
    It's not exactly as friendly as Windwows to Windows or Mac to Mac but you can use Hyperterminal on Windows and the communications program in AppleWorks to talk to each other. Then you'd use ZModem or another protocol by choosing Send File from one machine to the other.

    The only trick is that you need to choose IR (or in some cases it says Virtual IR) as the COM port instead of choosing a modem or COM port. Oh yeah, and make sure the two IR ports recognize each other.

  • I don't recommend you use the infrared ports for any serious communications. While it may be convenient for trivial tasks, I wouldn't commit anything as important as a file transfer to it. The link just isn't hardy. Do yourself a favor, get a crossover ethernet cable and just hook the two machines together.
  • I presume this isn't a recent iBook, since all of the new ones, at least here in AU, have no IR port. Just wondering... do us Australians get a raw deal?

    Why not look at getting a wireless ethernet card or two? All of the speed of a standard (albeit "slow") network, none of the cables. It's a relatively cheap workaround that doesn't involve cabling. :-)

    • I presume this isn't a recent iBook, since all of the new ones, at least here in AU, have no IR port. Just wondering... do us Australians get a raw deal?

      No... you're absolutely right. That brings up a great point. There's never been an IR port an any iBook. Maybe the submitter meant PowerBook instead; many PowerBooks, including the G4, have IR ports on them. (Although I'm not sure why.)

      To a non-Mac person, the distinction between an iBook and a PowerBook might not be immediately obvious. Benefit of the doubt applies here, I think.
  • Hate to say this: (Score:2, Informative)

    by Perdo ( 151843 )
    The iBook HAS NO IR PORT.
    • Re:Hate to say this: (Score:3, Informative)

      by larien ( 5608 )
      Hrm, so what voodoo does he use to get it to talk to his phone and pocket device?

      RTFA:

      my phone ... and pocket device can communicate with both machines without any problem
  • by OneFix ( 18661 )
    Wireless (802.11b)...this is a great alternative...my LUG uses it all of the time, it's great because you get real high speeds out of it (over 10 Mb vs. 256k MAX for IR) and it's available almost everywhere...you'ld be supprised how much wireless is in the air.

    As for security ... don't read everything you hear ... you're already mobile ... but then again, IR is worse because there is NO built-in security (except maybe the line-of-sight/distance thing)!!!

    You can easily find PCMCIA wireless cards for under $50 ... You get fast, easy connectivity, without the whole line-of-sight requirement and you get a great mobile network card that you'll find yourself using more and more as time goes on.

    Not to mention that you can get Wicked Distance [frars.org.uk] from 802.11b!!! Yes, this is a special case, but 100 meters is certainly no problem.

    While IR is nice and will certainly be used (in other devices) for a long time to come, 802.11b should be your choice for mobile networking. It's worth noting that many companies are already including built-in 802.11b in their notebooks (either standard or as an option).
  • PPP is the protocol you'll probably need to use, but you have a couple of problems.

    The easy one: One of you will have to act as a PPP server.

    Harder:

    Mac OSX 10.1 doesn't support the IR ports on some powerbooks. http://docs.info.apple.com/article.html?artnum=106 617

    MS has added some layers that complicate basic IRDA behavior, and implemented their own IrNET network protocol instead of the IrLAN standard. I'm not even sure you can get raw access to the IRCOMM layer that allows you to treat an IR port as an ordinary serial port.
    http://www.microsoft.com/hwdev/tech/network /infrar ed/WinXP-IrDa.asp

    http://www.irda.org/

    The real difficulties of "building a small network" are difficulties of software, not hardware.

    There is one advantage of stringing a crossover cable across the aisle. You could end up with both laptops flying towards the ankles of the person you trip.
  • One of the few problems I still have with using Linux as my sole platform for work is IR. I frequently find myself at some client site with a couple of colleagues with a need to move some files around. We all have Thinkpads with IR, and when we were all running Windows it was easy to beam stuff around. But with Linux, I can no longer participate effectively.

    Yeah, I know about ircp, but it's quirky, unreliable and *dog* slow (less than dialup speeds) when transferring to a Win2K box. I've read that there's another approach that requires reconfiguring the Win2K side, but that's not really an option, because, usually, if the need is sufficiently urgent that it's worth doing there's no time to futz with things. It has to just work.

    OTOH, I can't complain too much, since I didn't pay anything for ircp and I don't care enough to fix it myself, but it sure would be nice if someone else would do it (or if someone would post a reply saying they've done it, or that there's some better tool to use? Please? ;-)

  • MacLAN (Score:3, Informative)

    by dr00g911 ( 531736 ) on Thursday October 17, 2002 @04:58PM (#4473241)
    Perhaps you should download a demo of PC MacLAN [miramarsys.com] and install that on the XP machine.

    You should be able to bind Appletalk to the Infrared port on MacLAN.

    From there, you assign infrared on the Mac (in OS 9 or X) to be the current Appletalk port, restart file sharing and away you go.

    Seriously, though: go for the Airport/Orinoco 802.11 card option. It's one hell of a lot faster and more reliable. You're not gonna be able to do Unreal Tourney or Warcraft matches (very well) over IR because the speed is too low and the latency is too high. You've also got line-of-sight issues. Just try synching a palm over IR and you'll see what I mean. It's freaking SLOW.

    I'm also curious how you got an iBook with an IR port. ;) USB add-on maybe?

    TiBook, yes. iBook, no for built-in.
    • One of the irritating things about Apple is their naming conventions, or lack thereof.

      There are, if I recall correctly, 5 separate types of machines called "Powerbook G3". They decided to make things slightly better by calling some of them "PowerBook G3 Series" later, but within that grouping there are architectural differences as well (i.e. I'm not just talking about things like CPU speed and/or minor component changes).

      This also explains why they have things like "PowerMac G3" vs "PowerMac G3 (Blue and White)".

      There are articles on their information base where they ask you to look at the ports you have, etc. etc., to exactly what machine you actually have. Imagine their tech support calls. ("I have a PowerBook G3" "Which one?" "huh? It says PowerBook G3 on the label" "hang on while I transfer you to someone else, because I swore the next time I had to talk someone through which keys they had on their keyboard, I'd quit").

      So, basically, there ARE iBooks that have IR ports. Just not the "marble"/"icebook" ones you see on sale now.
  • most of the answers go round "tech", which I have something to say about too, but first thing I've got to say is: practically, IR port locations may prevent you from "communicating via IR" anyway. Think about it. There's no "standard" for IR port locations. IBM T-series have their IR port on the left, below the palm rest and next to the headphone jack. Not everyone can "sit opposite each other on the train and communicate" even if they had full IR. This is NOT a trivial problem -- this one time I had to share files via IR with a friend sitting on the same bench, and BOTH of us had ports on the same left side of the machine. Think about how that works out. We were two bloody uncomfortable people for a bloody long time while our bloody large file transferred, let me tell you that.

    Cables have their practical problems too, of course (esp. if you're sitting "opposite each other on the train" and don't want either (a) some kid try to use it as a skipping rope or (b) some big guy tripping on the cable and deciding to break your laptops).

    And, if you're sitting on the same bench side by side, having the ports on the BACK of the machine doesn't really help either.

    Re: cables - all Macs since around 1999 (before, actually, but I'm not sure exactly when; if it's colourful and/or has white on it anywhere it should be safe :-) will have built-in ethernet that won't need crossed cables - they'll auto-detect whether you're plugged in to a hub or directly to another machine. They'll also auto-assign themselves a 169.x.x.x IP address (whether or not you're using OS X or not), so you'll at least be able to ping each other.

    That leads on to the next question - what do you mean by "communicate"? File transfer? Network gaming? It's not all the same thing. You bring up the example of your phone, but quite frankly, those are completely different issues. Are you going to transfer a PDF file to your phone? (Assuming it's not a semi-PDA, I'm guessing the answer is no). Some IR links are just file-sharing links, while some links are "full networks". Does a phone that can be used by your laptop as a wireless modem count as "communicating"? That's more a "(purpose-built?) feature" than "communication".

    IR is slowly getting retired, I believe, thanks to all the radio-wireless (since IR is "wireless" after all :-) systems that are coming up, primarily because of the line-of-sight/placement practical problems (not to mention screwy lighting messing up the transfers and/or comparatively low speed limits in today's world).

    I think the only real option is 802.11b/a/g.

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...