sinshiva
Very Senior Member
Code:
#!/bin/sh
# to be used in /jffs/scripts/radvd.postconf
CONFIG=$1
sed '
/AdvLinkMTU/ a\
\ prefix\ fdxx\:xxxx\:xxxx\:ssss\:\:\/64 \
\ \{ \
\ \ AdvOnLink\ on\; \
\ \ AdvAutonomous\ on\; \
\ \}\;
' -i $CONFIG
Code:
#!/bin/sh
# to be used in /jffs/scripts/firewall-start
ip -6 addr add fdxx:xxxx:xxxx:ssss::1/64 dev br0
chmod a+rx /jffs/scripts/*
replace the x's and s's with your ULA and subnet in both scripts