Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Mine
Thursday, April 5th, 2007 at 7:20:37pm UTC 

  1. sudo sh LinuxScript.sh
  2. LinuxScript.sh: 23: /etc/init.d/radvd: not found
  3. IPv6 configuration failed!
  4.  
  5.  
  6.  
  7. LinuxScript.sh:
  8.  
  9. #!/bin/sh
  10. if ! [ -f /proc/net/if_inet6 ]
  11. then echo "IPv6 is not installed!" 1>&2; exit 1; fi
  12. ifconfig sit0 up \
  13. && ifconfig sit0 inet6 tunnel ::213.121.24.85 \
  14. && ifconfig sit1 inet6 add 2001:618:400::48ba:c7ee/128 \
  15. && route -A inet6 add ::/0 gw fe80::d579:1855 dev sit1 \
  16. && route -A inet6 add 2000::/3 gw fe80::d579:1855 dev sit1 \
  17. && ifconfig eth0 up \
  18. && ifconfig eth0 inet6 add 2001:618:400:2895::/64 \
  19. && echo 1 > /proc/sys/net/ipv6/conf/all/forwarding \
  20. && echo 'interface eth0
  21. {
  22.     AdvSendAdvert on;
  23.     prefix 2001:618:400:2895::/64
  24.     {
  25.         AdvOnLink on;
  26.         AdvAutonomous on;
  27.     };
  28. };' > /etc/radvd.conf \
  29. && /etc/init.d/radvd start \
  30. && echo "IPv6 configuration completed" || \
  31. { 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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right