Skip to content

Instantly share code, notes, and snippets.

@xperimental
Last active February 9, 2016 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xperimental/8fb062c2f5b753cff56b to your computer and use it in GitHub Desktop.
Save xperimental/8fb062c2f5b753cff56b to your computer and use it in GitHub Desktop.
Fix IPv6 prefix in running router (ffbsee-v0.0.2)
# Login to router using SSH
# Check if you have an invalid IPv6 address
# Should yield something with a mask /64 "in the middle"
uci get network.freifunk.ip6addr
# Set new prefix and remove invalid address
uci set network.globals.ula_prefix='fdef:1701:b5ee:42::/64'
uci delete network.freifunk.ip6addr
# Check if configuration can be saved (should only return the "ula_prefix" line not something else)
uci changes network
# Save configuration and reboot
uci commit network
reboot
# After reboot login again and check IPv6 address again
# Should now be a valid adress in the network fdef:1701:b5ee:42::/64
uci get network.freifunk.ip6addr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment