Skip to content
Snippets Groups Projects
  • Cyril Brulebois's avatar
    815cdfcc
    Fix DHCP+SLAAC case on wireless interfaces. · 815cdfcc
    Cyril Brulebois authored
    At least in the WPA case, wpa-* options cannot be set in both the “inet
    dhcp” and the “inet6 auto” stanzas: testing shows that wpa_supplicant
    would trigger association, possibly get an address via DHCP, before
    moving on to the SLAAC stanza, and deauthenticate, leaving the network
    interface DOWN.
    
    If both DHCP and SLAAC are enabled, IPv6 settings should be received
    via RAs anyway, so writing a SLAAC entry seems superfluous.
    815cdfcc
    History
    Fix DHCP+SLAAC case on wireless interfaces.
    Cyril Brulebois authored
    At least in the WPA case, wpa-* options cannot be set in both the “inet
    dhcp” and the “inet6 auto” stanzas: testing shows that wpa_supplicant
    would trigger association, possibly get an address via DHCP, before
    moving on to the SLAAC stanza, and deauthenticate, leaving the network
    interface DOWN.
    
    If both DHCP and SLAAC are enabled, IPv6 settings should be received
    via RAs anyway, so writing a SLAAC entry seems superfluous.
write_interface.c 9.25 KiB