The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Syncing (http://forums.omnigroup.com/forumdisplay.php?f=50)
-   -   iPhone Internet Tethering = USB syncing to Omnifocus (http://forums.omnigroup.com/showthread.php?t=12859)

y011 2009-06-24 02:26 AM

iPhone Internet Tethering = USB syncing to Omnifocus
 
A colleague and I were updating to 3.0 the other day and he immediately tried out tethering since our carrier here in Australia hasn't locked that down. It worked and the way he described it working sounded to me like:

* iphone is presented as some kind of USB ethernet device to Mac
* DHCP server runs on iphone to give iphone fake usb ethernet interface a TCP/IP address
* phone NATs mac's connection made over it to 3G

This would mean that there's a little IP network between the iphone's "ethernet" interface on the mac and the iPhone.

hearing that my first thought, literally, was wondering if the omnifocus on the iphone's Bonjour advertisement I'd normally see over wifi would be visible to the mac when the phone was in this mode.

Finally had a look today - yep it is. Once I make tethering available it's just another interface with an IP address on the iPhone and the multicast Bonjour advertisements are emitted on all interfaces including the one "facing" the mac over the USB. So I can now sync when I'm onsite and have no super secure wifi network to use.

20:10:28.259587 IP 192.168.20.1.5353 > 224.0.0.251.5353: 0 [2a] PTR (QM)? _ofocus-sync._tcp.local. (107)

That's omnifocus on the iPhone making itself discoverable by the mac via Bonjour. From there it finds the bonjour advertisement for the sync server it's looking for and it syncs. That simple.

In the past my options when I'm onsite (away from my networks :-) were to use .Mac or to run an adhoc wifi network on my mac and connect over that. Both those options scare me (.Mac is asking for it and an adhoc networks only support busted-since-2001 WEP).

So this working over tethering is pretty win.

I'd imagine the same will be the case with Internet Tethering and bluetooth assuming BT tethering presents itself to the mac as a network bluetooth profile or a dial-up-networking profile. I haven't checked that yet.

Basically if you run 3.0 and your carrier isn't super evil you can use this to sync omnifocus to your phone.

Even if they don't permit tethering (AT&T) maybe those carrier settings applied with 3.0 don't entirely hide the Internet tethering function. So you may still be able to enable this link between the phone and the Mac. Worth checking.

y011

Brian 2009-06-24 11:13 AM

Nice tip - thanks very much for posting that! Going to edit the title of the thread to make it a bit clearer that this won't work for iPod Touch users...

pendolino 2010-02-23 10:24 PM

works over bluetooth!
 
wow its pretty impressive that as soon as i switched on OF for iphone while i was bluetooth tethered with my macbook than it synced immediately (after asking for permission) !

i had no idea it would work 'out of the box' with no config required and so i googled and found this.

thought i would share my experience with others. i have not tested the USB tethering but assume that it would work as well.

very nice.


All times are GMT -8. The time now is 06:57 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.