Re: [iwlwifi] ipv6 connection problem

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Sat, 13 Aug 2022 19:54:14 UTC
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)