[SOLVED] iphone tethering not working on ios14

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2, 3, 4  Next
Author Message
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sat Nov 07, 2020 13:13    Post subject: 14.2 is not a solution Reply with quote
Did you test it? Edit: Never mind, the Apple thread now has another reply 14.2 is no solution.

Don't know why anyone would put up with two months of this, or any length of time, then all is forgiven.

This isn't the first time Apple broke tethering either, so why reward bad behavior with a new phone?

msoengineer is right about 2013, as designs became complacent and further cost reduced.

Then S6 set the standard, then S7, again with Note 8, Pixel 3 and so on. Time to look at the alternatives.
Sponsor
neruve
DD-WRT Novice


Joined: 09 Nov 2020
Posts: 2

PostPosted: Mon Nov 09, 2020 19:09    Post subject: Re: 14.2 is not a solution Reply with quote
blkt wrote:
Did you test it? Edit: Never mind, the Apple thread now has another reply 14.2 is no solution.

Don't know why anyone would put up with two months of this, or any length of time, then all is forgiven.

This isn't the first time Apple broke tethering either, so why reward bad behavior with a new phone?

msoengineer is right about 2013, as designs became complacent and further cost reduced.

Then S6 set the standard, then S7, again with Note 8, Pixel 3 and so on. Time to look at the alternatives.


I have tested 14.2 on an iPhone XS Max and it still does not work. It does the same thing as before. It gets the ip and says it's connected. The phone shows that it has a client, but no access to the outside world on the router.
Tailhappy
DD-WRT Novice


Joined: 20 Sep 2017
Posts: 1

PostPosted: Tue Nov 10, 2020 5:48    Post subject: Took a shot with USB over IP Reply with quote
I tried enabling dd-wrt setting "USB over IP" with no success. Seemed worth a shot.
Wish I could find an associated router system error message to start troubleshooting this tethering problem.
neruve
DD-WRT Novice


Joined: 09 Nov 2020
Posts: 2

PostPosted: Tue Nov 10, 2020 12:11    Post subject: Re: 14.2 is not a solution Reply with quote
neruve wrote:
blkt wrote:
Did you test it? Edit: Never mind, the Apple thread now has another reply 14.2 is no solution.

Don't know why anyone would put up with two months of this, or any length of time, then all is forgiven.

This isn't the first time Apple broke tethering either, so why reward bad behavior with a new phone?

msoengineer is right about 2013, as designs became complacent and further cost reduced.

Then S6 set the standard, then S7, again with Note 8, Pixel 3 and so on. Time to look at the alternatives.


I have tested 14.2 on an iPhone XS Max and it still does not work. It does the same thing as before. It gets the ip and says it's connected. The phone shows that it has a client, but no access to the outside world on the router.


My router is a TM-1900AC (converted to ASUS RT-68U) with the newest BS beta firmware on it.
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sat Nov 21, 2020 21:05    Post subject: iOS 14 USB tethering progress Reply with quote
https://github.com/libimobiledevice/libimobiledevice/issues/1038

"Looks like the issue is indeed in the path from the iPhone back to the host. Somehow the receiving URB seems to stall and always completes only after a significant delay. Using a slightly smaller length (1516 -> 1514) for the receiving URB seems to fix the issue, though. The extra control messages observed in Windows/macOS dumps don't seem to make any difference.

Why exactly reducing the length works is a bit unclear, considering Windows and macOS seem to be issuing even bigger transfers (assuming the lengths are comparable between dumps from different OSs). One thing I noticed is that the Windows and macOS drivers seem to issue multiple simultaneous receiving URBs, whereas the Linux driver issues only one at a time and waits for it to complete before receiving again. So perhaps the same stall happens on Windows and macOS as well, but only on one of the transfers."

"Hi, I'm not sure where you got that idea, but it does look to fix the problem for me too. I tried to very simple following patch:
Code:
diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c
index b09b45382faf..57d94b18ef33 100644
--- a/drivers/net/usb/ipheth.c
+++ b/drivers/net/usb/ipheth.c
@@ -59,7 +59,7 @@
 #define IPHETH_USBINTF_SUBCLASS 253
 #define IPHETH_USBINTF_PROTO    1
 
-#define IPHETH_BUF_SIZE         1516
+#define IPHETH_BUF_SIZE         1514
 #define IPHETH_IP_ALIGN                2       /* padding at front of URB */
 #define IPHETH_TX_TIMEOUT       (5 * HZ)
