Last active
February 9, 2016 16:22
-
-
Save xperimental/8fb062c2f5b753cff56b to your computer and use it in GitHub Desktop.
Fix IPv6 prefix in running router (ffbsee-v0.0.2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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