- Setup Debian virtual machine on VirtualBox
https://github.com/bitcoin-core/docs/blob/master/gitian-building/gitian-building-create-vm-debian.md
ASAHIネットがDS-Lite対応したので、 自宅の適当なLinuxルーターにて設定しようとして詰まったAFTR取得に関するメモ。
Linuxルーターを使ってる人向けのニッチなものだけど、情報として残しておく。
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
eval$s=%w' t="e val$ | |
s=% w"<< 39<< ($s* | |
3);s =?0 ;b=[ ""]* | |
7;Ti me .now .str | |
ftim e( "%H: %M") | |
.spl it(" ").e | |
ach{ |n|c =[12 | |
6,48 ,109 ,121 | |
,51,9 1,95 ,112 | |
,127, 123] [n.to_ i];h= ->(i ){n= |
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
# DS-Lite修正 | |
# 参考 | |
# https://techlog.iij.ad.jp/contents/dslite-raspi | |
REMOTE='' | |
# SLAAC シングルの人は多分これでいける | |
# LOCAL=`ip addr show br0 | grep 'mngtmpaddr' | awk '{print $2}' | awk -F/ '{print $1}'` | |
# DHCP-PDv6の人はこっち | |
LOCAL=`ip addr show br0 | grep 'inet6' | grep 'dynamic' | awk '{print $2}' | awk -F/ '{print $1}'` |