New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Update of wifi config screws up interface file with ipv6

Got problems with your B2 or B3? Share and get helped!
Post Reply
basd82
Posts: 17
Joined: 11 Jan 2012, 12:58

Update of wifi config screws up interface file with ipv6

Post by basd82 »

I want to report a bug

When you have an ipv6 address configured and you change a network setting your interface file gets screwed up.
For example before a network change the interface file looks like this:

Code: Select all

iface br0 inet static
        address 172.32.2.33
        bridge_fd 0
        bridge_maxwait 0
        bridge_ports eth0 eth1 wlan0
        gateway 172.32.2.254
        netmask 255.255.255.0
        up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf

iface br0 inet6 static
        address 2A02:968:1001:0:172:32:2:33
        netmask 64

after an update of network config the interface file looks like this:

Code: Select all

iface br0 inet static
        address 172.32.2.33 2A02:968:1001:0:172:32:2:33
        bridge_fd 0
        bridge_maxwait 0
        bridge_ports eth0 eth1 wlan0
        gateway 172.32.2.254
        netmask 255.255.255.0 64
        up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
result after a reboot no network any more.

Can there be made a fix that leefs a inet6 section alone or even beter add ipv6 support, in the form of enable to add a static ipv6 address.
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Update of wifi config screws up interface file with ipv6

Post by johannes »

You are right that it does not have ipv6 support (yet), so may not be hte only place things get messed up when you configure it manually to get an ipv6 address.

We have this in the pipe, but not at very high priority still, sorry..
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Post Reply