Tiny Core Extensions > TCE 3.x

ipheth

(1/3) > >>

Juanito:
Thread started to allow testing of ipheth.

Since apple/local telco have blocked internet tethering/personal hotspot on my iphone, I cannot test these extensions fully, but here's what I've done so far:
--- Code: ---$ tce-load -i ipheth-pair
libusb.tcz: OK
libxml2.tcz: OK
glib2.tcz: OK
libplist.tcz: OK
usbmuxd.tcz: OK
libtasn1.tcz: OK
libgpg-error.tcz: OK
libgcrypt.tcz: OK
gnutls.tcz: OK
libimobiledevice.tcz: OK
ipheth-2.6.33.3-tinycore.tcz: OK
ipheth-pair.tcz: OK

--- End code ---

Next connect your iphone via the usb cable, the ipheth kernel module should load, the usbmuxd daemon should start and ipheth-pair should run:
--- Code: ---$ lsmod
Module                  Size  Used by    Not tainted
ipheth                  3560  0

$ dmesg
usb 1-7: new high speed USB device using ehci_hcd and address 4
ipheth 1-7:4.2: Apple iPhone USB Ethernet device attached
usbcore: registered new interface driver ipheth

$ sudo /lib/udev/ipheth-pair --list
7d873f0ce2c59d19897f1c49f61dbeee64086a1d juanito's iPhone

$ ps aux | grep usbmuxd
 2998 tc       /usr/local/sbin/usbmuxd -u -U tc
--- End code ---

According to http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver this should create a network interface eth1 (or possibly wwlan0), but this does not happen for me - perhaps because settings/general/network/personal hotspot cannot be enabled on my iphone.

If anybody would like to test this further, please be my guest

Juanito:
with a non-jailbroken iphone, I can mount the phone's filesystem with ifuse:
--- Code: ---$ sudo mkdir /mnt/iphone
$ sudo chown tc:staff /mnt/iphone
$ ifuse /mnt/iphone
$ ls /mnt/iphone
ApplicationArchives/                 Photos/                              Safari/
Books/                               Podcasts/                            com.apple.dbaccess.lock
DCIM/                                PublicStaging/                       com.apple.itdbprep.postprocess.lock
Downloads/                           Purchases/                           com.apple.itunes.lock_sync
PhotoData/                           Recordings/
--- End code ---

knightrous:
Installed and tested.
No tethering working so far. I have no issues with tethering on my carrier (Telstra) and was able to tether my iphone sucessful just a couple of minutes prior to testing in TC.
I was able to mount my iphone with ifuse, so that side is working great :)

Thanks for looking into this request so quick Juanito!
I look forward to testing and providing as much information as possible.

Juanito:
I discovered the udev rule file in the ipheth-pair extension was corrupted.

I don't think this will change anything in terms of tethering, but you could try deleting your local copy and downloading a new copy from the repo.

Otherwise, I'm still trying to figure out why a network interface is not created... 

Juanito:
I'd been looking for the ipheth internet interface with ifconfig, but discovered that one had been created with iwconfig - "eth1".

Here's what I get:
--- Code: ---$ sudo udhcpc -i eth1

dmesg
..
ipheth 1-7:4.2: Apple iPhone USB Ethernet device attached
usbcore: registered new interface driver ipheth
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:255 0xc034f714()
Hardware name: Latitude D430                  
NETDEV WATCHDOG: eth1 (ipheth): transmit queue 0 timed out
Modules linked in: ipheth squashfs scsi_wait_scan ramzswap loop pcmcia yenta_socket sdhci_pci dell_wmi video sdhci rsrc_nonstatic backlight
 wmi battery pcmcia_core ac output mmc_core tg3 ssb libphy
Pid: 0, comm: swapper Not tainted 2.6.33.3-tinycore #2012
Call Trace:
 [<c0128285>] ? 0xc0128285
 [<c034f64d>] ? 0xc034f64d
 [<c01282ca>] ? 0xc01282ca
 [<c034f714>] ? 0xc034f714
 [<c013a661>] ? 0xc013a661
 [<c01242b2>] ? 0xc01242b2
 [<c01138e2>] ? 0xc01138e2
 [<c0113ab5>] ? 0xc0113ab5
 [<c01402ff>] ? 0xc01402ff
 [<c012faa4>] ? 0xc012faa4
 [<c012fbb4>] ? 0xc012fbb4
 [<c012c1af>] ? 0xc012c1af
 [<c012c252>] ? 0xc012c252
 [<c012c5d4>] ? 0xc012c5d4
 [<c0114204>] ? 0xc0114204
 [<c03bd06a>] ? 0xc03bd06a
 [<c026ce02>] ? 0xc026ce02
 [<c032a7bd>] ? 0xc032a7bd
 [<c01017e9>] ? 0xc01017e9
---[ end trace debb96b4aa274556 ]---
ipheth: ipheth_tx_timeout: TX timeout

--- End code ---

As said, internet tethering is blocked on my iphone, but I borrowed a friend's iphone with internet tethering enabled and got the same result.

Maybe you could give it a try?

Edit: as per google, several others have this message. The libimodiledevice devs are saying that, since the ipheth driver is accepted into the kernel as from 2.6.34, any problems like this need to be posted on the kernel mailing lists. It's almost certain that we would be told to upgrade to the latest stable kernel if we post this issue on the kernel mailing list...

Navigation

[0] Message Index

[#] Next page

Go to full version