On Mon, Nov 30, 2015 at 12:34:40AM +0100, Christoph Anton Mitterer wrote: > On Sun, 2015-11-29 at 23:21 +0100, Guus Sliepen wrote: > > > This is not a bug in ifupdown. In both cases, you have instructed > > ifupdown to start only a DHCPv4 client. It could be that, in the > > first case, the kernel automatically configures an IPv6 address > > based on router advertisement messages that it receives via the eth0 > > interface (ie, SLAAC). > > Well but why wouldn't it get the RAs for v4 and not for v6?
There is no RA for IPv4, only DHCP. You have to explicitly run a DHCP client to get an automatically assigned IPv4 address. With IPv6, there is stateless autoconfiguration (SLAAC) and there is DHCPv6. The kernel handles the former but you again need to explicitly start a DHCPv6 client to get an address from a DHCPv6 server. > And if I have just: > >iface wlan0-bar inet6 dhcp|auto > > wpa-ssid bar > > > > wpa-key-mgmt WPA-PSK > > wpa-psk foo > I even get: > # ifup wlan0 > wpa_supplicant: /sbin/wpa_supplicant daemon failed to start > run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 > Failed to bring up wlan0-bar. Ah, I'll try to reproduce this problem. -- Met vriendelijke groet / with kind regards, Guus Sliepen <g...@debian.org>
signature.asc
Description: Digital signature