Tokenized Interface Identifier on Banana Pi

The Raspian and Lubuntu releases at are yet not supporting Tokenized Interface Identifiers.

Raspbian is missing the appropriate ip frontend.

Lubuntu’s kernel is too old in this edition (3.4.90), even though the ip frontend will understand the syntax (man ip-token), the system call will fail.

Instead of building a newer kernel, I used the magic of Ruby to check the local IPv6 addresses, constructing a new address with public prefix and static interface identifier, finally attaching the result, if necessary.