{"id":1017,"date":"2014-10-25T06:56:43","date_gmt":"2014-10-25T04:56:43","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=1017"},"modified":"2014-10-25T06:56:43","modified_gmt":"2014-10-25T04:56:43","slug":"using-the-wide-dhcpv6-client-on-online-net-dedicated-servers","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2014\/10\/25\/using-the-wide-dhcpv6-client-on-online-net-dedicated-servers\/","title":{"rendered":"Using the WIDE DHCPv6 Client on Online.net dedicated servers"},"content":{"rendered":"<p>setup-dhcpv6.sh<\/p>\n<pre class=\"lang:default decode:true \" >#!\/bin\/bash\r\n \r\nDUID=$1\r\n \r\nskill -9 dibbler-client\r\ndpkg -P dibbler-client\r\nrm -rvf \/etc\/dibbler \/var\/log\/dibbler \/var\/lib\/dibbler\r\n \r\napt-get install -y wide-dhcpv6-client vim-common\r\n \r\n\/etc\/init.d\/wide-dhcpv6-client stop\r\n \r\necho 'profile default { script \"\/etc\/wide-dhcpv6\/dhcp6c-script\"; };' &gt; \/etc\/wide-dhcpv6\/dhcp6c.conf\r\necho 'id-assoc pd { prefix-interface eth0 { }; };' &gt;&gt; \/etc\/wide-dhcpv6\/dhcp6c.conf\r\necho 'interface eth0 { send ia-pd 0; };' &gt;&gt; \/etc\/wide-dhcpv6\/dhcp6c.conf\r\necho $DUID | awk '{ gsub(\":\",\" \"); printf \"0: 0a 00 %s\\n\", $0 }' | xxd -r &gt; \/var\/lib\/dhcpv6\/dhcp6c_duid\r\n \r\n\/etc\/init.d\/wide-dhcpv6-client start<\/pre>\n<p>Download and run this with your online.net DUID specified, for example: <\/p>\n<pre class=\"lang:default decode:true \" >wget -O setup-dhcpv6.sh http:\/\/version6.ru\/_export\/code\/en\/online.net-wide-dhcpv6?codeblock=0\r\nchmod +x setup-dhcpv6.sh\r\n\r\n.\/setup-dhcpv6.sh 00:03:00:01:23:45:67:89:ab:cd<\/pre>\n<p>When the WIDE setup screen appears and asks on which interfaces to listen for DHCPv6, leave that as \u201ceth0\u201d (the default value), i.e. just press Enter. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>setup-dhcpv6.sh #!\/bin\/bash DUID=$1 skill -9 dibbler-client dpkg -P dibbler-client rm -rvf \/etc\/dibbler \/var\/log\/dibbler \/var\/lib\/dibbler apt-get install -y wide-dhcpv6-client vim-common \/etc\/init.d\/wide-dhcpv6-client stop echo &#8216;profile default { script &#8220;\/etc\/wide-dhcpv6\/dhcp6c-script&#8221;; };&#8217; &gt; \/etc\/wide-dhcpv6\/dhcp6c.conf echo &#8216;id-assoc pd { prefix-interface eth0 { }; };&#8217; &gt;&gt; \/etc\/wide-dhcpv6\/dhcp6c.conf echo &#8216;interface eth0 { send ia-pd 0; };&#8217; &gt;&gt; \/etc\/wide-dhcpv6\/dhcp6c.conf echo $DUID | awk [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1017","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=1017"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1017\/revisions"}],"predecessor-version":[{"id":1018,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1017\/revisions\/1018"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=1017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=1017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=1017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}