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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi,

Without "ifconfig_re0=“DHCP" re0 assumes only an ipv6 address and looses
internal 192.168.1.xxx ipv4 address.
No connection to internet.

I've used ifconfig_wlan0="WPA" instead of ifconfig_wlan0="WPA SYNCDHCP" and
no carrier.

Bob Bishop <rb@gid.co.uk> escreveu no dia sábado, 13/08/2022 à(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="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="WPA up" and it crashes os.
> >
> > You saying that base dhcp doesn't support ipv6 but it works fine with
> ehternet:
> > ---
> > ifconfig_re0="DHCP"
> > ifconfig_re0_ipv6="inet6 accept_rtadv"
> > rtsold_enable="YES"
> > ---
>
> Above is kind of mixed up. I think the `ifconfig_re0=“DHCP”’ 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
>
>
>
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)

[-- Attachment #2 --]
<div dir="ltr"><div>Hi,</div><div><br></div><div>Without &quot;ifconfig_re0=“DHCP&quot; re0 assumes only an ipv6 address and looses internal 192.168.1.xxx ipv4 address.</div><div>No connection to internet.</div><div><br></div><div>I&#39;ve used ifconfig_wlan0=&quot;WPA&quot; instead of ifconfig_wlan0=&quot;WPA SYNCDHCP&quot; and no carrier.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Bob Bishop &lt;<a href="mailto:rb@gid.co.uk">rb@gid.co.uk</a>&gt; escreveu no dia sábado, 13/08/2022 à(s) 18:50:<br></div><blockquote class="gmail_quote" style="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; wrote:<br>
&gt; <br>
&gt; Hi Merek,<br>
&gt; <br>
&gt;&gt; If you are connecting to IPv6 only WLAN than you can probably either <br>
&gt;&gt; disable DHCP (if the RDNSS is provided for this network):<br>
&gt;&gt; ifconfig_wlan0=&quot;WPA up&quot;<br>
&gt;&gt; or install dhcp client capable of acquiring DHCPv6 lease and use it <br>
&gt;&gt; instead of standard dhclient(8) from the base which doesn&#39;t support DHCPv6.<br>
&gt;&gt; <br>
&gt; I&#39;ve tried ifconfig_wlan0=&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 with ehternet:<br>
&gt; ---<br>
&gt; ifconfig_re0=&quot;DHCP&quot;<br>
&gt; ifconfig_re0_ipv6=&quot;inet6 accept_rtadv&quot;<br>
&gt; rtsold_enable=&quot;YES&quot;<br>
&gt; ---<br>
<br>
Above is kind of mixed up. I think the `ifconfig_re0=“DHCP”’ is superfluous, your interface will be getting assigned its address by the router using stateless autoconfiguration not DHCP.<br>
<br>
Perhaps trying to configure both stateless autoconfiguration and DHCP is upsetting 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="mailto:rb@gid.co.uk" target="_blank">rb@gid.co.uk</a><br>
<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div>
help

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