11200
![]() |
|
|
|
|
|||||||
| Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I got my new iPhone today, and playing around with it found that it had an option for internet tethering ( my old one had that to, but I had no 3g-data service ), so I would like to use it with my FreeBSD install.
A bit of googling gives that it actually works on linux, via a in-kernel driver ipheth and a userland utility to pair the device. Has anyone made any attempt at porting those utilities to fbsd? For those interested the driver and userland utils are available here here. The author has a bit more info on his site Any dev wanting to take up the task? Anyone else interested in this functionality? Best regards andrnils |
|
#2
|
|||
|
|||
|
Since im only using Windows to tether and put software updates on my iPhone im really interested in this!
|
|
#4
|
|||
|
|||
|
That is interesting. Too bad nothing did happen
But I think that may be because one needs to send some magic command to the phone first ( pairing ), so perhaps a port of the userland tools and then a new test
|
|
#5
|
|||
|
|||
|
Some progress, I have some semi-working ports for libplist and usbmuxd, so only libimobiledevice left before a real try with cdce(4) can happen.
And then a some cleaning of the Makefiles for the ports. I've never written any before so there are bound to be errors, gotchas and so on ![]() Regards andrnils |
|
#6
|
||||
|
||||
|
Congrats!
|
|
#7
|
|||
|
|||
|
So I went ahead and compiled libimobiledevice ( no port yet ), and tested. I can now pair my iPhone with my computer
Code:
[andrnils@t510 /opt/iphone/bin ] 18:57:47 =0 $ sudo usbmuxd -U root -f [18:57:50.749][3] usbmuxd v1.0.5 starting up [18:57:50.755][3] Initialization complete [18:57:56.763][3] Could not check kernel ownership of interface 0 for device 1-5: -99 [18:57:57.743][2] Could not set configuration 4 for device 1-5: -2 [18:57:58.744][3] Could not check kernel ownership of interface 0 for device 1-5: -99 [18:57:58.793][3] Connecting to new device on location 0x10005 as ID 1 [18:57:58.794][3] Connected to v1.0 device 1 on location 0x10005 with serial number 658b072e06fb6fcc6aa9a440a7dbd7594cec8417 Code:
{USB_VPI(USB_VENDOR_APPLE, 0x1297, CDCE_FLAG_NO_UNION)},
Code:
#define USB_PRODUCT_APPLE_IPHONE_4G 0x1297 /* iPhone 4G */ Code:
cdce0: <Apple Inc. iPhone, class 0/0, rev 2.00/0.01, addr 5> on usbus1 cdce0: faking MAC address ue0: <USB Ethernet> on cdce0 ue0: Ethernet address: 2a:ba:b8:d4:02:00 cdce1: <Apple Inc. iPhone, class 0/0, rev 2.00/0.01, addr 5> on usbus1 cdce1: faking MAC address ue1: cdce2: <USB Ethernet> on cdce1<Apple Inc. iPhone, class 0/0, rev 2.00/0.01, addr 5> on usbus1 ue1: Ethernet address: 2a:07:b9:d4:02:01 cdce2: faking MAC address ue2: <USB Ethernet> on cdce2 ue2: Ethernet address: 2a:32:b9:d4:02:02 cdce0: <Apple Inc. iPhone, class 0/0, rev 2.00/0.01, addr 5> on usbus1 cdce0: faking MAC address ue0: <USB Ethernet> on cdce0 ue0: Ethernet address: 2a:75:5f:d7:02:00 cdce1: <Apple Inc. iPhone, class 0/0, rev 2.00/0.01, addr 5> on usbus1 cdce1: faking MAC address cdce2: <Apple Inc. iPhone, class 0/0, rev 2.00/0.01, addr 5> on usbus1 ue1: <USB Ethernet> on cdce1 ue1: Ethernet address: 2a:df:5f:d7:02:01 cdce2: faking MAC address ue2: <USB Ethernet> on cdce2 ue2: Ethernet address: 2a:2a:60:d7:02:02 Regards andrnils Last edited by DutchDaemon; August 18th, 2010 at 22:13. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#8
|
|||
|
|||
|
And now there is a port for libimobiledevices too. Just the kernel part left
And of course a bit of clean up...And as for the kernel part I'm probably not up to doing that on my own ![]() Regards andrnils |
|
#9
|
|||
|
|||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mount iphone | sk8harddiefast | Peripheral Hardware | 21 | January 30th, 2012 14:36 |
| usb-modem not switching to usb | wokko | Peripheral Hardware | 4 | May 11th, 2010 19:33 |
| FreeBSD on usb stick (Live USB) | zeiz | Installing & Upgrading | 19 | March 1st, 2010 11:49 |
| pci usb 2.0 card serves as only usb 1.1 on Asus P4S333/c | zeiz | System Hardware | 6 | August 26th, 2009 02:21 |
| iPhone and personal domain name email | Pushrod | Web & Network Services | 0 | December 22nd, 2008 16:06 |