Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2022 20:54:14 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Bob Bishop <rb@gid.co.uk>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>,  "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: [iwlwifi] ipv6 connection problem
Message-ID:  <CAFDf7UK2XmCVJZ%2BzajFS2xRApt9auAHhrprdAhfSxhGrPqfvGQ@mail.gmail.com>
In-Reply-To: <36354E43-2904-42F8-935B-FF1B83B34A60@gid.co.uk>
References:  <CAFDf7ULaHmG-yr7_nbi0rWFD3KbNi237FvfFCJGDdBQV0WTP2A@mail.gmail.com> <alpine.BSF.2.00.2208072108480.68830@ai.fobar.qr> <CAFDf7ULG6F3v8=VWaCw8Qe2-iBnctHo1ij2WzFPX034EzXDeXw@mail.gmail.com> <4f79dfa8-b8bd-3222-d4de-18714c1f9b6a@plan-b.pwste.edu.pl> <CAFDf7UK9v-1%2BEM35aXS8ER%2B86nzoKizkfrmTiAdcs96FKJSU0g@mail.gmail.com> <36354E43-2904-42F8-935B-FF1B83B34A60@gid.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <rb@gid.co.uk> escreveu no dia s=C3=A1bado, 13/08/2022 =C3=A0(s)=
 18:50:

> Hi,
>
> > On 12 Aug 2022, at 13:00, Nuno Teixeira <eduardo@FreeBSD.org> 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

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>Without &quot;ifconfig_r=
e0=3D=E2=80=9CDHCP&quot; re0 assumes only an ipv6 address and looses intern=
al 192.168.1.xxx ipv4 address.</div><div>No connection to internet.</div><d=
iv><br></div><div>I&#39;ve used ifconfig_wlan0=3D&quot;WPA&quot; instead of=
 ifconfig_wlan0=3D&quot;WPA SYNCDHCP&quot; and no carrier.<br></div></div><=
br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Bob Bis=
hop &lt;<a href=3D"mailto:rb@gid.co.uk">rb@gid.co.uk</a>&gt; escreveu no di=
a s=C3=A1bado, 13/08/2022 =C3=A0(s) 18:50:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">Hi,<br>
<br>
&gt; On 12 Aug 2022, at 13:00, Nuno Teixeira &lt;eduardo@FreeBSD.org&gt; wr=
ote:<br>
&gt; <br>
&gt; Hi Merek,<br>
&gt; <br>
&gt;&gt; If you are connecting to IPv6 only WLAN than you can probably eith=
er <br>
&gt;&gt; disable DHCP (if the RDNSS is provided for this network):<br>
&gt;&gt; ifconfig_wlan0=3D&quot;WPA up&quot;<br>
&gt;&gt; or install dhcp client capable of acquiring DHCPv6 lease and use i=
t <br>
&gt;&gt; instead of standard dhclient(8) from the base which doesn&#39;t su=
pport DHCPv6.<br>
&gt;&gt; <br>
&gt; I&#39;ve tried ifconfig_wlan0=3D&quot;WPA up&quot; and it crashes os.<=
br>
&gt; <br>
&gt; You saying that base dhcp doesn&#39;t support ipv6 but it works fine w=
ith ehternet:<br>
&gt; ---<br>
&gt; ifconfig_re0=3D&quot;DHCP&quot;<br>
&gt; ifconfig_re0_ipv6=3D&quot;inet6 accept_rtadv&quot;<br>
&gt; rtsold_enable=3D&quot;YES&quot;<br>
&gt; ---<br>
<br>
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.<br>
<br>
Perhaps trying to configure both stateless autoconfiguration and DHCP is up=
setting your wireless interface.<br>
<br>
DHCP is almost never required with IPv6.<br>
<br>
&gt; <br>
&gt; Any clues?<br>
&gt; <br>
&gt; Thanks<br>
<br>
--<br>
Bob Bishop<br>
<a href=3D"mailto:rb@gid.co.uk" target=3D"_blank">rb@gid.co.uk</a><br>
<br>
<br>
<br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature"><div dir=3D"ltr"><span style=3D"color:rgb(102,102,102)">Nun=
o Teixeira<br>FreeBSD Committer (ports)</span></div></div>

--00000000000017dc4105e624c4e4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UK2XmCVJZ%2BzajFS2xRApt9auAHhrprdAhfSxhGrPqfvGQ>