From owner-freebsd-stable@freebsd.org Sun Apr 25 11:08:08 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 262C85FDBC8 for ; Sun, 25 Apr 2021 11:08:08 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FSlcm0JJpz3Ffc for ; Sun, 25 Apr 2021 11:08:08 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: lwhsu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id EC0AD2DDE for ; Sun, 25 Apr 2021 11:08:07 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by mail-yb1-f177.google.com with SMTP id g38so61139176ybi.12 for ; Sun, 25 Apr 2021 04:08:07 -0700 (PDT) X-Gm-Message-State: AOAM531n+koYH6+L8WLqucfxp7VTjtjbmAYRDDTJaY4EFB22A6fyKcI2 78ZrVfukPra987nzN104jtGN4DmUDkUbICDEqI8= X-Google-Smtp-Source: ABdhPJwx+VW9GGDgbNxTA92FnyflcQfIFLlq7e1Z2qKid6bQp3533q8kP/uVhg+C1j01p6l2T76hKeWgf58aOlEE5n8= X-Received: by 2002:a25:3c01:: with SMTP id j1mr18588060yba.176.1619348887512; Sun, 25 Apr 2021 04:08:07 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Li-Wen Hsu Date: Sun, 25 Apr 2021 19:07:55 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: iPhone tethering not working To: =?UTF-8?B?5a6L56uL5p2w?= Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 11:08:08 -0000 On Sun, Apr 25, 2021 at 10:00 AM =E5=AE=8B=E7=AB=8B=E6=9D=B0 via freebsd-st= able 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: at usbus0 > > Then I typed usbconfig -u 0 -a 2 set_config 3 > > ipeth0 on uhub6 > > Ipeth0: 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 metric 0 mt= u 1500 > > ether **** > > nd6 options=3D29 > > 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