Advertising
- Mine
- Thursday, April 5th, 2007 at 7:20:37pm UTC
- sudo sh LinuxScript.sh
- LinuxScript.sh: 23: /etc/init.d/radvd: not found
- IPv6 configuration failed!
- LinuxScript.sh:
- #!/bin/sh
- if ! [ -f /proc/net/if_inet6 ]
- then echo "IPv6 is not installed!" 1>&2; exit 1; fi
- ifconfig sit0 up \
- && ifconfig sit0 inet6 tunnel ::213.121.24.85 \
- && ifconfig sit1 inet6 add 2001:618:400::48ba:c7ee/128 \
- && route -A inet6 add ::/0 gw fe80::d579:1855 dev sit1 \
- && route -A inet6 add 2000::/3 gw fe80::d579:1855 dev sit1 \
- && ifconfig eth0 up \
- && ifconfig eth0 inet6 add 2001:618:400:2895::/64 \
- && echo 1 > /proc/sys/net/ipv6/conf/all/forwarding \
- && echo 'interface eth0
- {
- AdvSendAdvert on;
- prefix 2001:618:400:2895::/64
- {
- AdvOnLink on;
- AdvAutonomous on;
- };
- };' > /etc/radvd.conf \
- && /etc/init.d/radvd start \
- && echo "IPv6 configuration completed" || \
- { echo "IPv6 configuration failed!" 1>&2; exit 1; }
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.