[pkg-wpa-devel] Bug#536630: hostapd destroys IPv6 configuration on managed interface

Andrew Gainer gainer.andrew at gmail.com
Sat Jul 11 19:59:17 UTC 2009


Package: hostapd
Version: 0.6.9-3
Severity: normal
Tags: ipv6

When hostapd is started on a wireless interface with IPv6 configuration, it destroys this configuration. For example, I have the following stanzas in my /etc/network/interfaces:
auto ath0
iface ath0 inet static
        address 192.168.2.1
        netmask 255.255.255.0
        broadcast 192.168.2.255

iface ath0 inet6 static
        address 2001:1938:147:2::1
        netmask 64

And the following hostapd.conf:
interface=ath0
driver=madwifi
ssid=myssid
auth_algs=3
wpa=3
wpa_passphrase=mypassphrase
wpa_key_mgmt=WPA-PSK

If I bring up the interface without starting hostapd, it has the assigned global IPv6 address, and the correct routes show up in the routing table. After starting hostapd, however, these disappear, and only the link-local configuration remains.

The IPv4 configuration is, of course, preserved, so I'm not sure what's happening here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20090711/23dbd8a1/attachment.pgp>


More information about the Pkg-wpa-devel mailing list