Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 19:07:55 +0800
From:      Li-Wen Hsu <lwhsu@freebsd.org>
To:        =?UTF-8?B?5a6L56uL5p2w?= <friendjane2003@icloud.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: iPhone tethering not working
Message-ID:  <CAKBkRUyqeBReDRk3N4r=0T8CbxjO=Y1BMprxV8O%2BSohgSjjL3Q@mail.gmail.com>
In-Reply-To: <A1053173-8CDA-4048-9E7C-443B8D81E958@icloud.com>
References:  <A1053173-8CDA-4048-9E7C-443B8D81E958@icloud.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 25, 2021 at 10:00 AM =E5=AE=8B=E7=AB=8B=E6=9D=B0 via freebsd-st=
able
<freebsd-stable@freebsd.org> wrote:
>
>
> I tried to connect my iPhone SE2 (iOS 13.7) to FreeBSD 12.2-stable. After=
 loaded the kernel module if_ipheth, I connected my phone.
> > ugen0.2: <Apple Inc. iPhone> at usbus0
>
> Then I typed usbconfig -u 0 -a 2 set_config 3
> > ipeth0 on uhub6
> > Ipeth0: <Apple Inc. iPhone, class 0/0, rev 2.00/12.08, addr 1> on usbus=
0
> Then I chose to trust the computer, but nothing happened. My computer sti=
ll can=E2=80=99t get to the internet.
>
> This is ifconfig ue0 output:
>
> > ue0: flags=3D8843<UP,BROADCAST,RUNNING, SIMPLEX, MULTICAST> metric 0 mt=
u 1500
> >     ether ****
> >     nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>
> I tried dhclient ue0, but got no reply from iPhone. What can I do?

I didn't see behavior before, previously if there is no ue0 found,
other than usbconfig set_config, I use `/usr/local/sbin/usbmuxd -U
root -f` from usbmuxd pkg.

For iOS 14, this patch is needed
https://cgit.freebsd.org/src/commit/?id=3D2076350d801b81f570850cea7e701388d=
8709cfb
but from the report it still compatiable for iOS 13. I'm not sure if
reverting it helps or not.

Does it work with previous versions (12.2-RELEASE, 13.0-RELEASE, or
older 12.2-STABLE), or other OS?

Best,
Li-Wen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUyqeBReDRk3N4r=0T8CbxjO=Y1BMprxV8O%2BSohgSjjL3Q>