From nobody Sat Aug 13 19:54:14 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M4rpq1wHGz4Yrgk; Sat, 13 Aug 2022 19:54:27 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4M4rpq1Rd8z3wPj; Sat, 13 Aug 2022 19:54:27 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660420467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=h/iopukbHnEm0yhdh677qmgpyOZbd7O5AMMXZJnnxB8=; b=sUWPxXzD681/6i3nOXvF3Mu+ljMO5biKdIpef1vl3bXGWH8Y52VhASzcfU0YkCvM7ptpit itPm3Fv5SEdSCu4VLvN4ycbIjxlKBt3KurtCcuIwA9uTx1yNZ4fskEMdF4BCPF/SgEAgmX fiGMO/UIPfXMAgLVJ/Cam6In7Yf/f4epVBl2ZTImJX7eRxmPG4fYu3Rx9TKjzI6fQCoSCx qU/P3Eqm5p83ZWVqQmKZR8GmfAvj8ZJ+KtGXnWCg6cU7kSAhWRN1gcGjlFSPMVetZmz1EP WlxEmzx4BYM4k3EL3zKNJJZxgCr9wiM+D//wIuz/DHl0tra0knpkgC3TZUX+ng== Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4M4rpq0MXBzr3T; Sat, 13 Aug 2022 19:54:27 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vs1-f50.google.com with SMTP id s129so3834128vsb.11; Sat, 13 Aug 2022 12:54:27 -0700 (PDT) X-Gm-Message-State: ACgBeo03zg8lKnEi7eS0pvhB3GSWkSPLs1nlnVRWzBH+vndxNVdPeATt IfsWMSFjHft4EcsORF0UiXQtH8MdMKZeD1pq1/w= X-Google-Smtp-Source: AA6agR5xxGFISNDicivB5yJkN9/2sWigZDOm0EtBLySN7sBZOFYWHSFnkxdHNv1Q6y76w1FqUx3BFmnvnYTN+O//mP0= X-Received: by 2002:a05:6102:2836:b0:386:91a5:a241 with SMTP id ba22-20020a056102283600b0038691a5a241mr3742402vsb.51.1660420466660; Sat, 13 Aug 2022 12:54:26 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <4f79dfa8-b8bd-3222-d4de-18714c1f9b6a@plan-b.pwste.edu.pl> <36354E43-2904-42F8-935B-FF1B83B34A60@gid.co.uk> In-Reply-To: <36354E43-2904-42F8-935B-FF1B83B34A60@gid.co.uk> From: Nuno Teixeira Date: Sat, 13 Aug 2022 20:54:14 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [iwlwifi] ipv6 connection problem To: Bob Bishop Cc: FreeBSD CURRENT , "freebsd-wireless@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000017dc4105e624c4e4" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660420467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=h/iopukbHnEm0yhdh677qmgpyOZbd7O5AMMXZJnnxB8=; b=hIeKq5aTqVSEvf+4254bafn8tiRGlGB5i29TrhZ3XUvCesGh/hG+69/UowY0PR5mwx4t/E j1NN9xfoNVh78TnwYGMGb+rB9JtyAeaGd6mU8Zzx0YYZc2AeJmq+CrVi7GjVHqyVw7lANx ByvJT0HXMoQeexVx2qPx7Higa8Tnm7NcBNhMwSH9CBp+WpM721rxJXoJ2178qiXc+6haxJ nDGf+MGGgGf+3F18bfspGV/wMyYZrZJ1SiaqZYbSZCqd5n87Df+lWeW1F5gify+oOSuDzY VjhQv7fdr6uVDyY6Tffrj5guJTO9SA8e5+05dsm4/dG48aVHR8e/90WL6qGitQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660420467; a=rsa-sha256; cv=none; b=q2mcSMX5e41P7vbuqVyZyiUsWJWKXFeNirbDqHbplze/UIx0V4gJEH+FSdqq7WFZHgM5B7 2jvC1aWBq440dtKFQHATtmvPys9xz01g+fBJkMZLG4Okw3ofFznsYmrFZ3uwUrx4cV/lbx 7wvu0jXhYnibiKIh8gXLMA2+f7ODyJ/Xsg4QwC36fwbUC9ufFVVXmQ60vq9msISgHK/Z1b V0g03ARTmtC2W5uFQZQQEnA1OhKO+8zcVUZ9c6rr4+ZF202fqovUQW4TCuaHa8jgAeA3x6 oTopIJztZqwNmJEAWXGgtxCa6XcQ2w2eAfFCcqsEK+m4/KdaSagtNm/UZYyIcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --00000000000017dc4105e624c4e4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Without "ifconfig_re0=3D=E2=80=9CDHCP" re0 assumes only an ipv6 address and= looses internal 192.168.1.xxx ipv4 address. No connection to internet. I've used ifconfig_wlan0=3D"WPA" instead of ifconfig_wlan0=3D"WPA SYNCDHCP"= and no carrier. Bob Bishop escreveu no dia s=C3=A1bado, 13/08/2022 =C3=A0(s)= 18:50: > Hi, > > > On 12 Aug 2022, at 13:00, Nuno Teixeira wrote: > > > > Hi Merek, > > > >> If you are connecting to IPv6 only WLAN than you can probably either > >> disable DHCP (if the RDNSS is provided for this network): > >> ifconfig_wlan0=3D"WPA up" > >> or install dhcp client capable of acquiring DHCPv6 lease and use it > >> instead of standard dhclient(8) from the base which doesn't support > DHCPv6. > >> > > I've tried ifconfig_wlan0=3D"WPA up" and it crashes os. > > > > You saying that base dhcp doesn't support ipv6 but it works fine with > ehternet: > > --- > > ifconfig_re0=3D"DHCP" > > ifconfig_re0_ipv6=3D"inet6 accept_rtadv" > > rtsold_enable=3D"YES" > > --- > > Above is kind of mixed up. I think the `ifconfig_re0=3D=E2=80=9CDHCP=E2= =80=9D=E2=80=99 is > superfluous, your interface will be getting assigned its address by the > router using stateless autoconfiguration not DHCP. > > Perhaps trying to configure both stateless autoconfiguration and DHCP is > upsetting your wireless interface. > > DHCP is almost never required with IPv6. > > > > > Any clues? > > > > Thanks > > -- > Bob Bishop > rb@gid.co.uk > > > > > --=20 Nuno Teixeira FreeBSD Committer (ports) --00000000000017dc4105e624c4e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Without "ifconfig_r= e0=3D=E2=80=9CDHCP" re0 assumes only an ipv6 address and looses intern= al 192.168.1.xxx ipv4 address.
No connection to internet.