and it does restore the previous behavior. Before submitting that to the upstream kernel, could someone with older iOS version try that it doesn't break their usage?"

"It would be nice to have a better fix and to understand precisely what to do but without having a clear protocol description it's kind of hard. I don't have enough knowledge about USB to know if we can setup multiple URBs queues inside the ipheth driver (and maybe achieve more performance?) but for now I think just fixing the issue would be nice."

https://lore.kernel.org/linux-usb/20201119172439.94988-1-corsac@corsac.net/
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Sat Nov 21, 2020 22:27    Post subject: Reply with quote
Set it to 1500 and be done. Don't know what is so difficult to grasp there.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Nov 22, 2020 12:41    Post subject: Reply with quote
Maybe it's already 1500 at network layer with setting IPHETH_BUF_SIZE 1514 at data link layer.

https://www.speedguide.net/faq/is-an-ethernet-framepacket-1500-or-1514-bytes-450

But, without any custom protocol documentation from Apple or Microsoft it's just guesswork.

And of course, it's easy to say such things after a workaround has been discovered.

I wonder what those two extra bytes were for, also the reason for padding and why it's not removed.
bbyrdhouse
DD-WRT Novice


Joined: 29 Nov 2020
Posts: 7

PostPosted: Sun Nov 29, 2020 13:03    Post subject: Reply with quote
According to this post, it looks like a fix has been found and it just needs to make its way down to all the distro's.
From what I gather, a fix has already been implemented for OWRT, so I imagine that a will will soon be coming for DDWRT
https://forum.gl-inet.com/t/usb-tethering-broken-in-ios-14-fixed-nov-26-2020/12342
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Mon Nov 30, 2020 14:18    Post subject: Reply with quote
I will send a patch I made to BS, I cannot test it because I do not use Apple products (and after this snafu neither should you Wink


kernel-features.mk-iphone-tethering.patch.zip
 Description:

Download
 Filename:  kernel-features.mk-iphone-tethering.patch.zip
 Filesize:  507 Bytes
 Downloaded:  162 Time(s)


_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
TRCTTBOY
DD-WRT Novice


Joined: 30 Nov 2020
Posts: 10

PostPosted: Mon Nov 30, 2020 18:49    Post subject: imputting ios 14 usb tethering patch into router Reply with quote
I'm new to imputing a patch into my dir868l router. I've inputted the patch into the administration code startup section, but I still get no internet throughput. My win10 laptop showed I have a internet connection, but does not say secure as it always does. So I must be doing something wrong or missed something? Any help would be appreciated.

dir868l A1 with V3.0-r39800
Win10 laptop
iphone 7plus 14.2
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Tue Dec 01, 2020 7:31    Post subject: Reply with quote
you have to compile your own build with the patch,it is not something many regular users can do Sad

I have mailed the patch to our main developer, but as it is unclear why it should work and what else breaks it is quite possible he will wait till it is incorporated upstream in the kernel or until apple gives us more details.

I hope to hear back from him today

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Tue Dec 01, 2020 11:08    Post subject: Reply with quote
egc wrote:
you have to compile your own build with the patch,it is not something many regular users can do Sad

I have mailed the patch to our main developer, but as it is unclear why it should work and what else breaks it is quite possible he will wait till it is incorporated upstream in the kernel or until apple gives us more details.

I hope to hear back from him today


Patch will be included in next build

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
TRCTTBOY
DD-WRT Novice


Joined: 30 Nov 2020
Posts: 10

PostPosted: Tue Dec 01, 2020 14:27    Post subject: Reply with quote
egc;

Thank You for the information. I may look at the wiki and see if I can follow the instructions on how to compile a build, but most likely will wait for a new build to arrive.

TRCTTBOY
bacci76
DD-WRT Novice


Joined: 19 Sep 2011
Posts: 3

PostPosted: Thu Dec 03, 2020 17:30    Post subject: Reply with quote
As a temporary solution I use the 2.4Ghz radio as wireless repeater bridge (see https://wiki.dd-wrt.com/wiki/index.php/Repeater_Bridge), WiFi connected to my iPhone's hotspot. The 5Ghz radio still acts as AP.
Just make sure to reboot the router during the short window the hotspot SSID is advertised after enabling it on the iPhone, otherwise it won't connect.
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Tue Dec 08, 2020 14:30    Post subject: Reply with quote
12-08-2020-r44944 includes the iOS 14 workaround (please test it).
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum