You are not logged in.
I'm having the same issue too; dhcpcd times out.
I used to have tethering working as apple intended through the USB but since the update (to iOS) it no longer works/appears in settings. Because of this I tried MyWi from cydia today and I can't get either Wifi tethering or USB working.
dmesg | tail -n 2
usb 1-4.1.2: new high speed USB device using ehci_hcd and address 9
ipheth 1-4.1.2:4.2: Apple iPhone USB Ethernet device attached
An interesting thing is that it used to 'mount' the phone as the network device wwan0, not eth2.
Also, after leaving it a while and checking dmesg again:
dmesg | tail -n 3
usb 1-4.1.2: new high speed USB device using ehci_hcd and address 9
ipheth 1-4.1.2:4.2: Apple iPhone USB Ethernet device attached
eth2: no IPv6 routers present
The WiFi works on Windows and OS X.
Edit: After installing TetherMe, normal tethering works correctly again (but still with eth2). However I am still getting a time out with dhcpcd...
Last edited by BaconPie (2010-12-08 19:46:54)
Offline
Hi I'm having the same problem (DHCP timeout with iPhone 4), but only on kernels newer than 2.6.35-* on Gentoo. To get the iPhone 4 working with kernel 2.6.35, I compiled the ipheth driver package using the sources from Ubuntu 10.10 since they include patches to recognize the iPhone 4.
Last edited by gsarkis (2011-01-18 13:03:20)
Offline
Hi I'm having the same problem (DHCP timeout with iPhone 4), but only on kernels newer than 2.6.35-* on Gentoo. To get the iPhone 4 working with kernel 2.6.35, I compiled the ipheth driver package using the sources from Ubuntu 10.10 since they include patches to recognize the iPhone 4.
Sorry for my ignorance, but how would I compile the ubuntu 10.10 ipheth driver package on Arch? It probably won't work for 2.6.37, but thought I'd try anyway.
Last edited by ELWisty (2011-01-25 16:34:13)
Offline
@ELWisty
I created an Ubuntu 10.10 virtual machine and got the sources using the following command:
apt-get source ipheth
Then, I copied the files to my Gentoo box.
I went into the ipheth-driver and ipheth-tools directories and ran 'make install'. In Gentoo, you compile your own kernel so I already had the kernel sources (required to compile ipheth-driver) and made sure that the kernel bundled ipheth driver was not compiled.
Tethering should work now, just make sure that udev rules have been reloaded, a reboot would do this, so would 'udevadm control --reload-rules'.
Offline
@ELWisty
I created an Ubuntu 10.10 virtual machine and got the sources using the following command:
apt-get source ipheth
Then, I copied the files to my Gentoo box.I went into the ipheth-driver and ipheth-tools directories and ran 'make install'. In Gentoo, you compile your own kernel so I already had the kernel sources (required to compile ipheth-driver) and made sure that the kernel bundled ipheth driver was not compiled.
Tethering should work now, just make sure that udev rules have been reloaded, a reboot would do this, so would 'udevadm control --reload-rules'.
Thanks for the help here, appreciated. I happen to have Ubuntu 10.10 on my netbook, so can skip the virtual machine part, too.
Offline
In the meantime I decided to go back to 2.6.36 (just the basic kernel for Arch as always, nothing compiled by myself), but tried the Ubuntu sources. Make install for ipheth-driver gives:
make -C /lib/modules/2.6.36-ARCH/build M= modules_install
make[1]: Entering directory `/usr/src/linux-2.6.36-ARCH'
cp: cannot stat `/usr/src/linux-2.6.36-ARCH/modules.order': No such file or directory
make[1]: *** [_modinst_] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.36-ARCH'
make: *** [install] Error 2
Anything to be done here?
Last edited by ELWisty (2011-01-27 16:09:26)
Offline
I still cannot get an IP from my iphone. I have a 3G with iOS 4.1. Is this getting looked at?
Offline
I still cannot get an IP from my iphone. I have a 3G with iOS 4.1.
Me too. iPhone 3GS with iOS 4.2.1
Offline
I pushed a fix at https://github.com/dgiagio/ipheth
Get the new code, build, replace module in /lib/.../ipheth.ko, depmod -a, rmmod ipheth, modprobe ipheth.
If you want to patch directly into your kernel tree, here it is:
@@ -54,6 +54,9 @@
#include <linux/usb.h>
#include <linux/workqueue.h>
+#undef NET_IP_ALIGN
+#define NET_IP_ALIGN 2
+
#define USB_VENDOR_APPLE 0x05ac
#define USB_PRODUCT_IPHONE 0x1290
#define USB_PRODUCT_IPHONE_3G 0x1292
Regards,
Daniel Borca
Offline
I'm happy to say, the fix works like a charm.
[root@ceeP ~]# /lib/udev/ipheth-pair
[root@ceeP ~]# dhcpcd eth1
dhcpcd[27307]: version 5.2.10 starting
dhcpcd[27307]: eth1: broadcasting for a lease
dhcpcd[27307]: eth1: offered 172.20.10.2 from 172.20.10.1 `cryPhone'
dhcpcd[27307]: eth1: acknowledged 172.20.10.2 from 172.20.10.1 `cryPhone'
dhcpcd[27307]: eth1: checking for 172.20.10.2
dhcpcd[27307]: eth1: leased 172.20.10.2 for 3564 seconds
dhcpcd[27307]: forked to background, child pid 27329
Thanks, dborca.
p.s. I build the from ABS as it is to get a KERNELDIR for the module.
Offline
Thank you so much! This works great!
Offline
Thanks, this works.
Will it be included in the next kernel releases or should I keep that .ko in a save place?
Offline
Hi all,
I still waiting to work with my Iphone Tethering...
I get and compile last version of ipheth-pair/ipheth-driver as suggest Dborca.
but nothing is changed.
When I attach my Iphone at my laptop, this is the output of dmesg command:
[ 86.833674] ipheth 2-3:4.2: Apple iPhone USB Ethernet device attached
[ 86.834199] usbcore: registered new interface driver ipheth
[ 86.844348] hdj_probe() unsupported device, idVendor5ac, idProduct:1297
[ 86.844647] usbcore: registered new interface driver hdj_mod
[ 87.457283] NET: Registered protocol family 17
[ 96.720085] ------------[ cut here ]------------
[ 96.720105] WARNING: at /usr/src/packages/BUILD/kernel-desktop-2.6.37.1/linux-2.6.37/net/sched/sch_generic.c:258 dev_watchdog+0x1dc/0x1f0()
[ 96.720112] Hardware name: Compaq 610
[ 96.720117] NETDEV WATCHDOG: eth1 (ipheth): transmit queue 0 timed out
[ 96.720122] Modules linked in: af_packet hdj_mod ipheth snd_rawmidi ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit edd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables snd_pcm_oss snd_mixer_oss cpufreq_conservative snd_seq snd_seq_device cpufreq_userspace cpufreq_powersave acpi_cpufreq mperf fuse dm_mod arc4 ecb iwlagn snd_hda_codec_idt iwlcore snd_hda_intel mac80211 snd_hda_codec sky2 cfg80211 snd_hwdep uvcvideo videodev v4l1_compat shpchp snd_pcm iTCO_wdt sr_mod cdrom pci_hotplug pcspkr hp_wmi snd_timer iTCO_vendor_support sparse_keymap sg snd rfkill soundcore snd_page_alloc wmi joydev serio_raw container battery ac preloadtrace ext4 jbd2 crc16 i915 drm_kms_helper drm i2c_algo_bit button video fan processor ata_generic thermal thermal_sys
[ 96.720307] Pid: 0, comm: swapper Not tainted 2.6.37.1-1.2-desktop #1
[ 96.720313] Call Trace:
[ 96.720337] [<c02062a3>] try_stack_unwind+0x173/0x190
[ 96.720352] [<c0204ebf>] dump_trace+0x3f/0xe0
[ 96.720363] [<c020630b>] show_trace_log_lvl+0x4b/0x60
[ 96.720374] [<c0206338>] show_trace+0x18/0x20
[ 96.720387] [<c068d44a>] dump_stack+0x6d/0x72
[ 96.720401] [<c02485a8>] warn_slowpath_common+0x78/0xb0
[ 96.720414] [<c0248673>] warn_slowpath_fmt+0x33/0x40
[ 96.720425] [<c05c218c>] dev_watchdog+0x1dc/0x1f0
[ 96.720440] [<c02569c4>] call_timer_fn+0x24/0x120
[ 96.720451] [<c0256c5b>] run_timer_softirq+0xeb/0x200
[ 96.720462] [<c024f12f>] __do_softirq+0x9f/0x1e0
[ 96.720473] [<c0204db5>] do_softirq+0x75/0xb0
[ 96.720496] [<0000000f>] 0xf
[ 96.720502] ---[ end trace 701f6ae250239161 ]---
[ 96.720507] ipheth: ipheth_tx_timeout: TX timeout
[ 97.714034] eth1: no IPv6 routers present
[ 106.720093] ipheth: ipheth_tx_timeout: TX timeout
[ 116.721042] ipheth: ipheth_tx_timeout: TX timeout
[ 126.721044] ipheth: ipheth_tx_timeout: TX timeout
[ 136.721058] ipheth: ipheth_tx_timeout: TX timeout
[ 146.720088] ipheth: ipheth_tx_timeout: TX timeout
[ 156.720012] ipheth: ipheth_tx_timeout: TX timeout
[ 166.720019] ipheth: ipheth_tx_timeout: TX timeout
[ 176.720067] ipheth: ipheth_tx_timeout: TX timeout
[ 186.720061] ipheth: ipheth_tx_timeout: TX timeout
[ 196.720059] ipheth: ipheth_tx_timeout: TX timeout
[ 206.720083] ipheth: ipheth_tx_timeout: TX timeout
mauro@linux:~/ipheth/ipheth-driver>
and no tethering work.
What can I do?
Who can help me?
I have Iphone 4 version 4.3 and OpenSuse 11.4
Thanks
Mauro
Last edited by mauretto (2011-03-28 11:29:11)
Offline
Alas, not working for me either, with kernel 2.6.37.4-1. Still get dhcpcd timed out as before.
Offline
Mauro,
I have the same problem!!!
Opensuse 11.4 Iphone IOS 4.3
Offline
Yep, upgrading to iOS 4.3, not a good move. USB tethering had worked with iOS 4.2.x in Ubuntu 10.10 which I have on my netbook but the upgrade broke it.
Offline
Oh no!
This sound is not good!
And now?
Offline
Same problem, IOS 4.3.2...
Goodbye Tethering "Linux with Iphone"?
Offline
On www.libimobiledevice.org there is write that the last version of libimobiledevice (1.0.6) working fine with 4.3.1 iOS...
Yesterday I had installed Kubuntu 10.10, but the version of libimobiledevice inside that, is 1.0.1.
Asap I'll try libimobiledevice 1.0.6 and I hope that it works...
Offline
Nothing to do...
I'm moved to Ubuntu 10.10, installed libimobiledevice 1.0.6, but it not working...
Why? Why?
Where is the solution?
PS: I know that apple quickly release iOS version 4.3.2...
Offline
I found it!
After install libmobiledevice 1.0.6 (of course) when plug in my iPhone I take a timeout error.
With "ideviceinfo" command (with iPhone plug in and tethering on) it works fine!
Great!
PS: I write this from my linux with tethering!!!
Offline
Well, how about that, started working for me at last: iOS 4.3.3, kernel 2.6.39, libimobiledevice 1.1.0!
Offline