I've used ifconfig_wlan0=3D"WPA" instead of= ifconfig_wlan0=3D"WPA SYNCDHCP" and no carrier.
<= br>
Bob Bis= hop <rb@gid.co.uk> escreveu no di= a s=C3=A1bado, 13/08/2022 =C3=A0(s) 18:50:
Hi,

> On 12 Aug 2022, at 13:00, Nuno Teixeira <eduardo@FreeBSD.org> wr= ote:
>
> Hi Merek,
>
>> If you are connecting to IPv6 only WLAN than you can probably eith= er
>> disable DHCP (if the RDNSS is provided for this network):
>> ifconfig_wlan0=3D"WPA up"
>> or install dhcp client capable of acquiring DHCPv6 lease and use i= t
>> instead of standard dhclient(8) from the base which doesn't su= pport DHCPv6.
>>
> I've tried ifconfig_wlan0=3D"WPA up" and it crashes os.<= br> >
> You saying that base dhcp doesn't support ipv6 but it works fine w= ith ehternet:
> ---
> ifconfig_re0=3D"DHCP"
> ifconfig_re0_ipv6=3D"inet6 accept_rtadv"
> rtsold_enable=3D"YES"
> ---

Above is kind of mixed up. I think the `ifconfig_re0=3D=E2=80=9CDHCP=E2=80= =9D=E2=80=99 is superfluous, your interface will be getting assigned its ad= dress by the router using stateless autoconfiguration not DHCP.

Perhaps trying to configure both stateless autoconfiguration and DHCP is up= setting your wireless interface.

DHCP is almost never required with IPv6.

>
> Any clues?
>
> Thanks

--
Bob Bishop
rb@gid.co.uk






--
Nun= o Teixeira
FreeBSD Committer (ports)
--00000000000017dc4105e624c4e4--